CVE-2024-52006: low-severity vulnerability in git
Newline confusion in credential helpers can lead to credential exfiltration in git
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Git credential helpers can leak credentials when using certain programming languages (like .NET or Node.js) because they incorrectly interpret carriage return characters as line endings, bypassing security protections. An attacker could trick you into cloning a malicious repository and steal your credentials.
The vulnerability stems from inconsistent newline interpretation in Git's credential helper protocol; ecosystems treating CR as newline can bypass CVE-2020-5260 protections. Attack vector involves crafted repository URLs in clone operations; pre-condition requires use of affected credential helpers in vulnerable language ecosystems. Impact includes credential exfiltration to attacker-controlled hosts.
In the same product, most dangerous first.