CVE-2014-3864
NoneCVSS
—
EPSS
2.8%
Published
May 30, 2014
CISA due date
—
Cloudanix analysis
A flaw in an old Debian packaging tool lets attackers who supply a specially made software package change files they should not be able to touch on a computer.
- 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 allows modification of arbitrary files outside intended package directories when processing a crafted source package lacking a --- header line.
Why it matters to the business
Attackers can tamper with system files during package source handling on affected Debian systems, risking integrity of builds, installations, and potentially enabling further compromise; urgency is low given age and lack of known exploitation.
How an attack unfolds
An attacker creates a malicious Debian source package that omits the expected --- header line and distributes it through repositories or direct downloads; when a victim processes the package with dpkg-source, the traversal allows writing files to unintended locations.
How to fix it
Upgrade dpkg-dev to a version that enforces header validation and directory restrictions; apply vendor patches if available for the 1.3.0 series; avoid processing source packages from untrusted origins.
How to confirm the fix worked
Confirm dpkg-dev version is newer than 1.3.0 and test with known-malformed packages to verify traversal is blocked; review package build logs for unexpected file writes.
Typical attack path
- Craft a source package archive that omits the --- header line to trigger traversal logic
- Host or distribute the package via untrusted channels or compromised repositories
- Trick or wait for a target system to invoke dpkg-source on the package
- Achieve file writes outside the build directory to alter configuration, scripts, or binaries
How to detect it
Review dpkg-source invocation logs and package build histories for entries showing writes outside expected directories; look for source packages lacking standard header lines in forensic archives.
What your security team should do
- Inventory all systems using dpkg-dev and schedule upgrades to current maintained releases
- Implement policy requiring signature verification and source validation before package processing
- Monitor for any legacy 1.3.0 deployments and isolate or decommission them
The record
Directory traversal vulnerability in dpkg-source in dpkg-dev 1.3.0 allows remote attackers to modify files outside of the intended directories via a crafted source package that lacks a --- header line.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | dpkg | 0 | 1.17.10 |
| Debian:12 | dpkg | 0 | 1.17.10 |
| Debian:13 | dpkg | 0 | 1.17.10 |
| Debian:6.0 | dpkg | 0 | 1.15.11 |
| Debian:7 | dpkg | 0 | 1.16.15 |
| 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.3 |
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-0471 Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9… 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