Path traversal in dpkg - CVE-2017-8283

 

Path traversal in dpkg - CVE-2017-8283

Published: April 26, 2017 / Updated: August 8, 2020


Vulnerability identifier: #VU39102
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2017-8283
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Debian Package Manager
Affected software:
dpkg

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


How to mitigate CVE-2017-8283

Install update from vendor's website.

Sources