CVE-2022-23521

Description from NVD

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.

Information Acquisition Date:2023-01-19T14:44Z
CVSS 2.0: 0.0 None CVSS 3.x: 9.8 CRITICAL

NVD References

 https://github.com/git/git/security/advisories/GHSA-c738-c5qq-xg89
     source:MISC
     tags:
 https://github.com/git/git/commit/508386c6c5857b4faa2c3e491f422c98cc69ae76
     source:MISC
     tags:

Refer to Information on External Sites

CVE InfomationExploits or more Infomation
mitreEXPLOIT DATABASE
NVD0day.today
vulmon.comgithub
CVE DetailsTwitter
JVN ENG JPN
Reconshell

Software Tag: Apple(1 tweets) Linux(1 tweets) Windows(1 tweets)



List of frequently cited URLs

URLNum of Times Referred to
https://github.blog/2023-01-17-git-security-vulnerabilities...10
https://securityonline.info/cve-2022-41903-cve-2022-23521-c...5
https://twitter.com/__kokumoto/status/16156710201905889293

▼ Show Information from Twitter(65)


List of frequently cited URLs

URLNum of Times Referred to
github.blog10
securityonline.info5
twitter.com3

▼ Show Information from Twitter(65)


GitHub Search Results: Up to 10
NameURL
Live-Hack-CVE/CVE-2022-23521 https://github.com/Live-Hack-CVE/CVE-2022-23521
0xDSousa/CVE-2022-23521 https://github.com/0xDSousa/CVE-2022-23521
sondermc/git-cveissues https://github.com/sondermc/git-cveissues

GitHub Search Results: Up to 10
NameURL
Live-Hack-CVE/CVE-2022-23521 github.com
0xDSousa/CVE-2022-23521 github.com
sondermc/git-cveissues github.com

2023/02/07 Score : 1
Added Har-sia Database : 2023/01/18
Last Modified : 2023/02/07
Highest Scored Date : 2023/01/18
Highest Score : 32