CVE-2022-23521
published 2023-01-17CVE-2022-23521: Git is distributed revision control system. gitattributes are a mechanism to allow defining attributes for paths. These attributes can be defined by adding a…
PriorityP275critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
56.33%
98.9th percentile
Git is distributed revision control system. gitattributes are a mechanism to allow defining attributes for paths. These attributes can be defined by adding a `.gitattributes` file to the repository, which contains a set of file patterns and the attributes that should be set for paths matching this pattern. When parsing gitattributes, multiple integer overflows can occur when there is a huge number of path patterns, a huge number of attributes for a single pattern, or when the declared attribute names are huge. These overflows can be triggered via a crafted `.gitattributes` file that may be part of the commit history. Git silently splits lines longer than 2KB when parsing gitattributes from a file, but not when parsing them from the index. Consequentially, the failure mode depends on whether the file exists in the working tree, the index or both. This integer overflow can result in arbitrary heap reads and writes, which may result in remote code execution. The problem has been patched in the versions published on 2023-01-17, going back to v2.30.7. Users are advised to upgrade. There are no known workarounds for this issue.
Affected
37 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | git | < git 1:2.39.1-0.1 (bookworm) | git 1:2.39.1-0.1 (bookworm) |
| git-scm | git | <= 2.30.6 | — |
| git-scm | git | — | — |
| git-scm | git | 2.31.0 – 2.31.5 | — |
| git-scm | git | 2.32.0 – 2.32.4 | — |
| git-scm | git | 2.33.0 – 2.33.5 | — |
| git-scm | git | 2.34.0 – 2.34.5 | — |
| git-scm | git | 2.35.0 – 2.35.5 | — |
| git-scm | git | 2.36.0 – 2.36.3 | — |
| git-scm | git | 2.37.0 – 2.37.4 | — |
| git-scm | git | 2.38.0 – 2.38.2 | — |
| git | git | < 2.30.7 | 2.30.7 |
| git | git | — | — |
| git | git | — | — |
| git | git | — | — |
| git | git | — | — |
| git | git | — | — |
| git | git | — | — |
| git | git | — | — |
| git | git | — | — |
| git | git | — | — |
| git | git | >= 0 < 1:2.30.2-1+deb11u1 | 1:2.30.2-1+deb11u1 |
| git | git | >= 0 < 1:2.39.1-0.1 | 1:2.39.1-0.1 |
| git | git | >= 0 < 1:2.39.1-0.1 | 1:2.39.1-0.1 |
| git | git | >= 0 < 1:2.39.1-0.1 | 1:2.39.1-0.1 |
Detection & IOCsextracted from sources · hover to see the quote
- →Trigger vector is a crafted `.gitattributes` file in the repository (commit history, working tree, or index) containing a huge number of path patterns, a huge number of attributes for a single pattern, or very large declared attribute names — causing integer overflows during parsing. ↗
- →Distinguish failure mode by whether the malicious `.gitattributes` exists in the working tree vs. the index: Git silently splits lines >2 KB when reading from a file but NOT when reading from the index, so index-only payloads bypass the line-length split. ↗
- →In Jenkins/CI environments, the exploit path is an attacker with commit access to a Git repository cloned on a Jenkins controller or agent — monitor for unexpected `.gitattributes` changes in repositories cloned by CI systems. ↗
- ·Vulnerable Git versions are all releases published before 2023-01-17; fixed versions begin at v2.30.7 and later patch releases (e.g., 2.36.4, 2.34.6, 2.32.5 for Windows/Alpine). Debian bullseye fix is 1:2.30.2-1+deb11u1; Debian bookworm/sid/trixie/forky fix is 1:2.39.1-0.1. ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_msrc9.8HIGH
vendor_redhat9.8CRITICAL
vendor_ubuntu9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
git vulnerabilities
osv·2023-03-01·CVSS 9.8
CVE-2022-23521 [CRITICAL] git vulnerabilities
git vulnerabilities
USN-5810-1 fixed several vulnerabilities in Git. This update provides
the corresponding update for Ubuntu 14.04 ESM.
Original advisory details:
Markus Vervier and Eric Sesterhenn discovered that Git incorrectly handled certain
gitattributes. An attacker could possibly use this issue to cause a crash
or execute arbitrary code. (CVE-2022-23521)
Joern Schneeweisz discovered that Git incorrectly handled certain commands.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. (CVE-2022-41903)
OSV
git vulnerabilities
osv·2023-02-07·CVSS 9.8
CVE-2022-23521 [CRITICAL] git vulnerabilities
git vulnerabilities
USN-5810-1 fixed several vulnerabilities in Git. This update provides
the corresponding update for Ubuntu 16.04 ESM.
Original advisory details:
Markus Vervier and Eric Sesterhenn discovered that Git incorrectly handled certain
gitattributes. An attacker could possibly use this issue to cause a crash
or execute arbitrary code. (CVE-2022-23521)
Joern Schneeweisz discovered that Git incorrectly handled certain commands.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. (CVE-2022-41903)
OSV
git regression
osv·2023-01-19·CVSS 9.8
CVE-2022-23521 [CRITICAL] git regression
git regression
USN-5810-1 fixed vulnerabilities in Git. This update introduced a regression as it
was missing some commit lines. This update fixes the problem.
Original advisory details:
Markus Vervier and Eric Sesterhenn discovered that Git incorrectly handled certain
gitattributes. An attacker could possibly use this issue to cause a crash
or execute arbitrary code. (CVE-2022-23521)
Joern Schneeweisz discovered that Git incorrectly handled certain commands.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. (CVE-2022-41903)
OSV
CVE-2022-23521: Git is distributed revision control system
osv·2023-01-17·CVSS 9.8
CVE-2022-23521 [CRITICAL] CVE-2022-23521: Git is distributed revision control system
Git is distributed revision control system. gitattributes are a mechanism to allow defining attributes for paths. These attributes can be defined by adding a `.gitattributes` file to the repository, which contains a set of file patterns and the attributes that should be set for paths matching this pattern. When parsing gitattributes, multiple integer overflows can occur when there is a huge number of path patterns, a huge number of attributes for a single pattern, or when the declared attribute names are huge. These overflows can be triggered via a crafted `.gitattributes` file that may be part of the commit history. Git silently splits lines longer than 2KB when parsing gitattributes from a file, but not when parsing them from the index. Consequentially, the failure mode depends on whethe
OSV
git vulnerabilities
osv·2023-01-17·CVSS 9.8
CVE-2022-23521 [CRITICAL] git vulnerabilities
git vulnerabilities
Markus Vervier and Eric Sesterhenn discovered that Git incorrectly handled certain
gitattributes. An attacker could possibly use this issue to cause a crash
or execute arbitrary code. (CVE-2022-23521)
Joern Schneeweisz discovered that Git incorrectly handled certain commands.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. (CVE-2022-41903)
CISA ICS
ABB M2M Gateway
cisa_ics·2025-04-15
ABB M2M Gateway
ICS Advisory
##
ABB M2M Gateway
Release DateApril 15, 2025
Alert CodeICSA-25-105-08
Related topics:
Industrial Control System Vulnerabilities, Industrial Control Systems
View CSAF
## 1. EXECUTIVE SUMMARY
- CVSS v4 8.8
- ATTENTION: Exploitable remotely/low attack complexity
- Vendor: ABB
- Equipment: M2M Gateway
- Vulnerabilities: Integer Overflow or Wraparound, Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling'), Unquoted Search Path or Element, Untrusted Search Path, Use After Free, Out-of-bounds Write, Buffer Copy without Checking Size of Input ('Classic Buffer Overflow'), Missing Release of Memory after Effective Lifetime, Allocation of Resources Without Limits or Throttling, Improper Privilege Management, Improper Limitati
CISA ICS
Siemens SCALANCE XCM-/XRM-300
cisa_ics·2024-02-15
Siemens SCALANCE XCM-/XRM-300
ICS Advisory
##
Siemens SCALANCE XCM-/XRM-300
Release DateFebruary 15, 2024
Alert CodeICSA-24-046-11
As of January 10, 2023, CISA will no longer be updating ICS security advisories for Siemens product vulnerabilities beyond the initial advisory. For the most up-to-date information on vulnerabilities in this advisory, please see Siemens' ProductCERT Security Advisories (CERT Services | Services | Siemens Global).
View CSAF
## 1. EXECUTIVE SUMMARY
- CVSS v3 9.8
- ATTENTION: Exploitable remotely/low attack complexity
- Vendor: Siemens
- Equipment: SCALANCE XCM-/XRM-300
- Vulnerabilities: Out-of-bounds Write, Incorrect Type Conversion or Cast, Improper Verification of Cryptographic Signature, Improper Access Control, Improper Authentication, Missing Encryption
Ubuntu
Git vulnerabilities
vendor_ubuntu·2023-03-01·CVSS 9.8
CVE-2022-23521 [CRITICAL] Git vulnerabilities
Title: Git vulnerabilities
Summary: Several security issues were fixed in Git.
USN-5810-1 fixed several vulnerabilities in Git. This update provides
the corresponding update for Ubuntu 14.04 ESM.
Original advisory details:
Markus Vervier and Eric Sesterhenn discovered that Git incorrectly handled certain
gitattributes. An attacker could possibly use this issue to cause a crash
or execute arbitrary code. (CVE-2022-23521)
Joern Schneeweisz discovered that Git incorrectly handled certain commands.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. (CVE-2022-41903)
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
GitHub: CVE-2022-23521 gitattributes parsing integer overflow
vendor_msrc·2023-02-14·CVSS 9.8
CVE-2022-23521 [CRITICAL] GitHub: CVE-2022-23521 gitattributes parsing integer overflow
GitHub: CVE-2022-23521 gitattributes parsing integer overflow
FAQ: Why is this GitHub CVE included in the Security Update Guide?
The vulnerability assigned to this CVE is in Git for Windows software which is consumed by Microsoft Visual Studio. It is being documented in the Security Update Guide to announce that the latest builds of Visual Studio are no longer vulnerable. Please see Security Update Guide Supports CVEs Assigned by Industry Partners for more information.
Visual Studio: Visual Studio
GitHub: GitHub
Customer Action Required: Yes
Impact: Remote Code Execution
Exploit Status: Publicly Disclosed:No;Exploited:No;Latest Software Release:Exploitation Less Likely;DOS:N/A
Remediation: Release Notes
Reference: http://aka.ms/vs/15/release/latest
Reference: https://my.visualstud
Jenkins
Jenkins Security Advisory 2023-02-09
vendor_jenkins·2023-02-09·CVSS 9.8
CVE-2022-23521 [CRITICAL] Jenkins Security Advisory 2023-02-09
Title: Jenkins Security Advisory 2023-02-09
Jenkins Security Advisory 2023-02-09
Jenkins Security Home
For Administrators
Overview
Terminology
Vulnerabilities and Scoring
Security Advisories
Security Issues
Advisory Schedule
Vulnerabilities in Plugins
How We Fix Security Issues
For Reporters
Reporting Vulnerabilities
Jenkins CNA
For Maintainers
Overview
Vulnerabilities in Plugins
Jenkins Security Team
About
Contributions
This advisory announces vulnerabilities in the following Jenkins deliverables:
Jenkins Docker images
Descriptions
Git releases with critical vulnerabilities on Jenkins Docker images
SECURITY-3039
/
CVE-2022-23521 and CVE-2022-41903
Severity (CVSS):
Critical
Ubuntu
Git vulnerabilities
vendor_ubuntu·2023-02-07·CVSS 9.8
CVE-2022-23521 [CRITICAL] Git vulnerabilities
Title: Git vulnerabilities
Summary: Several security issues were fixed in Git.
USN-5810-1 fixed several vulnerabilities in Git. This update provides
the corresponding update for Ubuntu 16.04 ESM.
Original advisory details:
Markus Vervier and Eric Sesterhenn discovered that Git incorrectly handled certain
gitattributes. An attacker could possibly use this issue to cause a crash
or execute arbitrary code. (CVE-2022-23521)
Joern Schneeweisz discovered that Git incorrectly handled certain commands.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. (CVE-2022-41903)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
Git regression
vendor_ubuntu·2023-01-19·CVSS 9.8
CVE-2022-23521 [CRITICAL] Git regression
Title: Git regression
Summary: USN-5810-1 introduced a regression in Git.
USN-5810-1 fixed vulnerabilities in Git. This update introduced a regression as it
was missing some commit lines. This update fixes the problem.
Original advisory details:
Markus Vervier and Eric Sesterhenn discovered that Git incorrectly handled certain
gitattributes. An attacker could possibly use this issue to cause a crash
or execute arbitrary code. (CVE-2022-23521)
Joern Schneeweisz discovered that Git incorrectly handled certain commands.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. (CVE-2022-41903)
Instructions: In general, a standard system update will make all the necessary changes.
Ubuntu
Git vulnerabilities
vendor_ubuntu·2023-01-17·CVSS 9.8
CVE-2022-41903 [CRITICAL] Git vulnerabilities
Title: Git vulnerabilities
Summary: Several security issues were fixed in Git.
Markus Vervier and Eric Sesterhenn discovered that Git incorrectly handled certain
gitattributes. An attacker could possibly use this issue to cause a crash
or execute arbitrary code. (CVE-2022-23521)
Joern Schneeweisz discovered that Git incorrectly handled certain commands.
An attacker could possibly use this issue to cause a crash or execute
arbitrary code. (CVE-2022-41903)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
git: gitattributes parsing integer overflow
vendor_redhat·2023-01-17·CVSS 9.8
CVE-2022-23521 [CRITICAL] CWE-190 git: gitattributes parsing integer overflow
git: gitattributes parsing integer overflow
Git is distributed revision control system. gitattributes are a mechanism to allow defining attributes for paths. These attributes can be defined by adding a `.gitattributes` file to the repository, which contains a set of file patterns and the attributes that should be set for paths matching this pattern. When parsing gitattributes, multiple integer overflows can occur when there is a huge number of path patterns, a huge number of attributes for a single pattern, or when the declared attribute names are huge. These overflows can be triggered via a crafted `.gitattributes` file that may be part of the commit history. Git silently splits lines longer than 2KB when parsing gitattributes from a file, but not when parsing them from the index. Conseq
Debian
CVE-2022-23521: git - Git is distributed revision control system. gitattributes are a mechanism to all...
vendor_debian·2022·CVSS 9.8
CVE-2022-23521 [CRITICAL] CVE-2022-23521: git - Git is distributed revision control system. gitattributes are a mechanism to all...
Git is distributed revision control system. gitattributes are a mechanism to allow defining attributes for paths. These attributes can be defined by adding a `.gitattributes` file to the repository, which contains a set of file patterns and the attributes that should be set for paths matching this pattern. When parsing gitattributes, multiple integer overflows can occur when there is a huge number of path patterns, a huge number of attributes for a single pattern, or when the declared attribute names are huge. These overflows can be triggered via a crafted `.gitattributes` file that may be part of the commit history. Git silently splits lines longer than 2KB when parsing gitattributes from a file, but not when parsing them from the index. Consequentially, the failure mode depends on whethe
No detection rules found.
No public exploits indexed.
https://github.com/git/git/commit/508386c6c5857b4faa2c3e491f422c98cc69ae76https://github.com/git/git/security/advisories/GHSA-c738-c5qq-xg89https://security.gentoo.org/glsa/202312-15https://github.com/git/git/commit/508386c6c5857b4faa2c3e491f422c98cc69ae76https://github.com/git/git/security/advisories/GHSA-c738-c5qq-xg89https://security.gentoo.org/glsa/202312-15
2023-01-17
Published