Description
Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. As a workaround, avoid cloning repositories from untrusted sources.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| git | git | = 2.45.0; = 2.44.0; >= 2.43.0, < 2.43.4; >= 2.42.0, < 2.42.2; = 2.41.0; >= 2.40.0, < 2.40.2; < 2.39.4 |
| git | git | 2.45.0 |
| git | git | 2.44.0 |
| git | git | >= 2.43.0, < 2.43.4 |
| git | git | >= 2.42.0, < 2.42.2 |
| git | git | 2.41.0 |
| git | git | >= 2.40.0, < 2.40.2 |
| git | git | < 2.39.4 |
References
- http://www.openwall.com/lists/oss-security/2024/05/14/2Mailing List, Third Party Advisory
- https://git-scm.com/docs/git-cloneTechnical Description
- https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8Patch
- https://github.com/git/git/security/advisories/GHSA-xfc6-vwr8-r389Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/06/msg00018.htmlMailing List, Vendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/Mailing List, Vendor Advisory
- http://www.openwall.com/lists/oss-security/2024/05/14/2Mailing List, Third Party Advisory
- https://git-scm.com/docs/git-cloneTechnical Description
- https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8Patch
- https://github.com/git/git/security/advisories/GHSA-xfc6-vwr8-r389Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/06/msg00018.htmlMailing List, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/09/msg00009.htmlMailing List, Vendor Advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/Mailing List, Vendor Advisory
Timeline
- Published
- May 14, 2024
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed