CVE-2023-23946: medium-severity vulnerability in git
Git's `git apply` overwriting paths outside the working tree
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's `git apply` command can be tricked into writing files outside the intended working directory when processing a specially crafted patch, allowing an attacker to overwrite arbitrary files on the system.
Path traversal vulnerability in `git apply` (CWE-22) allows remote code execution through maliciously crafted patches that exploit symbolic link handling. Attack vector requires user to apply an untrusted patch; impact is arbitrary file overwrite with user privileges running git.
In the same product, most dangerous first.