CVE-2015-1396 Path traversal in n/a

High 7.5 Published Updated

A remote attacker can write to arbitrary files via a symlink attack in a patch file using the GNU patch utility.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2015-1396?

CVE-2015-1396 is a high-severity path traversal vulnerability in Debian Debian Linux, published on 25 Nov 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Directory Traversal vulnerability exists in the GNU patch before 2.7.4. A remote attacker can write to arbitrary files via a symlink attack in a patch file. NOTE: this issue exists because of an incomplete fix for CVE-2015-1196.

Weakness: CWE-22

Which versions are affected by CVE-2015-1396?

It affects 2 products.

Products include Debian Debian Linux, Gnu Patch.

How do I fix CVE-2015-1396?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2015-1396 being exploited?

There is no known exploitation of CVE-2015-1396 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2015-1396, GHSA-37cv-ggjj-37qh, UBUNTU-CVE-2015-1396.

Is CVE-2015-1396 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free