Bug 1103026 (CVE-2014-3864, CVE-2014-3865)

Summary: CVE-2014-3864 CVE-2014-3865 dpkg: multiple directory traversal flaws in dpkg-source
Product: [Other] Security Response Reporter: Murray McAllister <mmcallis>
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: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-14 11:30:09 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: 1103027, 1103028    
Bug Blocks:    

Description Murray McAllister 2014-05-30 05:15:39 UTC
Multiple directory traversal flaws were found in dpkg-source. When unpacking a source package, this could lead to the creation of files outside of the directory you are unpacking in.

CVE-2014-3864: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746498
CVE-2014-3865: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=749183

References:
http://seclists.org/oss-sec/2014/q2/388

I am not sure where the patches are located.

Comment 1 Murray McAllister 2014-05-30 05:17:20 UTC
Created dpkg tracking bugs for this issue:

Affects: fedora-all [bug 1103027]
Affects: epel-all [bug 1103028]

Comment 2 Sergio Basto 2014-06-11 01:25:41 UTC
I still waiting for Debian release : 

http://packages.qa.debian.org/d/dpkg.html

seems finally they fix it : 
http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=shortlog;h=refs/heads/wheezy


after that I will try build on epel

Comment 3 Murray McAllister 2014-06-11 01:37:38 UTC
(In reply to Sergio Monteiro Basto from comment #2)
> I still waiting for Debian release : 
> 
> http://packages.qa.debian.org/d/dpkg.html
> 
> seems finally they fix it : 
> http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=shortlog;h=refs/heads/
> wheezy
> 
> 
> after that I will try build on epel

That is fine, thank you for the progress update!

Comment 4 Fedora Update System 2014-08-07 15:34:05 UTC
dpkg-1.16.15-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2015-05-14 06:29:27 UTC
dpkg-1.16.16-5.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2015-05-14 06:30:08 UTC
dpkg-1.16.16-5.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Sergio Basto 2015-05-14 11:30:09 UTC
I couldn't build dpkg for el5 because 

DEBUG util.py:388:  Error: No Package found for po4a [1]


[1] https://kojipkgs.fedoraproject.org//work/tasks/5213/9525213/root.log