CVE-2014-0478
NoneCVSS
—
EPSS
1.6%
Published
Jun 17, 2014
CISA due date
—
Cloudanix analysis
A flaw in package management software could let attackers secretly replace legitimate software updates with harmful versions during download.
- Exploitation
- Adjacent Network
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- Improper Input Validation
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw allows man-in-the-middle attackers to tamper with package sources by stripping the Release signature, enabling installation of malicious packages instead of legitimate ones.
Why it matters to the business
Attackers can compromise systems by installing backdoored software during package updates, leading to full system control and data breaches.
How an attack unfolds
An attacker positions themselves between the client and the package repository, intercepts the package list, removes the signature, and provides a modified list pointing to malicious packages, which the tool accepts and installs.
How to fix it
Upgrade APT to version 1.0.4 or later to enforce proper signature validation on source packages.
How to confirm the fix worked
Verify APT version is at least 1.0.4 and test package updates over untrusted networks to ensure signatures are required.
Typical attack path
- Position as MITM on network
- Intercept APT update requests
- Strip Release signature from repository metadata
- Inject malicious package references
- Trick APT into downloading and installing Trojan packages
How to detect it
Check system logs for package installations from unexpected sources or unsigned repositories; look for APT processes fetching from modified metadata.
- Release signature removed
- apt update without verification
- trojan package installed via apt
What your security team should do
- Update APT immediately
- Use HTTPS repositories
- Monitor for unexpected package installations
The record
APT before 1.0.4 does not properly validate source packages, which allows man-in-the-middle attackers to download and install Trojan horse packages by removing the Release signature.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | apt | 0 | 1.0.4 |
| Debian:12 | apt | 0 | 1.0.4 |
| Debian:13 | apt | 0 | 1.0.4 |
| Debian:6.0 | apt | 0 | 0.8.10.3+squeeze2 |
| Debian:7 | apt | 0 | 0.9.7.9+deb7u2 |
| Ubuntu:14.04:LTS | apt | 0 | 1.0.1ubuntu2.1 |
Related vulnerabilities
- CVE-2020-27350 APT had several integer overflows and underflows while parsing .deb packages, aka… Also affects apt
- CVE-2019-3462 Incorrect sanitation of the 302 redirect field in HTTP transport method of apt versions… Also affects apt
- CVE-2018-0501 The mirror:// method implementation in Advanced Package Tool (APT) 1.6.x before 1.6.4 and… Also affects apt
- CVE-2016-1252 The apt package in Debian jessie before 1.0.9.8.4, in Debian unstable before 1.4~beta2… Also affects apt
- CVE-2014-0487 APT before 1.0.9 does not verify downloaded files if they have been modified as indicated… Also affects apt
- CVE-2014-7206 The changelog command in Apt before 1.0.9.2 allows local users to write to arbitrary… Also affects apt
- CVE-2014-6273 Buffer overflow in the HTTP transport code in apt-get in APT 1.0.1 and earlier allows… Also affects apt
- CVE-2026-113786 pypdf is a free and open-source pure-python PDF library. CWE-20