CVE-2021-29468
Arbitrary code execution when checking out an attacker-controlled Git branch
Reported by github_m · Published April 29, 2021
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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| me-and | Cygwin-Git | < 2.31.1-2 |
| me-and | Cygwin-Git | 0 |
| alpine | git | * |
Timeline
- Apr 29, 2021 CVE Published
- Apr 30, 2021 EPSS Score (30 in total, the first dated here)
- Aug 3, 2024 CVE Updated
- Aug 5, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-29468
vulnetix vdb fixes CVE-2021-29468
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-29468/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart