CVE-2023-25652
"git apply --reject" partially-controlled arbitrary file write
02 Description
"git apply --reject" partially-controlled arbitrary file write
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.
- AutomatableyesAn attacker can reliably automate reconnaissance through exploitation, so this scales.
- Technical ImpactpartialSuccessful exploitation gives limited control of the vulnerable component.
- EPSS probability
- 51.88% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 98.8% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. 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
- 2023-04-25 19:17Z3 YR AGO
- Last updated
- 2025-11-04 16:09Z11 MO AGO
- Reserved
- 2023-02-09
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.5)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')Base
- Data version
- 5.2
- Document digest
- e8d42e6c797d30cb8ac71ad6f8f287ab36853f9532b9d173e2052dc558ed1506
05 Affected products
06 References
- github.comhttps://github.com/git/git/security/advisories/GHSA-2hvf-7c8p-28fx
- github.comhttps://github.com/git/git/commit/18e2b1cfc80990719275d7b08e6e50f3e8cbc902
- github.comhttps://github.com/git/git/commit/668f2d53613ac8fd373926ebe219f2c29112d93e
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2023/04/25/2
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PI7FZ4NNR5S5J5K6AMVQBH2JFP6NE4L7/
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YFZWGQKB6MM5MNF2DLFTD7KS2KWPICKL/
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/RKOXOAZ42HLXHXTW6JZI4L5DAIYDTYCU/
- lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BSXOGVVBJLYX26IAYX6PJSYQB36BREWH/
- security.gentoo.orghttps://security.gentoo.org/glsa/202312-15
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2024/06/msg00018.html
- lists.debian.orghttps://lists.debian.org/debian-lts-announce/2024/09/msg00009.html
07 Fixed in
AlmaLinux 8
- git Fixed in 2.39.3-1.el8_8
- git-all Fixed in 2.39.3-1.el8_8
- git-core Fixed in 2.39.3-1.el8_8
- git-core-doc Fixed in 2.39.3-1.el8_8
- git-credential-libsecret Fixed in 2.39.3-1.el8_8
- git-daemon Fixed in 2.39.3-1.el8_8
- git-email Fixed in 2.39.3-1.el8_8
- git-gui Fixed in 2.39.3-1.el8_8
- git-instaweb Fixed in 2.39.3-1.el8_8
- git-subtree Fixed in 2.39.3-1.el8_8
- git-svn Fixed in 2.39.3-1.el8_8
- gitk Fixed in 2.39.3-1.el8_8
- gitweb Fixed in 2.39.3-1.el8_8
- perl-Git Fixed in 2.39.3-1.el8_8
- perl-Git-SVN Fixed in 2.39.3-1.el8_8
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.3-1.el9_2
- git-all Fixed in 2.39.3-1.el9_2
- git-core Fixed in 2.39.3-1.el9_2
- git-core-doc Fixed in 2.39.3-1.el9_2
- git-credential-libsecret Fixed in 2.39.3-1.el9_2
- git-daemon Fixed in 2.39.3-1.el9_2
- git-email Fixed in 2.39.3-1.el9_2
- git-gui Fixed in 2.39.3-1.el9_2
- git-instaweb Fixed in 2.39.3-1.el9_2
- git-subtree Fixed in 2.39.3-1.el9_2
- git-svn Fixed in 2.39.3-1.el9_2
- gitk Fixed in 2.39.3-1.el9_2
- gitweb Fixed in 2.39.3-1.el9_2
- perl-Git Fixed in 2.39.3-1.el9_2
- perl-Git-SVN Fixed in 2.39.3-1.el9_2
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- git Fixed in 2.39.3-1.el8_8
- git-all Fixed in 2.39.3-1.el8_8
- git-core Fixed in 2.39.3-1.el8_8
- git-core-doc Fixed in 2.39.3-1.el8_8
- git-credential-libsecret Fixed in 2.39.3-1.el8_8
- git-daemon Fixed in 2.39.3-1.el8_8
- git-email Fixed in 2.39.3-1.el8_8
- git-gui Fixed in 2.39.3-1.el8_8
- git-instaweb Fixed in 2.39.3-1.el8_8
- git-subtree Fixed in 2.39.3-1.el8_8
- git-svn Fixed in 2.39.3-1.el8_8
- gitk Fixed in 2.39.3-1.el8_8
- gitweb Fixed in 2.39.3-1.el8_8
- perl-Git Fixed in 2.39.3-1.el8_8
- perl-Git-SVN Fixed in 2.39.3-1.el8_8
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.3-1.el9_2
- git-all Fixed in 2.39.3-1.el9_2
- git-core Fixed in 2.39.3-1.el9_2
- git-core-doc Fixed in 2.39.3-1.el9_2
- git-credential-libsecret Fixed in 2.39.3-1.el9_2
- git-daemon Fixed in 2.39.3-1.el9_2
- git-email Fixed in 2.39.3-1.el9_2
- git-gui Fixed in 2.39.3-1.el9_2
- git-instaweb Fixed in 2.39.3-1.el9_2
- git-subtree Fixed in 2.39.3-1.el9_2
- git-svn Fixed in 2.39.3-1.el9_2
- gitk Fixed in 2.39.3-1.el9_2
- gitweb Fixed in 2.39.3-1.el9_2
- perl-Git Fixed in 2.39.3-1.el9_2
- perl-Git-SVN Fixed in 2.39.3-1.el9_2
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.39.5-0+deb12u1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- git Fixed in 1:2.40.1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- git Fixed in 1:2.40.1-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.18
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.11
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.9
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- git Fixed in 1:2.7.4-0ubuntu1.10+esm7Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro
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.