Integer overflow in Git for Windows - CVE-2022-23521

 

Integer overflow in Git for Windows - CVE-2022-23521

Published: January 17, 2023 / Updated: February 15, 2023


Vulnerability identifier: #VU71239
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2022-23521
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Git for Windows
Affected software:
Git for Windows

Detailed vulnerability description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to insufficient validation of user-supplied input when parsing the .gitattributes attributes. A remote attacker can trick the victim into cloning a specially crafted repository and execute arbitrary code on the system.


How to mitigate CVE-2022-23521

Install updates from vendor's website.

Sources