CVE-2022-29187

CVSS V2 Medium 6.9 CVSS V3 High 7.8
Description
Git is a distributed revision control system. Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5, is vulnerable to privilege escalation in all platforms. An unsuspecting user could still be affected by the issue reported in CVE-2022-24765, for example when navigating as root into a shared tmp directory that is owned by them, but where an attacker could create a git repository. Versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5 contain a patch for this issue. The simplest way to avoid being affected by the exploit described in the example is to avoid running git as root (or an Administrator in Windows), and if needed to reduce its use to a minimum. While a generic workaround is not possible, a system could be hardened from the exploit described in the example by removing any such repository if it exists already and creating one as root to block any future attacks.
Overview
  • CVE ID
  • CVE-2022-29187
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-07-12T21:15:09
  • Last Modified Date
  • 2023-04-14T18:43:22
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 1 OR 2.30.3 2.30.5
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 1 OR 2.31.2 2.31.4
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 1 OR 2.32.1 2.32.3
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 1 OR 2.33.2 2.33.4
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 1 OR 2.34.2 2.34.4
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 1 OR 2.35.2 2.35.4
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 1 OR 2.36.0 2.36.2
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 1 OR 2.37.0 2.37.1
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:L/AC:M/Au:N/C:C/I:C/A:C
  • Access Vector
  • LOCAL
  • Access Compatibility
  • MEDIUM
  • Authentication
  • NONE
  • Confidentiality Impact
  • COMPLETE
  • Integrity Impact
  • COMPLETE
  • Availability Impact
  • COMPLETE
  • Base Score
  • 6.9
  • Severity
  • MEDIUM
  • Exploitability Score
  • 3.4
  • Impact Score
  • 10
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector
  • LOCAL
  • Attack Compatibility
  • LOW
  • Privileges Required
  • LOW
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 7.8
  • Base Severity
  • HIGH
  • Exploitability Score
  • 1.8
  • Impact Score
  • 5.9
History
Created Old Value New Value Data Type Notes
2022-07-12 22:00:33 Added to TrackCVE
2022-12-09 02:14:15 2022-12-09T01:45:05 CVE Modified Date updated
2022-12-09 02:14:15 Undergoing Analysis Analyzed Vulnerability Status updated
2022-12-14 02:13:46 2022-12-14T01:15:10 CVE Modified Date updated
2022-12-14 02:13:46 Analyzed Modified Vulnerability Status updated
2022-12-14 02:13:47 CWE-282 Weakness Enumeration updated
2022-12-14 02:13:48 References updated
2022-12-19 19:13:28 Modified Undergoing Analysis Vulnerability Status updated
2023-01-27 11:16:04 2023-01-27T11:15:10 CVE Modified Date updated
2023-01-27 11:16:04 Weakness Enumeration update
2023-01-27 11:16:05 References updated
2023-01-29 04:12:17 2023-01-29T03:15:09 CVE Modified Date updated
2023-01-29 04:12:18 References updated
2023-01-30 03:16:23 2023-01-30T03:15:08 CVE Modified Date updated
2023-01-30 03:16:24 References updated
2023-01-31 05:13:42 2023-01-31T03:15:09 CVE Modified Date updated
2023-01-31 05:13:43 References updated
2023-04-14 20:13:56 2023-04-14T18:43:22 CVE Modified Date updated
2023-04-14 20:13:56 Undergoing Analysis Analyzed Vulnerability Status updated