CVE-2014-0471
NoneCVSS
—
EPSS
2.9%
Published
Apr 30, 2014
CISA due date
—
Cloudanix analysis
A problem in unpacking certain software packages lets attackers secretly place files anywhere on the computer, which could allow them to interfere with the system.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Tampering
- Component
- Application
- Class
- Path Traversal
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Directory traversal vulnerability in the unpacking functionality allows remote attackers to write arbitrary files via a crafted source package using C-style filename quoting.
Why it matters to the business
Attackers can place files in unauthorized locations on Debian and Ubuntu systems, risking system integrity and potential compromise across widely deployed Linux distributions.
How an attack unfolds
An attacker crafts a malicious source package embedding directory traversal sequences through C-style quoted filenames; when a victim unpacks it with vulnerable dpkg, files are written outside the intended extraction directory.
How to fix it
Upgrade dpkg to 1.15.9 or newer, 1.16.13 or newer, or 1.17.8 or newer. Apply the listed tiff package fixes such as 4.0.6-3 on Debian 11/12/13 and 4.0.3-7ubuntu0.6 or 4.0.6-1ubuntu0.1 on Ubuntu 14.04/16.04 LTS.
How to confirm the fix worked
Confirm dpkg version meets or exceeds the fixed releases and verify package unpacking behaves as expected without traversal on test packages.
Typical attack path
- Create source package with crafted filenames containing directory traversal via C-style quoting
- Distribute the package to target systems or repositories
- Victim performs package unpacking or installation with affected dpkg version
- Arbitrary files written to unintended system paths enabling further access
How to detect it
Review dpkg logs and system file creation events during package operations for unexpected paths or files outside normal extraction directories.
What your security team should do
- Immediately apply dpkg and listed tiff package updates on all Debian and Ubuntu systems
- Audit package sources and avoid untrusted source packages until patched
- Monitor package management logs for anomalous file operations
The record
Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9, 1.16.x before 1.16.13, and 1.17.x before 1.17.8 allows remote attackers to write arbitrary files via a crafted source package, related to "C-style filename quoting."
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | dpkg | 0 | 1.17.8 |
| Debian:12 | dpkg | 0 | 1.17.8 |
| Debian:13 | dpkg | 0 | 1.17.8 |
| Debian:6.0 | dpkg | 0 | 1.15.9 |
| Debian:7 | dpkg | 0 | 1.16.13 |
| Mageia:3 | dpkg | 0 | 1.16.15-1.1.mga3 |
| Mageia:4 | dpkg | 0 | 1.17.10-1.1.mga4 |
| Ubuntu:14.04:LTS | dpkg | 0 | 1.17.5ubuntu5.1 |
| Ubuntu:14.04:LTS | dpkg | 0 | 1.17.5ubuntu5.2 |
Related vulnerabilities
- CVE-2015-0860 Off-by-one error in the extracthalf function in dpkg-deb/extract.c in the dpkg-deb… Also affects dpkg
- CVE-2015-0840 The dpkg-source command in Debian dpkg before 1.16.16 and 1.17.x before 1.17.25 allows… Also affects dpkg
- CVE-2014-3864 Directory traversal vulnerability in dpkg-source in dpkg-dev 1.3.0 allows remote… Also affects dpkg
- CVE-2026-81163 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')… CWE-22
- CVE-2026-112049 Vita3K before build 4187 contains a path traversal (zip slip) vulnerability in… CWE-22
- CVE-2026-112005 WhoDB 0.104.0 before 0.135.0 contains a path traversal vulnerability that allows remote… CWE-22
- CVE-2026-61702 OpenPrinting CUPS is an open source printing system for Linux and other Unix-like… CWE-22
- CVE-2026-104871 The Angular SSR is a server-rise rendering tool for Angular applications. CWE-22