First published: Wed Feb 08 2023(Updated: )
A vulnerability was found in Git. This security issue occurs when feeding a crafted input to "git apply." A path outside the working tree can be overwritten by the user running "git apply."
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/git | <0:2.39.3-1.el8_8 | 0:2.39.3-1.el8_8 |
redhat/git | <0:2.39.3-1.el9_2 | 0:2.39.3-1.el9_2 |
<2.30.8 | ||
>=2.31.0<2.31.7 | ||
>=2.32.0<2.32.6 | ||
>=2.33.0<2.33.7 | ||
>=2.34.0<2.34.7 | ||
>=2.35.0<2.35.7 | ||
>=2.36.0<2.36.5 | ||
>=2.37.0<2.37.6 | ||
>=2.38.0<2.38.4 | ||
>=2.39.0<2.39.2 | ||
Git-scm Git | <2.30.8 | |
Git-scm Git | >=2.31.0<2.31.7 | |
Git-scm Git | >=2.32.0<2.32.6 | |
Git-scm Git | >=2.33.0<2.33.7 | |
Git-scm Git | >=2.34.0<2.34.7 | |
Git-scm Git | >=2.35.0<2.35.7 | |
Git-scm Git | >=2.36.0<2.36.5 | |
Git-scm Git | >=2.37.0<2.37.6 | |
Git-scm Git | >=2.38.0<2.38.4 | |
Git-scm Git | >=2.39.0<2.39.2 | |
Microsoft Visual Studio 2022 | =17.2 | |
Microsoft Visual Studio 2017 (includes 15.0 - 15.8) | =15.9 | |
Microsoft Visual Studio 2022 | =17.4 | |
Microsoft Visual Studio 2019 (includes 16.0 - 16.10) | =16.11 | |
Microsoft Visual Studio 2022 | =17.0 |
Use git apply --stat to inspect a patch before applying; avoid applying one that creates a symbolic link and then creates a file beyond the symbolic link.
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-23946 is a vulnerability in the Git revision control system that allows remote code execution via path traversal.
CVE-2023-23946 affects 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, and 2.30.8 of Git.
CVE-2023-23946 has a severity score of 7, which is considered high.
To fix CVE-2023-23946 in Visual Studio 2022 version 17.2, you can either update to a version that includes the patch, or apply the patch manually by downloading it from the provided URL.
You can find more information about CVE-2023-23946 on the Microsoft Security Response Center website, as well as the Bugzilla and Red Hat access pages linked in the references.