synced 5 MIN AGO
01 Record

CVE-2022-39260

Git vulnerable to Remote Code Execution via Heap overflow in `git shell`

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

02 Description

Git vulnerable to Remote Code Execution via Heap overflow in `git shell`

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
3.98% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 90.3% of scored records. A rank, not a probability.
NVD base score
8.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:R/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-10-19 00:00Z4 YR AGO
Last updated
2024-08-03 12:00Z2 YR AGO
Reserved
2022-09-02
Assigning CNA
GitHub_M
Record state
PUBLISHED
Severity
High (CVSS 8.5)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
Weaknesses
  • CWE-122Heap-based Buffer OverflowVariant
  • CWE-787Out-of-bounds WriteBase
Data version
5.1
Document digest
f286798a53954fb8f0bd744efa3d4194c88f2c1f47e4be6dcf04c9c70d69301b

05 Affected products

VendorProductVersionsPlatforms
gitgit< 2.30.6, > 2.31.0, < 2.31.5, > 2.32.0, < 2.32.4, > 2.33.0, < 2.33.5, > 2.34.0, < 2.34.5, > 2.34.0, < 2.35.5, > 2.35.0, < 2.36.3, > 2.37.0, < 2.37.4—

06 References

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.

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

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

Debian 13

  • git
    Fixed in 1:2.38.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.38.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.13

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

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

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+esm3
    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.