
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-23946 is a security vulnerability discovered in Git that affects versions prior to 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, and 2.30.8. The vulnerability was disclosed on February 14, 2023, and involves a path traversal issue in the 'git apply' command (GitHub Advisory).
The vulnerability occurs when feeding crafted input to 'git apply', which can allow an attacker to overwrite paths outside the working tree with the permissions of the user running the git apply command. The vulnerability has been assigned a CVSS score of 7.5 (High), indicating significant severity (Ubuntu Security).
When exploited, this vulnerability allows an attacker to overwrite files outside the intended working tree directory. This can lead to unauthorized file modifications in locations that should be inaccessible to the git apply command, potentially compromising system security (GitHub Advisory).
As a temporary workaround, users can use 'git apply --stat' to inspect patches before applying them and should avoid applying patches that create symbolic links followed by file creation beyond those links. The permanent fix is to upgrade to the patched versions: 2.39.2, 2.38.4, 2.37.6, 2.36.5, 2.35.7, 2.34.7, 2.33.7, 2.32.6, 2.31.7, or 2.30.8 (GitHub Advisory).
The vulnerability was discovered by Joern Schneeweisz of GitLab, and the patch was authored by Patrick Steinhardt of GitLab. The Git project responded promptly by releasing patches across multiple versions to address the security issue (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."