Cloudanix VulnDB

CVE-2014-3864

None

CVSS

—

EPSS

2.8%

Published

May 30, 2014

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

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

  1. Craft a source package archive that omits the --- header line to trigger traversal logic
  2. Host or distribute the package via untrusted channels or compromised repositories
  3. Trick or wait for a target system to invoke dpkg-source on the package
  4. 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