Lucene search

K
cveGitHub_MCVE-2023-29012
HistoryApr 25, 2023 - 9:15 p.m.

CVE-2023-29012

2023-04-2521:15:10
CWE-427
GitHub_M
web.nvd.nist.gov
73
cve-2023-29012
git for windows
uncontrolled search path
vulnerability
security advisory
nvd

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

AI Score

7.7

Confidence

High

EPSS

0.001

Percentile

25.6%

Git for Windows is the Windows port of Git. Prior to version 2.40.1, any user of Git CMD who starts the command in an untrusted directory is impacted by an Uncontrolles Search Path Element vulnerability. Maliciously-placed doskey.exe would be executed silently upon running Git CMD. The problem has been patched in Git for Windows v2.40.1. As a workaround, avoid using Git CMD or, if using Git CMD, avoid starting it in an untrusted directory.

Affected configurations

Nvd
Vulners
Node
git_for_windows_projectgit_for_windowsRange<2.40.1
VendorProductVersionCPE
git_for_windows_projectgit_for_windows*cpe:2.3:a:git_for_windows_project:git_for_windows:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "git-for-windows",
    "product": "git",
    "versions": [
      {
        "version": "< 2.40.1",
        "status": "affected"
      }
    ]
  }
]

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

AI Score

7.7

Confidence

High

EPSS

0.001

Percentile

25.6%