DevscriptsApplication · Devscripts Devel Team

CVE-2012-0211

HIGH · 9.3 CVSS v2.0 Published 2012-06-16
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
debdiff.pl in devscripts 2.10.x before 2.10.69 and 2.11.x before 2.11.4 allows remote attackers to execute arbitrary code via a crafted tarball file name in the top-level directory of an original (.orig) source tarball of a source package.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The debdiff.pl script in devscripts versions 2.10.x before 2.10.69 and 2.11.x before 2.11.4 lacks proper sanitization of filenames when processing .orig source tarballs, allowing injection of arbitrary commands through a crafted tarball filename in the top-level directory.

MitigationUpgrade devscripts to version 2.10.69 or later (2.10.x) or 2.11.4 or later (2.11.x), and avoid processing untrusted or third-party tarballs with debdiff.pl until the upgrade is applied.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
DevscriptsApplication
Affected:= 2.10.0= 2.10.1= 2.10.3= 2.10.6= 2.10.7= 2.10.8= 2.10.9= 2.10.10= 2.10.11= 2.10.12= 2.10.13= 2.10.14

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
M
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:M/Au:N/C:C/I:C/A:C

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check if devscripts package is installed
    Run 'dpkg -l devscripts' or 'dpkg -s devscripts' to see if the package is present
    Affected if The package is not installed or the command fails
  2. Determine the installed devscripts version
    Run 'debdiff --version' or 'dpkg -l devscripts' and note the version number (e.g., 2.10.x or 2.11.x)
    Affected if Version cannot be determined or is not in the devscripts 2.10.x or 2.11.x series
  3. Compare the installed version against vulnerable ranges
    Check if the version is 2.10.0 through 2.10.68 (any 2.10.x before 2.10.69) or 2.11.0 through 2.11.3 (any 2.11.x before 2.11.4)
    Affected if The installed version falls within 2.10.0-2.10.68 or 2.11.0-2.11.3
  4. Verify debdiff.pl script is available
    Run 'which debdiff' or check for /usr/bin/debdiff
    Affected if The debdiff script exists and is executable on the system

A user is affected if devscripts is installed with a version in the 2.10.0-2.10.68 or 2.11.0-2.11.3 range and the debdiff.pl script is present and executable.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade devscripts to version 2.10.69 or later (2.10.x) or 2.11.4 or later (2.11.x), and avoid processing untrusted or third-party tarballs with debdiff.pl until the upgrade is applied.

Recommended fix High confidence

devscripts >= 2.10.69 (for 2.10.x branch) or devscripts >= 2.11.4 (for 2.11.x branch)

  1. Identify the current installed version of devscripts using: dpkg -l | grep devscripts or apt-cache policy devscripts
  2. For Debian-based systems, update the package list: sudo apt-get update
  3. Upgrade devscripts to the fixed version: sudo apt-get install devscripts
  4. For Debian squeeze/lts systems, ensure backports or security repositories are enabled to receive version 2.10.69 or later
  5. Verify the installed version after upgrade: dpkg -l | grep devscripts
  6. Ensure the version is >= 2.10.69 or >= 2.11.4 depending on your branch
Caveat Minor - this is a security update for input validation; no major functional changes expected

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Devscripts Scoped from the published advisory
  • Consultation1.0 h
  • Implementation1.0 h
  • Testing1.0 h
  • Review / QA1.0 h
4.0 hours of engineering $750
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,200.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2012-0211 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2012-0211 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data