<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>7182</bug_id>
          
          <creation_ts>2015-01-19 10:06:01 +0000</creation_ts>
          <short_desc>pigz, pax, cpio : directory traversal vulnerabilities, multiple CVEs</short_desc>
          <delta_ts>2015-04-01 01:34:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sona Sarmadi">sona.sarmadi</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>liezhi.yang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48025</commentid>
    <comment_count>0</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2015-01-19 10:06:01 +0000</bug_when>
    <thetext>Three cases of directory traversal in archiving utilities:

pigz, CVE-2015-1191
pigz is susceptible to directory traversal vulnerabilities. While 
decompressing a file with restoring file name, it (unlike gzip) will 
happily use absolute and relative paths taken from the input. This can 
be exploited by a malicious archive to write files outside the current 
directory.

Upstream  Fix:
 https://github.com/madler/pigz/commit/fdad1406b3ec809f4954ff7cdf9e99eb18c2458f

References:
https://bugs.debian.org/774978

===========================
pax, paxtar: directory traversal vulnerabilities CVE-2015-1193 &amp; CVE-2015-1194

CVE-2015-1193 for the .. path traversal (CWE-22).
CVE-2015-1194 for the symlink following, which can allow access outside of the current directory.

References:
https://bugs.debian.org/774716
http://www.openwall.com/lists/oss-security/2015/01/07/5


CVE distinguishes symlink following from path traversal as different 
vulnerability types.  The fix for one issue is not necessarily guaranteed 
to fix the other.  Also, since symlink following attacks can often be used 
against protected files within a directory that is already accessible to 
the attacker, it might cause confusion to use the &quot;directory traversal&quot; 
term to describe them.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48034</commentid>
    <comment_count>1</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2015-01-19 12:37:06 +0000</bug_when>
    <thetext>Additional directory traversal vulnerability via symlinks
cpio CVE-2015-1197

 Initial report:
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774669

 Upstream report:
 https://lists.gnu.org/archive/html/bug-cpio/2015-01/msg00000.html

 Some discussion:
 http://www.openwall.com/lists/oss-security/2015/01/07/5
 http://www.openwall.com/lists/oss-security/2015/01/08/4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49786</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2015-03-26 08:50:54 +0000</bug_when>
    <thetext>pigz has been upgraded to 2.3.3, so it has been fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50010</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2015-04-01 01:34:42 +0000</bug_when>
    <thetext>pax&apos; problem is minor, and the patch for cpio has been merged.:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=3837f294227f8d12fd9d954bf1a44dd65b2df1e0</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>