synced 14 MIN AGO
01 Record

CVE-2022-23521

gitattributes parsing integer overflow in git

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

02 Description

gitattributes parsing integer overflow in git

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 ImpacttotalSuccessful exploitation gives total 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
56.33% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 98.9% of scored records. A rank, not a probability.
NVD base score
9.8 (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:H/I:H/A:H
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-01-17 22:17Z3 YR AGO
Last updated
2025-02-13 16:32Z1 YR AGO
Reserved
2022-01-19
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
Critical (CVSS 9.8)
CNA CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-190Integer Overflow or WraparoundBase
Data version
5.1
Document digest
d3b70ce8dcc52c8b2010eb88998df1bf798b77ca6ba6103d49689c0b06a0c53f

05 Affected products

VendorProductVersionsPlatforms
gitgit< 2.30.7, >= 2.31.0, < 2.31.6, >= 2.32.0, < 2.32.5, >= 2.33.0, < 2.33.6, >= 2.34.0, < 2.34.6, >= 2.35.0, < 2.35.6, >= 2.36.0, < 2.36.4, >= 2.37.0, < 2.37.5, >= 2.38.0, < 2.38.3, = 2.39.0—

06 References

07 Fixed in

AlmaLinux 8

  • git
    Fixed in 2.31.1-3.el8_7
  • git-all
    Fixed in 2.31.1-3.el8_7
  • git-core
    Fixed in 2.31.1-3.el8_7
  • git-core-doc
    Fixed in 2.31.1-3.el8_7
  • git-credential-libsecret
    Fixed in 2.31.1-3.el8_7
  • git-daemon
    Fixed in 2.31.1-3.el8_7
  • git-email
    Fixed in 2.31.1-3.el8_7
  • git-gui
    Fixed in 2.31.1-3.el8_7
  • git-instaweb
    Fixed in 2.31.1-3.el8_7
  • git-subtree
    Fixed in 2.31.1-3.el8_7
  • git-svn
    Fixed in 2.31.1-3.el8_7
  • gitk
    Fixed in 2.31.1-3.el8_7
  • gitweb
    Fixed in 2.31.1-3.el8_7
  • perl-Git
    Fixed in 2.31.1-3.el8_7
  • perl-Git-SVN
    Fixed in 2.31.1-3.el8_7

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.31.1-3.el9_1
  • git-all
    Fixed in 2.31.1-3.el9_1
  • git-core
    Fixed in 2.31.1-3.el9_1
  • git-core-doc
    Fixed in 2.31.1-3.el9_1
  • git-credential-libsecret
    Fixed in 2.31.1-3.el9_1
  • git-daemon
    Fixed in 2.31.1-3.el9_1
  • git-email
    Fixed in 2.31.1-3.el9_1
  • git-gui
    Fixed in 2.31.1-3.el9_1
  • git-instaweb
    Fixed in 2.31.1-3.el9_1
  • git-subtree
    Fixed in 2.31.1-3.el9_1
  • git-svn
    Fixed in 2.31.1-3.el9_1
  • gitk
    Fixed in 2.31.1-3.el9_1
  • gitweb
    Fixed in 2.31.1-3.el9_1
  • perl-Git
    Fixed in 2.31.1-3.el9_1
  • perl-Git-SVN
    Fixed in 2.31.1-3.el9_1

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.31.1-3.el8_7
  • git-all
    Fixed in 2.31.1-3.el8_7
  • git-core
    Fixed in 2.31.1-3.el8_7
  • git-core-doc
    Fixed in 2.31.1-3.el8_7
  • git-credential-libsecret
    Fixed in 2.31.1-3.el8_7
  • git-daemon
    Fixed in 2.31.1-3.el8_7
  • git-email
    Fixed in 2.31.1-3.el8_7
  • git-gui
    Fixed in 2.31.1-3.el8_7
  • git-instaweb
    Fixed in 2.31.1-3.el8_7
  • git-subtree
    Fixed in 2.31.1-3.el8_7
  • git-svn
    Fixed in 2.31.1-3.el8_7
  • gitk
    Fixed in 2.31.1-3.el8_7
  • gitweb
    Fixed in 2.31.1-3.el8_7
  • perl-Git
    Fixed in 2.31.1-3.el8_7
  • perl-Git-SVN
    Fixed in 2.31.1-3.el8_7

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.31.1-3.el9_1
  • git-all
    Fixed in 2.31.1-3.el9_1
  • git-core
    Fixed in 2.31.1-3.el9_1
  • git-core-doc
    Fixed in 2.31.1-3.el9_1
  • git-credential-libsecret
    Fixed in 2.31.1-3.el9_1
  • git-daemon
    Fixed in 2.31.1-3.el9_1
  • git-email
    Fixed in 2.31.1-3.el9_1
  • git-gui
    Fixed in 2.31.1-3.el9_1
  • git-instaweb
    Fixed in 2.31.1-3.el9_1
  • git-subtree
    Fixed in 2.31.1-3.el9_1
  • git-svn
    Fixed in 2.31.1-3.el9_1
  • gitk
    Fixed in 2.31.1-3.el9_1
  • gitweb
    Fixed in 2.31.1-3.el9_1
  • perl-Git
    Fixed in 2.31.1-3.el9_1
  • perl-Git-SVN
    Fixed in 2.31.1-3.el9_1

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.1-0.1

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

Debian 13

  • git
    Fixed in 1:2.39.1-0.1

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

Debian 14

  • git
    Fixed in 1:2.39.1-0.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.15

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.8

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.6

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

Ubuntu Pro 14.04 LTS

  • git
    Fixed in 1:1.9.1-1ubuntu0.10+esm1
    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.

Ubuntu Pro 16.04 LTS

  • git
    Fixed in 1:2.7.4-0ubuntu1.10+esm4
    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.