First published: Tue Jul 12 2022(Updated: )
A vulnerability was found in Git. This flaw occurs due to Git not checking the ownership of directories in a local multi-user system when running commands specified in the local repository configuration. This issue allows the owner of the repository to cause arbitrary commands to be executed by other users who access the repository.
Credit: Carlo Marcelo Arenas Belón Johannes Schindelin security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/git | <0:2.39.1-1.el8 | 0:2.39.1-1.el8 |
redhat/git | <0:2.39.1-1.el9 | 0:2.39.1-1.el9 |
>=2.30.3<2.30.5 | ||
>=2.31.2<2.31.4 | ||
>=2.32.1<2.32.3 | ||
>=2.33.2<2.33.4 | ||
>=2.34.2<2.34.4 | ||
>=2.35.2<2.35.4 | ||
>=2.37.0<2.37.1 | ||
=35 | ||
=36 | ||
=37 | ||
<14.1 | ||
=10.0 | ||
Git-scm Git | >=2.30.3<2.30.5 | |
Git-scm Git | >=2.31.2<2.31.4 | |
Git-scm Git | >=2.32.1<2.32.3 | |
Git-scm Git | >=2.33.2<2.33.4 | |
Git-scm Git | >=2.34.2<2.34.4 | |
Git-scm Git | >=2.35.2<2.35.4 | |
Git-scm Git | >=2.37.0<2.37.1 | |
Fedoraproject Fedora | =35 | |
Fedoraproject Fedora | =36 | |
Fedoraproject Fedora | =37 | |
Apple Xcode | <14.1 | |
Debian Debian Linux | =10.0 | |
redhat/git | <2.30.5 | 2.30.5 |
redhat/git | <2.31.4 | 2.31.4 |
redhat/git | <2.32.3 | 2.32.3 |
redhat/git | <2.33.4 | 2.33.4 |
redhat/git | <2.34.4 | 2.34.4 |
redhat/git | <2.35.4 | 2.35.4 |
redhat/git | <2.36.2 | 2.36.2 |
redhat/git | <2.37.1 | 2.37.1 |
Apple Xcode | <14.1 | 14.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
(Found alongside the following vulnerabilities)
CVE-2022-29187 is a vulnerability in Git that allows for privilege escalation in all platforms.
CVE-2022-29187 affects Git prior to versions 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, and 2.30.5.
CVE-2022-29187 has a severity rating of high (7 out of 10).
To fix CVE-2022-29187, update Git to version 2.37.1, 2.36.2, 2.35.4, 2.34.4, 2.33.4, 2.32.3, 2.31.4, or 2.30.5.
You can find more information about CVE-2022-29187 on the CVE website (https://www.cve.org/CVERecord?id=CVE-2022-29187) and the NVD database (https://nvd.nist.gov/vuln/detail/CVE-2022-29187).