Bug 1537792

Summary: dpkg: directory traversal via /DEBIAN symlink
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: andrew, sergio, vanmeeuwen+fedora
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-25 06:50:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1537793, 1537794    
Bug Blocks:    

Description Laura Pardo 2018-01-23 21:51:18 UTC
A flaw was found dpkg which allows an attacker to perform a directory traversal by extracting with "dpkg-deb --raw-extract" a crafted .deb file with a /DEBIAN symlink 

Reference:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879982

Patch:
https://anonscm.debian.org/cgit/dpkg/dpkg.git/diff/?id=5003d76

Comment 1 Laura Pardo 2018-01-23 21:51:46 UTC
Created dpkg tracking bugs for this issue:

Affects: epel-all [bug 1537794]
Affects: fedora-all [bug 1537793]