CVE-2022-29187
Bypass of safe.directory protections in Git
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
- Data version
- 5.1
- Document digest
- f138cdd587c58879aca8ab936148af7c6eed1cef8941d57788b8501d0822e832
05 Affected products
06 References
- github.comhttps://github.com/git/git/security/advisories/GHSA-j342-m5hw-rr3v
- github.bloghttps://github.blog/2022-04-12-git-security-vulnerability-announced
- lore.kernel.orghttps://lore.kernel.org/git/xmqqv8s2fefi.fsf%40gitster.g/T/#u
- www.openwall.com[oss-security] 20220713 Git v2.37.1 and friends for CVE-2022-29187http://www.openwall.com/lists/oss-security/2022/07/14/1
- lists.fedoraproject.orgFEDORA-2022-dfd7e7fc0ehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TRZG5CDUQ27OWTPC5MQOR4UASNXHWEZS/
- lists.fedoraproject.orgFEDORA-2022-2a5de7cb8bhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DDI325LOO2XBDDKLINOAQJEG6MHAURZE/
- support.apple.comhttps://support.apple.com/kb/HT213496
- seclists.org20221107 APPLE-SA-2022-11-01-1 Xcode 14.1http://seclists.org/fulldisclosure/2022/Nov/1
- lists.debian.org[debian-lts-announce] 20221213 [SECURITY] [DLA 3239-1] git security updatehttps://lists.debian.org/debian-lts-announce/2022/12/msg00025.html
- lists.fedoraproject.orgFEDORA-2023-470c7ea49ehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DIKWISWUDFT2FAITYIA6372BVLH3OOOC/
- lists.fedoraproject.orgFEDORA-2023-e3c8abd37ehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YROCMBWYFKRSS64PO6FUNM6L7LKBUKVW/
- lists.fedoraproject.orgFEDORA-2023-1068309389https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVOLER2PIGMHPQMDGG4RDE2KZB74QLA2/
- lists.fedoraproject.orgFEDORA-2023-3ec32f6d4ehttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UDZRZAL7QULOB6V7MKT66MOMWJLBJPX4/
- security.gentoo.orgGLSA-202312-15https://security.gentoo.org/glsa/202312-15
- security.gentoo.orgGLSA-202401-17https://security.gentoo.org/glsa/202401-17
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.