CVE-2015-1395
high
CVSS v3
7.5
CVSS v4 NEW
โ
VIR risk
7.5
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
Exploit likelihood
83%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Fedora Affected 2 releases
| Version | Status | Fixed in |
|---|---|---|
| 21 | Affected | โ |
| 20 | Affected | โ |
Ubuntu Affected 3 releases
| Version | Status | Fixed in |
|---|---|---|
| 14.10 | Affected | โ |
| 14.04 | Affected | โ |
| 12.04 | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.7.3-1 |
| sid | Fixed | 2.7.3-1 |
| forky | Fixed | 2.7.3-1 |
| bullseye | Fixed | 2.7.3-1 |
| bookworm | 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
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.