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:



List of frequently cited URLs

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

Information from Twitter

User URL Info Source Date
blueteamsec1 http://dlvr.it/SjbjNl Source blueteamsec1     1626773890201694209 2023/02/18
blueteamsec1 https://twitter.com/blueteamsec1/status/1626773890201694209... Source blueteamsec1     1626773890201694209 2023/02/18
kanteigojp https://github.com/git/git/security/advisories/GHSA-475x-2q... Source kanteigojp       1643626784120795139 2023/04/05

List of frequently cited URLs

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

Information from Twitter

User URL Info Source
blueteamsec1 dlvr.it Show Tweet
blueteamsec1 twitter.com Show Tweet
kanteigojp github.com Show Tweet

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/04/06 Score : 0
Added Har-sia Database : 2023/01/18
Last Modified : 2023/04/06
Highest Scored Date : 2023/01/18
Highest Score : 32