CVE-2014-3227 Path traversal in n/a
Remote attackers can modify files outside intended directories via crafted source packages due to improper handling of filenames in dpkg.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2014-3227?
CVE-2014-3227 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, with no action from the victim.
Official description
dpkg 1.15.9, 1.16.x before 1.16.14, and 1.17.x before 1.17.9 expect the patch program to be compliant with a need for the "C-style encoded filenames" feature, but is supported in environments with noncompliant patch programs, which triggers an interaction error that allows remote attackers to conduct directory traversal attacks and modify files outside of the intended directories via a crafted source package. NOTE: this vulnerability exists because of reliance on unrealistic constraints on the behavior of an external program.
Weakness: CWE-22
Which versions are affected by CVE-2014-3227?
It affects 1 product.
Products include Debian Dpkg.
How do I fix CVE-2014-3227?
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-3227 being exploited?
There is no known exploitation of CVE-2014-3227 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2014-3227, GHSA-xjq6-63hc-vrrj.