CVEvulnerability
CVE-2015-1395
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2017-08-25
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 7.8 HIGH — AV:N/AC:L/Au:N/C:N/I:C/A:N
- Weaknesses
- CWE-22
Description
Directory traversal vulnerability in GNU patch versions which support Git-style patching before 2.7.3 allows remote attackers to write to arbitrary files with the permissions of the target user via a .. (dot dot) in a diff file name.
Affected configurations
• fedoraproject fedora 20
• fedoraproject fedora 21
• canonical ubuntu linux 12.04
• canonical ubuntu linux 14.04
• canonical ubuntu linux 14.10
• gnu patch (<= 2.7.2)
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html Patch, Third Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2015/01/27/28 Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/72846 Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-2651-1 Patch, Third Party Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873 Issue Tracking, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1184490 Issue Tracking, Patch, Third Party Advisory
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd Issue Tracking, Patch
- https://savannah.gnu.org/bugs/?44059 Patch, Vendor Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html Patch, Third Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html Patch, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2015/01/27/28 Mailing List, Patch, Third Party Advisory
- http://www.securityfocus.com/bid/72846 Third Party Advisory, VDB Entry
- http://www.ubuntu.com/usn/USN-2651-1 Patch, Third Party Advisory
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873 Issue Tracking, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1184490 Issue Tracking, Patch, Third Party Advisory
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd Issue Tracking, Patch
- https://savannah.gnu.org/bugs/?44059 Patch, Vendor Advisory