Path Traversal in GNU Patch
CVE-2010-4651
Directory traversal vulnerability in util.c in GNU patch 2.6.1 and earlier allows user-assisted remote attackers to create or overwrite arbitrary files via a filename that is specified with a .. (dot dot) or full pathname, a related issue to CVE-2010-1679.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.8 (Medium). Vector: AV:N/AC:M/Au:N/C:N/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.049, 92.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- GNU Patch — versions 2.5, 2.5.4, 2.5.9
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (klapom/AEGIS_Rag). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- ADV-2011-0600 (vdb-entry, Vendor Advisory)
- support.apple.com/kb/HT4723
- [oss-security] 20110106 Re: CVE request: patch directory traversal flaw (mailing-list)
- www.securityfocus.com/bid/46768 (vdb-entry)
- APPLE-SA-2011-06-23-1 (vendor-advisory)
- [oss-security] 20110106 Re: CVE request: patch directory traversal flaw (mailing-list, Patch)
- bugzilla.redhat.com/show_bug.cgi (Patch)
- FEDORA-2011-1269 (vendor-advisory, Patch)
- [oss-security] 20110106 Re: CVE request: patch directory traversal flaw (mailing-list, Patch)
- git.savannah.gnu.org/cgit/patch.git/commit/ (Patch)