CVE-2015-1395

high
Published 2017-08-25 ยท Modified 2026-05-13
CVSS v3
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4 NEW
โ€”
not yet in upstream
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 with source_tier=community-verified.

OS impact

fedora Fedora Affected 2 releases
VersionStatusFixed in
21 Affected โ€”
20 Affected โ€”
ubuntu Ubuntu Affected 3 releases
VersionStatusFixed in
14.10 Affected โ€”
14.04 Affected โ€”
12.04 Affected โ€”
debian Debian Fixed 5 releases
VersionStatusFixed 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

VendorProductVersionsFixed
gnupatch{"endIncluding":"2.7.2"}

References

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.