CVE-2017-8283 Path traversal in n/a

Critical 9.8 Published Updated

Remote attackers can perform directory traversal via crafted Debian source packages due to lack of protection in dpkg-source.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-8283?

CVE-2017-8283 is a critical path traversal vulnerability in n/a, published on 26 Apr 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

dpkg-source in dpkg 1.3.0 through 1.18.23 is able to use a non-GNU patch program and does not offer a protection mechanism for blank-indented diff hunks, which allows remote attackers to conduct directory traversal attacks via a crafted Debian source package, as demonstrated by use of dpkg-source on NetBSD.

Weakness: CWE-22

Which versions are affected by CVE-2017-8283?

It affects 1 product.

Products include Debian Dpkg.

How do I fix CVE-2017-8283?

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-2017-8283 being exploited?

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

Sources

Also known as DEBIAN-CVE-2017-8283, GHSA-7cgr-cwf8-5c99.

Is CVE-2017-8283 in your software?

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

Check your SBOMs for free