synced 11 MIN AGO
01 Record

CVE-2023-25652

"git apply --reject" partially-controlled arbitrary file write

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

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.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
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

VendorProductVersionsPlatforms
gitgit< 2.30.9, >= 2.31.0, < 2.31.8, >= 2.32.0, < 2.32.7, >= 2.33.0, < 2.33.8, >= 2.34.0, < 2.34.8, >= 2.35.0, < 2.35.8, >= 2.36.0, < 2.36.6, >= 2.37.0, < 2.37.7, >= 2.38.0, < 2.38.5, >= 2.39.0, < 2.39.3, >= 2.40.0, < 2.40.1—

06 References

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+esm7
    Available 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.