CVE-2022-24765
Uncontrolled search for the Git directory in Git for Windows
02 Description
Uncontrolled search for the Git directory in Git for Windows
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 1.01% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 62.7% 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-04-12 00:00Z4 YR AGO
- Last updated
- 2025-12-16 17:47Z10 MO AGO
- Reserved
- 2022-02-10
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 6.0)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-427Uncontrolled Search Path ElementBase
- Data version
- 5.2
- Document digest
- 0e85c69fac0b6462b1afc3cce2a8f296bb948ff4148d2f4e1800d7577f1a6088
05 Affected products
06 References
- github.comhttps://github.com/git-for-windows/git/security/advisories/GHSA-vw2c-22j4-2fh2
- git-scm.comhttps://git-scm.com/book/en/v2/Appendix-A%3A-Git-in-Other-Environments-Git-in-Bash
- git-scm.comhttps://git-scm.com/docs/git#Documentation/git.txt-codeGITCEILINGDIRECTORIEScode
- www.openwall.com[oss-security] 20220412 git v2.35.2 and friends for CVE-2022-24765http://www.openwall.com/lists/oss-security/2022/04/12/7
- lists.fedoraproject.orgFEDORA-2022-e99ae504f5https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5PTN5NYEHYN2OQSHSAMCNICZNK2U4QH6/
- lists.fedoraproject.orgFEDORA-2022-3759ebabd2https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BENQYTDGUL6TF3UALY6GSIEXIHUIYNWM/
- lists.fedoraproject.orgFEDORA-2022-2fec5f30behttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SLP42KIZ6HACTVZMZLJLFJQ4W2XYT27M/
- support.apple.comhttps://support.apple.com/kb/HT213261
- seclists.org20220516 APPLE-SA-2022-05-16-8 Xcode 13.4http://seclists.org/fulldisclosure/2022/May/31
- 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/
- 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
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.35.3-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.35.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.35.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.35.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.11
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.4
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.2
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.