<?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>8644</bug_id>
          
          <creation_ts>2015-11-04 17:01:37 +0000</creation_ts>
          <short_desc>Multiple CVEs on 2.0 release</short_desc>
          <delta_ts>2016-02-18 16:05:16 +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>2.0</version>
          <rep_platform>x86</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>2.0.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mihail Stanciu">stanciux.mihail</reporter>
          <assigned_to name="Armin Kuster">akuster</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56204</commentid>
    <comment_count>0</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-11-04 17:01:37 +0000</bug_when>
    <thetext>Apologies if classification isn&apos;t proper, I wasn&apos;t sure where this should go.

While looking into automating a CVE check tool to be run on our QA infrastructure found the following CVEs present in the project:

readline 6.3 (0 patched, 1 issues)
------------
 * CVE-2014-2524 : The _rl_tropen function in util.c in GNU readline before 6.3 patch 3 allows local users to create or overwrite arbitrary files via a symlink attack on a /var/tmp/rltrace.[PID] file.


busybox 1.15.1 (0 patched, 2 issues)
------------
 * CVE-2011-2716 : The DHCP client (udhcpc) in BusyBox before 1.20.0 allows remote DHCP servers to execute arbitrary commands via shell metacharacters in the (1) HOST_NAME, (2) DOMAIN_NAME, (3) NIS_DOMAIN, and (4) TFTP_SERVER_NAME host name options.

 * CVE-2013-1813 : util-linux/mdev.c in BusyBox before 1.21.0 uses 0777 permissions for parent directories when creating nested directories under /dev/, which allows local users to have unknown impact and attack vectors.


expat 2.1.0 (0 patched, 1 issues)
------------
 * CVE-2013-0340 : expat 2.1.0 and earlier does not properly handle entities expansion unless an application developer uses the XML_SetEntityDeclHandler function, which allows remote attackers to cause a denial of service (resource consumption), send HTTP requests to intranet servers, or read arbitrary files via a crafted XML document, aka an XML External Entity (XXE) issue.  NOTE: it could be argued that because expat already provides the ability to disable external entity expansion, the responsibility for resolving this issue lies with application developers; according to this argument, this entry should be REJECTed, and each affected application would need its own CVE.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56244</commentid>
    <comment_count>1</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-11-05 16:39:12 +0000</bug_when>
    <thetext>Mihail,

Thanks for informing us of these issues. We do prefer one bug per package or cve. Each CVE gets a CVSS scoring which will affect the priority of a bug. This allows us to manage resources better. 

thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56254</commentid>
    <comment_count>2</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2015-11-06 01:40:29 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Apologies if classification isn&apos;t proper, I wasn&apos;t sure where this should go.
&gt; 
&gt; While looking into automating a CVE check tool to be run on our QA
&gt; infrastructure found the following CVEs present in the project:
&gt; 
&gt; readline 6.3 (0 patched, 1 issues)
&gt; ------------
&gt;  * CVE-2014-2524 : The _rl_tropen function in util.c in GNU readline before
&gt; 6.3 patch 3 allows local users to create or overwrite arbitrary files via a
&gt; symlink attack on a /var/tmp/rltrace.[PID] file.

Readline fixed via:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/meta/recipes-core/readline?h=master-next&amp;id=9a02df0e932106bcb3dda0a7a2eb1113719fb4ee

in master and Jethro. Informed Fido maintainer to backport.

&gt; 
&gt; 
&gt; busybox 1.15.1 (0 patched, 2 issues)
&gt; ------------
&gt;  * CVE-2011-2716 : The DHCP client (udhcpc) in BusyBox before 1.20.0 allows
&gt; remote DHCP servers to execute arbitrary commands via shell metacharacters
&gt; in the (1) HOST_NAME, (2) DOMAIN_NAME, (3) NIS_DOMAIN, and (4)
&gt; TFTP_SERVER_NAME host name options.
&gt; 
&gt;  * CVE-2013-1813 : util-linux/mdev.c in BusyBox before 1.21.0 uses 0777
&gt; permissions for parent directories when creating nested directories under
&gt; /dev/, which allows local users to have unknown impact and attack vectors.
&gt; 

CVE-2011-2716: affects 1.20 and below.
Master, Jethro nor Dizzy affected.

CVE-2013-1813: Affects 1.21 and below.
Master, Jethro nor Dizzy affected.

&gt; 
&gt; expat 2.1.0 (0 patched, 1 issues)
&gt; ------------
&gt;  * CVE-2013-0340 : expat 2.1.0 and earlier does not properly handle entities
&gt; expansion unless an application developer uses the XML_SetEntityDeclHandler
&gt; function, which allows remote attackers to cause a denial of service
&gt; (resource consumption), send HTTP requests to intranet servers, or read
&gt; arbitrary files via a crafted XML document, aka an XML External Entity (XXE)
&gt; issue.  NOTE: it could be argued that because expat already provides the
&gt; ability to disable external entity expansion, the responsibility for
&gt; resolving this issue lies with application developers; according to this
&gt; argument, this entry should be REJECTed, and each affected application would
&gt; need its own CVE.

Expat response:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=8609</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59212</commentid>
    <comment_count>3</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2016-02-18 16:05:16 +0000</bug_when>
    <thetext>fido updated

http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-core/readline?h=fido&amp;id=7f2e2d57c7496547b7970377547482ead2e152cf</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>