CVE-2014-3865 Path traversal in n/a

Medium 6.4 Published Updated

Remote attackers can modify files outside intended directories via crafted source packages, affecting developers using dpkg-dev.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2014-3865?

CVE-2014-3865 is a medium-severity path traversal vulnerability in n/a, published on 30 May 2014. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Multiple directory traversal vulnerabilities in dpkg-source in dpkg-dev 1.3.0 allow remote attackers to modify files outside of the intended directories via a source package with a crafted Index: pseudo-header in conjunction with (1) missing --- and +++ header lines or (2) a +++ header line with a blank pathname.

Weakness: CWE-22

Which versions are affected by CVE-2014-3865?

It affects 1 product.

Products include Debian Dpkg-Dev.

How do I fix CVE-2014-3865?

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-2014-3865 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2014-3865 exists.

Public exploit code: 1 Exploit-DB entry.

Sources

Also known as DEBIAN-CVE-2014-3865, GHSA-pm6q-6j5f-2hj8, UBUNTU-CVE-2014-3865.

Is CVE-2014-3865 in your software?

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

Check your SBOMs for free