CVE-2015-1395
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2015-1395
Vendor advisory: security@debian.org — https://savannah.gnu.org/bugs/?44059
Vendor advisory: security@debian.org — https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd
Vendor advisory: security@debian.org — https://bugzilla.redhat.com/show_bug.cgi?id=1184490
Vendor advisory: security@debian.org — https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873
Vendor advisory: security@debian.org — http://www.ubuntu.com/usn/USN-2651-1
Vendor advisory: security@debian.org — http://www.openwall.com/lists/oss-security/2015/01/27/28
Vendor advisory: security@debian.org — http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html
Vendor advisory: security@debian.org — http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| fedora | 20 | affected | |
| fedora | 21 | affected | |
| ubuntu | 12.04 | affected | |
| ubuntu | 14.04 | affected | |
| ubuntu | 14.10 | affected | |
| debian | bookworm | fixed | 2.7.3-1 |
| debian | bullseye | fixed | 2.7.3-1 |
| debian | forky | fixed | 2.7.3-1 |
| debian | sid | fixed | 2.7.3-1 |
| debian | trixie | fixed | 2.7.3-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gnu | patch | {"endIncluding":"2.7.2"} | |
References
- http://lists.fedoraproject.org/pipermail/package-announce/2015-April/154214.html
- http://lists.fedoraproject.org/pipermail/package-announce/2015-January/148953.html
- http://www.openwall.com/lists/oss-security/2015/01/27/28
- http://www.securityfocus.com/bid/72846
- http://www.ubuntu.com/usn/USN-2651-1
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=775873
- https://bugzilla.redhat.com/show_bug.cgi?id=1184490
- https://git.savannah.gnu.org/cgit/patch.git/commit/?id=17953b5893f7c9835f0dd2a704ba04e0371d2cbd
- https://savannah.gnu.org/bugs/?44059
- https://security-tracker.debian.org/tracker/CVE-2015-1395
CWEs
CWE-22
Verify integrity in audit chain (admin only). AS-IS.