{"api_version":"1","generated_at":"2026-07-23T19:19:37+00:00","cve":"CVE-2021-29468","urls":{"html":"https://cve.report/CVE-2021-29468","api":"https://cve.report/api/cve/CVE-2021-29468.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-29468","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-29468"},"summary":{"title":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2021-04-29 21:15:00","updated_at":"2023-11-07 03:32:00"},"problem_types":["CWE-20"],"metrics":[],"references":[{"url":"https://github.com/me-and/Cygwin-Git/security/advisories/GHSA-rmp3-wq55-f557","name":"https://github.com/me-and/Cygwin-Git/security/advisories/GHSA-rmp3-wq55-f557","refsource":"CONFIRM","tags":[],"title":"Arbitrary code execution when checking out an attacker-controlled Git branch · Advisory · me-and/Cygwin-Git · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw@mail.gmail.com/T/#u","name":"https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw@mail.gmail.com/T/#u","refsource":"MISC","tags":[],"title":"Security vulnerability in Git for Cygwin","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://cygwin.com/pipermail/cygwin-announce/2021-April/010018.html","name":"https://cygwin.com/pipermail/cygwin-announce/2021-April/010018.html","refsource":"MISC","tags":[],"title":"Security vulnerability in Git for Cygwin","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/me-and/Cygwin-Git/blob/main/check-backslash-safety.patch","name":"https://github.com/me-and/Cygwin-Git/blob/main/check-backslash-safety.patch","refsource":"MISC","tags":[],"title":"Cygwin-Git/check-backslash-safety.patch at main · me-and/Cygwin-Git · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw%40mail.gmail.com/T/#u","name":"https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw%40mail.gmail.com/T/#u","refsource":"","tags":[],"title":"Security vulnerability in Git for Cygwin","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-29468","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29468","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"29468","vulnerable":"1","versionEndIncluding":"2.31.1-1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cygwin","cpe5":"git","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"29468","vulnerable":"1","versionEndIncluding":"2.31.1-1:","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"cygwin","cpe5":"git","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-29468","qid":"375525","title":"Cygwin Git Package Remote Code Execution"},{"cve":"CVE-2021-29468","qid":"671485","title":"EulerOS Security Update for git (EulerOS-SA-2022-1520)"},{"cve":"CVE-2021-29468","qid":"671520","title":"EulerOS Security Update for git (EulerOS-SA-2022-1519)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-29468","STATE":"PUBLIC","TITLE":"Arbitrary code execution when checking out an attacker-controlled Git branch"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Cygwin-Git","version":{"version_data":[{"version_value":"< 2.31.1-2"}]}}]},"vendor_name":"me-and"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20: Improper Input Validation "}]}]},"references":{"reference_data":[{"name":"https://github.com/me-and/Cygwin-Git/security/advisories/GHSA-rmp3-wq55-f557","refsource":"CONFIRM","url":"https://github.com/me-and/Cygwin-Git/security/advisories/GHSA-rmp3-wq55-f557"},{"name":"https://github.com/me-and/Cygwin-Git/blob/main/check-backslash-safety.patch","refsource":"MISC","url":"https://github.com/me-and/Cygwin-Git/blob/main/check-backslash-safety.patch"},{"name":"https://cygwin.com/pipermail/cygwin-announce/2021-April/010018.html","refsource":"MISC","url":"https://cygwin.com/pipermail/cygwin-announce/2021-April/010018.html"},{"name":"https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw@mail.gmail.com/T/#u","refsource":"MISC","url":"https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw@mail.gmail.com/T/#u"}]},"source":{"advisory":"GHSA-rmp3-wq55-f557","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-04-29 21:15:00","lastModifiedDate":"2023-11-07 03:32:00","problem_types":["CWE-20"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:cygwin:git:*:*:*:*:*:*:*:*","versionEndIncluding":"2.31.1-1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"29468","Ordinal":"204672","Title":"CVE-2021-29468","CVE":"CVE-2021-29468","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"29468","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"29468","Ordinal":"2","NoteData":"2021-04-29","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"29468","Ordinal":"3","NoteData":"2021-04-29","Type":"Other","Title":"Modified"}]}}}