Path Traversal in Gnu Patch

CVE-2015-1395

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.112 (95.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2015-1395?
CVE-2015-1395 is a high-severity vulnerability in Gnu Patch, classified under Path Traversal. CVSS score: 7.5/10. Published 2017-08-25.
How severe is CVE-2015-1395?
High severity. CVSS v3 base score is 7.5 out of 10.