CVE-2021-29468
Cygwin Git Path Traversal Vulnerability
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.
INFO
Published Date :
April 29, 2021, 9:15 p.m.
Last Modified :
Nov. 21, 2024, 6:01 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-29468
.
URL | Resource |
---|---|
https://cygwin.com/pipermail/cygwin-announce/2021-April/010018.html | Mailing List Patch Vendor Advisory |
https://github.com/me-and/Cygwin-Git/blob/main/check-backslash-safety.patch | Patch Third Party Advisory |
https://github.com/me-and/Cygwin-Git/security/advisories/GHSA-rmp3-wq55-f557 | Patch Third Party Advisory |
https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw%40mail.gmail.com/T/#u | |
https://cygwin.com/pipermail/cygwin-announce/2021-April/010018.html | Mailing List Patch Vendor Advisory |
https://github.com/me-and/Cygwin-Git/blob/main/check-backslash-safety.patch | Patch Third Party Advisory |
https://github.com/me-and/Cygwin-Git/security/advisories/GHSA-rmp3-wq55-f557 | Patch Third Party Advisory |
https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw%40mail.gmail.com/T/#u |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-29468
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-29468
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://cygwin.com/pipermail/cygwin-announce/2021-April/010018.html Added Reference https://github.com/me-and/Cygwin-Git/blob/main/check-backslash-safety.patch Added Reference https://github.com/me-and/Cygwin-Git/security/advisories/GHSA-rmp3-wq55-f557 Added Reference https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw%40mail.gmail.com/T/#u -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference GitHub, Inc. https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw%40mail.gmail.com/T/#u [No types assigned] Removed Reference GitHub, Inc. https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw@mail.gmail.com/T/#u -
Initial Analysis by [email protected]
May. 11, 2021
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://cygwin.com/pipermail/cygwin-announce/2021-April/010018.html No Types Assigned https://cygwin.com/pipermail/cygwin-announce/2021-April/010018.html Mailing List, Patch, Vendor Advisory Changed Reference Type https://github.com/me-and/Cygwin-Git/blob/main/check-backslash-safety.patch No Types Assigned https://github.com/me-and/Cygwin-Git/blob/main/check-backslash-safety.patch Patch, Third Party Advisory Changed Reference Type https://github.com/me-and/Cygwin-Git/security/advisories/GHSA-rmp3-wq55-f557 No Types Assigned https://github.com/me-and/Cygwin-Git/security/advisories/GHSA-rmp3-wq55-f557 Patch, Third Party Advisory Changed Reference Type https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw@mail.gmail.com/T/#u No Types Assigned https://lore.kernel.org/git/CA+kUOa=juEdBMVr_gyTKjz7PkPt2DZHkXQyzcQmAWCsEHC_ssw@mail.gmail.com/T/#u Mailing List, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:cygwin:git:*:*:*:*:*:*:*:* versions up to (including) 2.31.1-1
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-29468
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-29468
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.23 }} -0.10%
score
0.60691
percentile