Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
Vulnerability Details :

CVE-2023-23618

Summary
Assigner-GitHub_M
Assigner Org ID-a0819718-46f1-4df5-94e2-005712e83aaa
Published At-14 Feb, 2023 | 20:38
Updated At-10 Mar, 2025 | 21:11
Rejected At-
Credits

gitk can inadvertently call executables in the worktree

Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, when `gitk` is run on Windows, it potentially runs executables from the current directory inadvertently, which can be exploited with some social engineering to trick users into running untrusted code. A patch is available in version 2.39.2. As a workaround, avoid using `gitk` (or Git GUI's "Visualize History" functionality) in clones of untrusted repositories.

Vendors
-
Not available
Products
-
Metrics (CVSS)
VersionBase scoreBase severityVector
Weaknesses
Attack Patterns
Solution/Workaround
References
HyperlinkResource Type
EPSS History
Score
Latest Score
-
N/A
No data available for selected date range
Percentile
Latest Percentile
-
N/A
No data available for selected date range
Stakeholder-Specific Vulnerability Categorization (SSVC)
▼Common Vulnerabilities and Exposures (CVE)
cve.org
Assigner:GitHub_M
Assigner Org ID:a0819718-46f1-4df5-94e2-005712e83aaa
Published At:14 Feb, 2023 | 20:38
Updated At:10 Mar, 2025 | 21:11
Rejected At:
▼CVE Numbering Authority (CNA)
gitk can inadvertently call executables in the worktree

Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, when `gitk` is run on Windows, it potentially runs executables from the current directory inadvertently, which can be exploited with some social engineering to trick users into running untrusted code. A patch is available in version 2.39.2. As a workaround, avoid using `gitk` (or Git GUI's "Visualize History" functionality) in clones of untrusted repositories.

Affected Products
Vendor
git-for-windows
Product
git
Versions
Affected
  • < 2.39.2
Problem Types
TypeCWE IDDescription
CWECWE-426CWE-426: Untrusted Search Path
Type: CWE
CWE ID: CWE-426
Description: CWE-426: Untrusted Search Path
Metrics
VersionBase scoreBase severityVector
3.18.6HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Version: 3.1
Base score: 8.6
Base severity: HIGH
Vector:
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm
x_refsource_CONFIRM
https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c
x_refsource_MISC
https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1
x_refsource_MISC
https://wiki.tcl-lang.org/page/exec
x_refsource_MISC
Hyperlink: https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm
Resource:
x_refsource_CONFIRM
Hyperlink: https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c
Resource:
x_refsource_MISC
Hyperlink: https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1
Resource:
x_refsource_MISC
Hyperlink: https://wiki.tcl-lang.org/page/exec
Resource:
x_refsource_MISC
▼Authorized Data Publishers (ADP)
1. CVE Program Container
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm
x_refsource_CONFIRM
x_transferred
https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c
x_refsource_MISC
x_transferred
https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1
x_refsource_MISC
x_transferred
https://wiki.tcl-lang.org/page/exec
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm
Resource:
x_refsource_CONFIRM
x_transferred
Hyperlink: https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1
Resource:
x_refsource_MISC
x_transferred
Hyperlink: https://wiki.tcl-lang.org/page/exec
Resource:
x_refsource_MISC
x_transferred
2. CISA ADP Vulnrichment
Affected Products
Metrics
VersionBase scoreBase severityVector
Metrics Other Info
Impacts
CAPEC IDDescription
Solutions

Configurations

Workarounds

Exploits

Credits

Timeline
EventDate
Replaced By

Rejected Reason

References
HyperlinkResource
Information is not available yet
▼National Vulnerability Database (NVD)
nvd.nist.gov
Source:security-advisories@github.com
Published At:14 Feb, 2023 | 21:15
Updated At:07 Nov, 2023 | 04:07

Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, when `gitk` is run on Windows, it potentially runs executables from the current directory inadvertently, which can be exploited with some social engineering to trick users into running untrusted code. A patch is available in version 2.39.2. As a workaround, avoid using `gitk` (or Git GUI's "Visualize History" functionality) in clones of untrusted repositories.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Primary3.17.8HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Secondary3.18.6HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Type: Primary
Version: 3.1
Base score: 7.8
Base severity: HIGH
Vector:
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Type: Secondary
Version: 3.1
Base score: 8.6
Base severity: HIGH
Vector:
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CPE Matches

git_for_windows_project
git_for_windows_project
>>git_for_windows>>Versions before 2.39.2(exclusive)
cpe:2.3:a:git_for_windows_project:git_for_windows:*:*:*:*:*:*:*:*
Weaknesses
CWE IDTypeSource
CWE-426Primarynvd@nist.gov
CWE-426Secondarysecurity-advisories@github.com
CWE ID: CWE-426
Type: Primary
Source: nvd@nist.gov
CWE ID: CWE-426
Type: Secondary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05csecurity-advisories@github.com
Patch
https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1security-advisories@github.com
Release Notes
https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pmsecurity-advisories@github.com
Vendor Advisory
https://wiki.tcl-lang.org/page/execsecurity-advisories@github.com
Not Applicable
Hyperlink: https://github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1
Source: security-advisories@github.com
Resource:
Release Notes
Hyperlink: https://github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm
Source: security-advisories@github.com
Resource:
Vendor Advisory
Hyperlink: https://wiki.tcl-lang.org/page/exec
Source: security-advisories@github.com
Resource:
Not Applicable

Change History

0
Information is not available yet

Similar CVEs

128Records found

Details not found