CVE-2010-4651
MEDIUM 5.8CVSS 2.0Directory 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.
- Published
- 11 Mar 2011
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-22
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gnu | gnu_patchcpe:2.3:a:gnu:gnu_patch:*:*:*:*:*:*:*:* |
<= 2.6.1 | |
| NVD | gnu | gnu_patchcpe:2.3:a:gnu:gnu_patch:2.5:*:*:*:*:*:*:* |
= 2.5 | |
| NVD | gnu | gnu_patchcpe:2.3:a:gnu:gnu_patch:2.5.4:*:*:*:*:*:*:* |
= 2.5.4 | |
| NVD | gnu | gnu_patchcpe:2.3:a:gnu:gnu_patch:2.5.9:*:*:*:*:*:*:* |
= 2.5.9 | |
| NVD | gnu | gnu_patchcpe:2.3:a:gnu:gnu_patch:2.6:*:*:*:*:*:*:* |
= 2.6 |
References
- http://git.savannah.gnu.org/cgit/patch.git/commit/?id=685a78b6052f4df6eac6d625a545cfb54a6ac0e1 · Patch
- http://lists.apple.com/archives/security-announce/2011//Jun/msg00000.html
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055241.html · Patch
- http://lists.fedoraproject.org/pipermail/package-announce/2011-March/055246.html · Patch
- http://lists.gnu.org/archive/html/bug-patch/2010-12/msg00000.html · Patch
- http://openwall.com/lists/oss-security/2011/01/05/10 · Patch
- http://openwall.com/lists/oss-security/2011/01/06/19 · Patch
- http://openwall.com/lists/oss-security/2011/01/06/20
- http://openwall.com/lists/oss-security/2011/01/06/21 · Patch
- http://secunia.com/advisories/43663 · Vendor Advisory
- http://secunia.com/advisories/43677 · Vendor Advisory
- http://support.apple.com/kb/HT4723
- http://www.securityfocus.com/bid/46768
- http://www.vupen.com/english/advisories/2011/0600 · Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=667529 · Patch
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 11 Mar 2011)