| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 8.4 | $0-$5k | 0.00 |
Summary
A vulnerability has been found in Git and classified as critical. This impacts an unknown function. Performing a manipulation results in integer overflow. This vulnerability is known as CVE-2022-23521. Remote exploitation of the attack is possible. No exploit is available. The affected component should be upgraded.
Details
A vulnerability, which was classified as critical, was found in Git (Versioning Software). This affects an unknown part. The manipulation with an unknown input leads to a integer overflow vulnerability. CWE is classifying the issue as CWE-190. The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
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.
The weakness was published 01/18/2023 as GHSA-c738-c5qq-xg89. The advisory is shared at github.com. This vulnerability is uniquely identified as CVE-2022-23521 since 01/19/2022. Neither technical details nor an exploit are publicly available.
The vulnerability scanner Nessus provides a plugin with the ID 236669 (Alibaba Cloud Linux 3 : 0020: git (ALINUX3-SA-2023:0020)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 2023-01-17 eliminates this vulnerability. Applying the patch 508386c6c5857b4faa2c3e491f422c98cc69ae76 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the vulnerability database at Tenable (236669). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Product
Type
Name
Version
- 0.0.20080710
- 0.0.20090320
- 0.1.1
- 0.7.2
- 0.10.3
- 0.22.2
- 0.51.1
- 1
- 1.0.0
- 1.0.0b
- 1.0.1
- 1.0.3
- 1.0.4
- 1.0.5
- 1.0.6
- 1.0.7
- 1.0.8
- 1.1.0
- 1.1.0.0
- 1.1.1
- 1.1.2
- 1.1.3
- 1.1.4
- 1.1.5
- 1.3.0
- 1.3.1
- 1.4.2.2
- 1.5.2.1
- 1.5.5.3
- 1.5.5.4
- 1.5.6.1
- 1.5.6.2
- 1.5.6.3
- 1.6.0.2
- 1.7.0
- 1.8.1.3
- 1.8.2
- 1.9.3
- 1.11.0
- 1.13.0
- 1.13.2
- 1.22.0
- 1.22.1
- 2.0
- 2.0.2
- 2.0.289
- 2.1.1
- 2.1.2
- 2.3.10
- 2.4.9
- 2.4.10
- 2.4.12
- 2.5.0
- 2.5.3
- 2.5.4
- 2.5.5
- 2.5.6
- 2.6.0
- 2.6.1
- 2.6.6
- 2.6.7
- 2.7.4
- 2.7.5
- 2.8.0
- 2.8.0-rc3
- 2.8.4
- 2.8.5
- 2.9.3
- 2.9.4
- 2.10.2
- 2.10.3
- 2.10.5
- 2.11.1
- 2.11.2
- 2.11.3
- 2.11.4
- 2.12.0
- 2.12.2
- 2.12.3
- 2.12.4
- 2.12.5
- 2.13.2
- 2.13.5
- 2.13.6
- 2.13.7
- 2.14.1
- 2.14.2
- 2.14.3
- 2.14.4
- 2.14.5
- 2.14.6
- 2.15.1
- 2.15.2
- 2.15.3
- 2.15.4
- 2.16.3
- 2.16.4
- 2.16.5
- 2.16.6
- 2.17.0
- 2.17.1
- 2.17.2
- 2.17.3
- 2.17.4
- 2.18.0
- 2.18.1
- 2.18.2
- 2.18.3
- 2.19.0
- 2.19.1
- 2.19.2
- 2.19.3
- 2.19.4
- 2.20.1
- 2.20.2
- 2.20.3
- 2.21.0
- 2.21.1
- 2.21.2
- 2.22.1
- 2.22.2
- 2.22.3
- 2.23.0
- 2.23.1
- 2.23.2
- 2.24.0
- 2.24.1
- 2.24.2
- 2.25.2
- 2.25.3
- 2.26.0
- 2.26.1
- 2.30.1
- 2.30.5
- 2.30.6
- 2.30.8
- 2.30.9
- 2.31.1-2
- 2.31.3
- 2.31.4
- 2.31.5
- 2.31.6
- 2.31.7
- 2.31.8
- 2.32.2
- 2.32.3
- 2.32.4
- 2.32.5
- 2.32.6
- 2.32.7
- 2.33.3
- 2.33.4
- 2.33.5
- 2.33.6
- 2.33.7
- 2.33.8
- 2.34.3
- 2.34.4
- 2.34.5
- 2.34.6
- 2.34.7
- 2.34.8
- 2.35.3
- 2.35.4
- 2.35.5
- 2.35.6
- 2.35.7
- 2.35.8
- 2.36.1
- 2.36.2
- 2.36.3
- 2.36.4
- 2.36.5
- 2.36.6
- 2.37.0
- 2.37.1
- 2.37.3
- 2.37.4
- 2.37.5
- 2.37.6
- 2.37.7
- 2.38.3
- 2.38.4
- 2.38.5
- 2.39.1
- 2.39.2
- 2.39.3
- 2.40.0
- 2.40.1
- 2.40.4
- 2.41.2
- 2.41.3
- 2.42.3
- 2.42.4
- 2.43.5
- 2.43.6
- 2.44.2
- 2.44.3
- 2.45.2
- 2.45.3
- 2.46.2
- 2.46.3
- 2.47.0
- 2.47.1
- 2.48.0
- 2.48.1
- 3.0.0
- 3.0.8
- 3.1.3
- 3.3.0
- 3.5.0
- 3.6.1
- 3.15.0
- 3.16.0
- 4.0.3
- 5.11.0
- 5.13.0
- 6.5.0
- 6.20170818
License
Website
- Product: https://github.com/git/git/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 8.5VulDB Meta Temp Score: 8.4
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CNA Base Score: 9.8
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Integer overflowCWE: CWE-190 / CWE-189
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 236669
Nessus Name: Alibaba Cloud Linux 3 : 0020: git (ALINUX3-SA-2023:0020)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Git 2023-01-17
Patch: 508386c6c5857b4faa2c3e491f422c98cc69ae76
Timeline
01/19/2022 🔍01/17/2023 🔍
01/18/2023 🔍
01/18/2023 🔍
05/18/2025 🔍
Sources
Product: github.comAdvisory: GHSA-c738-c5qq-xg89
Status: Confirmed
CVE: CVE-2022-23521 (🔍)
GCVE (CVE): GCVE-0-2022-23521
GCVE (VulDB): GCVE-100-218865
Entry
Created: 01/18/2023 08:13Updated: 05/18/2025 19:12
Changes: 01/18/2023 08:13 (51), 05/18/2025 19:12 (18)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.