CVE-2012-2241 Path traversal in n/a

Medium 5.0 Published Updated

Remote attackers can delete arbitrary files by tricking users into processing crafted .dsc or .changes files with NULL bytes in filenames.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2012-2241?

CVE-2012-2241 is a medium-severity path traversal vulnerability in n/a, published on 1 Oct 2012. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

scripts/dget.pl in devscripts before 2.12.3 allows remote attackers to delete arbitrary files via a crafted (1) .dsc or (2) .changes file, probably related to a NULL byte in a filename.

Weakness: CWE-20

Which versions are affected by CVE-2012-2241?

It affects 1 product.

Products include Devscripts Devel Team Devscripts.

How do I fix CVE-2012-2241?

Upgrade to a fixed version.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2012-2241 being exploited?

There is no known exploitation of CVE-2012-2241 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2012-2241, GHSA-jfhj-r2mw-3r6p.

Is CVE-2012-2241 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free