CVE-2021-29468
Description
Cygwin Git is a patch set for the git command line tool for the cygwin environment. A specially crafted repository that contains symbolic links as well as files with backslash characters in the file name may cause just-checked out code to be executed while checking out a repository using Git on Cygwin. The problem will be patched in the Cygwin Git v2.31.1-2 release. At time of writing, the vulnerability is present in the upstream Git source code; any Cygwin user who compiles Git for themselves from upstream sources should manually apply a patch to mitigate the vulnerability. As mitigation users should not clone or pull from repositories from untrusted sources. CVE-2019-1354 was an equivalent vulnerability in Git for Visual Studio.
Weakness
- CWE-20: Improper Input Validation
Timeline
- 2021-04-29Published by the CNA20:35 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| cygwin git | through 2.31.1-1no fix listed | not listed |
References
- https://cygwin.com/pipermail/cygwin-announce/2021-April/010018.html
- https://github.com/me-and/Cygwin-Git/blob/main/check-backslash-safety.patch
- https://github.com/me-and/Cygwin-Git/security/advisories/GHSA-rmp3-wq55-f557
- https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw%40mail.gmail.com/T/#u
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2021-29468'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2021-29468'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2021-29468'curl 'https://api.contrastcyber.com/cve_products/CVE-2021-29468'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).