synced 4 MIN AGO
01 Record

CVE-2022-29187

Bypass of safe.directory protections in Git

HighPUBLISHEDCNA: GitHub_M
CNA base score7.8 CVSS v3.xCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

02 Description

Bypass of safe.directory protections in Git

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
0.44% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 38.4% of scored records. A rank, not a probability.
NVD base score
7.8 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-07-12 00:00Z4 YR AGO
Last updated
2024-08-03 06:17Z2 YR AGO
Reserved
2022-04-13
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
High (CVSS 7.8)
CNA CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-282Improper Ownership ManagementClass
  • CWE-427Uncontrolled Search Path ElementBase
  • CWE-283Unverified OwnershipBase
Data version
5.1
Document digest
f138cdd587c58879aca8ab936148af7c6eed1cef8941d57788b8501d0822e832

05 Affected products

VendorProductVersionsPlatforms
gitgit>= 2.30.3, < 2.30.5, >= 2.31.2, < 2.31.4, >= 2.32.1, < 2.32.3, >= 2.33.2, < 2.33.4, >= 2.34.2, < 2.34.4, >= 2.35.2, < 2.35.4, >= 2.36, < 2.36.2, >= 2.37, < 2.37.1—

06 References

07 Fixed in

AlmaLinux 8

  • git
    Fixed in 2.39.1-1.el8
  • git-all
    Fixed in 2.39.1-1.el8
  • git-core
    Fixed in 2.39.1-1.el8
  • git-core-doc
    Fixed in 2.39.1-1.el8
  • git-credential-libsecret
    Fixed in 2.39.1-1.el8
  • git-daemon
    Fixed in 2.39.1-1.el8
  • git-email
    Fixed in 2.39.1-1.el8
  • git-gui
    Fixed in 2.39.1-1.el8
  • git-instaweb
    Fixed in 2.39.1-1.el8
  • git-subtree
    Fixed in 2.39.1-1.el8
  • git-svn
    Fixed in 2.39.1-1.el8
  • gitk
    Fixed in 2.39.1-1.el8
  • gitweb
    Fixed in 2.39.1-1.el8
  • perl-Git
    Fixed in 2.39.1-1.el8
  • perl-Git-SVN
    Fixed in 2.39.1-1.el8

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • git
    Fixed in 2.39.1-1.el9
  • git-all
    Fixed in 2.39.1-1.el9
  • git-core
    Fixed in 2.39.1-1.el9
  • git-core-doc
    Fixed in 2.39.1-1.el9
  • git-credential-libsecret
    Fixed in 2.39.1-1.el9
  • git-daemon
    Fixed in 2.39.1-1.el9
  • git-email
    Fixed in 2.39.1-1.el9
  • git-gui
    Fixed in 2.39.1-1.el9
  • git-instaweb
    Fixed in 2.39.1-1.el9
  • git-subtree
    Fixed in 2.39.1-1.el9
  • git-svn
    Fixed in 2.39.1-1.el9
  • gitk
    Fixed in 2.39.1-1.el9
  • gitweb
    Fixed in 2.39.1-1.el9
  • perl-Git
    Fixed in 2.39.1-1.el9
  • perl-Git-SVN
    Fixed in 2.39.1-1.el9

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Arch Linux

  • git
    Fixed in 2.37.1-1

Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.

CloudLinux 8

  • git
    Fixed in 2.39.1-1.el8
  • git-all
    Fixed in 2.39.1-1.el8
  • git-core
    Fixed in 2.39.1-1.el8
  • git-core-doc
    Fixed in 2.39.1-1.el8
  • git-credential-libsecret
    Fixed in 2.39.1-1.el8
  • git-daemon
    Fixed in 2.39.1-1.el8
  • git-email
    Fixed in 2.39.1-1.el8
  • git-gui
    Fixed in 2.39.1-1.el8
  • git-instaweb
    Fixed in 2.39.1-1.el8
  • git-subtree
    Fixed in 2.39.1-1.el8
  • git-svn
    Fixed in 2.39.1-1.el8
  • gitk
    Fixed in 2.39.1-1.el8
  • gitweb
    Fixed in 2.39.1-1.el8
  • perl-Git
    Fixed in 2.39.1-1.el8
  • perl-Git-SVN
    Fixed in 2.39.1-1.el8

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • git
    Fixed in 2.39.1-1.el9
  • git-all
    Fixed in 2.39.1-1.el9
  • git-core
    Fixed in 2.39.1-1.el9
  • git-core-doc
    Fixed in 2.39.1-1.el9
  • git-credential-libsecret
    Fixed in 2.39.1-1.el9
  • git-daemon
    Fixed in 2.39.1-1.el9
  • git-email
    Fixed in 2.39.1-1.el9
  • git-gui
    Fixed in 2.39.1-1.el9
  • git-instaweb
    Fixed in 2.39.1-1.el9
  • git-subtree
    Fixed in 2.39.1-1.el9
  • git-svn
    Fixed in 2.39.1-1.el9
  • gitk
    Fixed in 2.39.1-1.el9
  • gitweb
    Fixed in 2.39.1-1.el9
  • perl-Git
    Fixed in 2.39.1-1.el9
  • perl-Git-SVN
    Fixed in 2.39.1-1.el9

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • git
    Fixed in 1:2.37.2-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • git
    Fixed in 1:2.37.2-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • git
    Fixed in 1:2.37.2-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 18.04 LTS

  • git
    Fixed in 1:2.17.1-1ubuntu0.12

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • git
    Fixed in 1:2.25.1-1ubuntu3.5

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • git
    Fixed in 1:2.34.1-1ubuntu1.4

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.