CVE-2021-29468

Summary

CVECVE-2021-29468
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-04-29 21:15:00 UTC
Updated2023-11-07 03:32:00 UTC
DescriptionCygwin 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 And Classification

Problem Types: CWE-20

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Cygwin Git All All All All
Application Cygwin Git All All All All

References

ReferenceSourceLinkTags
Arbitrary code execution when checking out an attacker-controlled Git branch · Advisory · me-and/Cygwin-Git · GitHub CONFIRM github.com
Security vulnerability in Git for Cygwin MISC lore.kernel.org
Security vulnerability in Git for Cygwin MISC cygwin.com
Cygwin-Git/check-backslash-safety.patch at main · me-and/Cygwin-Git · GitHub MISC github.com
Security vulnerability in Git for Cygwin lore.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 375525 Cygwin Git Package Remote Code Execution
  • 671485 EulerOS Security Update for git (EulerOS-SA-2022-1520)
  • 671520 EulerOS Security Update for git (EulerOS-SA-2022-1519)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report