CVE-2015-0840
NoneCVSS
—
EPSS
1.8%
Published
Apr 13, 2015
CISA due date
—
Cloudanix analysis
A flaw in the tool used to handle source packages on Debian and Ubuntu systems could let attackers slip in unverified changes that should have been rejected.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- Authorization Bypass
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits crafted Debian source control (.dsc) files to bypass signature verification checks performed by dpkg-source, allowing unsigned or improperly signed package metadata to be processed as valid.
Why it matters to the business
Organizations relying on Debian or Ubuntu package workflows face risk of tampered source packages being accepted, which can lead to supply-chain compromise, delayed patching, and increased operational overhead to audit package sources.
How an attack unfolds
An attacker prepares a malicious .dsc file with manipulated signature fields, distributes it through repositories or direct channels, and relies on the victim running dpkg-source to extract or build the package, causing the tool to skip verification and accept the untrusted content.
How to fix it
Upgrade dpkg to version 1.16.16 or later on affected Debian releases and to 1.17.25 or later on 1.17.x branches; Ubuntu users should apply the corresponding security updates for their release. Rebuild or re-verify any packages previously processed with vulnerable dpkg-source versions.
How to confirm the fix worked
Confirm installed dpkg version meets or exceeds the fixed releases listed in the advisory; test signature verification behavior against known-good and crafted .dsc files after upgrade.
Typical attack path
- Craft a .dsc file containing invalid or missing signature data that exploits parsing weaknesses
- Host or distribute the file via public repositories, mirrors, or direct delivery
- Trick or wait for administrators to invoke dpkg-source on the file during package extraction or build
- Gain execution or injection of unauthorized package contents into the build environment
How to detect it
Review build logs and package processing history for invocations of dpkg-source on externally obtained .dsc files; look for packages that were extracted or built without corresponding signature validation entries in audit trails.
What your security team should do
- Prioritize patching dpkg on all build and packaging systems within 30 days given the age of the disclosure
- Audit internal package build pipelines for use of dpkg-source and enforce signature verification policies
- Monitor upstream Debian and Ubuntu security feeds for any related package updates
The record
The dpkg-source command in Debian dpkg before 1.16.16 and 1.17.x before 1.17.25 allows remote attackers to bypass signature verification via a crafted Debian source control file (.dsc).
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | dpkg | 0 | 1.17.25 |
| Debian:12 | dpkg | 0 | 1.17.25 |
| Debian:13 | dpkg | 0 | 1.17.25 |
| Debian:6.0 | dpkg | 0 | 1.15.12 |
| Debian:7 | dpkg | 0 | 1.16.16 |
| Mageia:4 | dpkg | 0 | 1.17.25-1.1.mga4 |
| Ubuntu:14.04:LTS | dpkg | 0 | 1.17.5ubuntu5.4 |
| openSUSE:Tumbleweed | dpkg | 0 | 1.18.10-1.4 |
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-2014-3864 Directory traversal vulnerability in dpkg-source in dpkg-dev 1.3.0 allows remote… Also affects dpkg
- CVE-2014-0471 Directory traversal vulnerability in the unpacking functionality in dpkg before 1.15.9… Also affects dpkg
- CVE-2026-2219 It was discovered that dpkg-deb (a component of dpkg, the Debian package management… Also affects dpkg
- CVE-2026-114574 A security vulnerability has been detected in massCodeIO massCode 5.10. CWE-284
- CVE-2026-83395 Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise… CWE-284
- CVE-2026-112091 A flaw has been found in Dav-ee dairy-management-system… CWE-284
- CVE-2026-106580 ImageMagick is free and open-source software used for editing and manipulating digital… CWE-284