<?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>10617</bug_id>
          
          <creation_ts>2016-11-08 07:49:32 +0000</creation_ts>
          <short_desc>curl: multiple CVEs; CVE-2016-8615 /25</short_desc>
          <delta_ts>2018-02-01 15:52:10 +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>Security - Recipe Upgrade</product>
          <component>security</component>
          <version>unspecified</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>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sona Sarmadi">sona.sarmadi</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>akuster</cc>
    
    <cc>richard.purdie</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>68063</commentid>
    <comment_count>0</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2016-11-08 07:49:32 +0000</bug_when>
    <thetext>Multiple CVEs were reported in curl:

cookie injection for other servers
CVE-2016-8615

case insensitive password comparison
CVE-2016-8616

OOB write via unchecked multiplication
CVE-2016-8617

double-free in curl_maprintf
CVE-2016-8618

double-free in krb5 code
CVE-2016-8619

glob parser write/read out of bounds
CVE-2016-8620

curl_getdate read out of bounds
CVE-2016-8621

URL unescape heap overflow via integer truncation
CVE-2016-8622

Use-after-free via shared cookies
CVE-2016-8623

invalid URL parsing with &apos;#&apos;
CVE-2016-8624

IDNA 2003 makes curl use wrong host
CVE-2016-8625

For more info see 
https://curl.haxx.se/docs/security.html 

All branches seems to be affected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68077</commentid>
    <comment_count>1</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2016-11-08 11:30:39 +0000</bug_when>
    <thetext>Patch sent to master:
https://patchwork.openembedded.org/patch/133682/

I will send patches to morty &amp; krogoth soon.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68177</commentid>
    <comment_count>2</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2016-11-09 09:30:04 +0000</bug_when>
    <thetext>curl 7.51.0-r0 address all these CVEs. A patch for master has been sent to upgrade curl to 7.51.0-r0. I wonder if we can upgrade krogoth and morty to 7.51.0-r0 as well? Both package versions are using same libcurl.so version i.e. libcurl.so.4.4.0:

tmp/work/i586-poky-linux/curl/7.47.1-r0/sysroot-destdir/usr/lib/libcurl.so.4.4.0
tmp/work/i586-poky-linux/curl/7.51.0-r0/sysroot-destdir/usr/lib/libcurl.so.4.4.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68240</commentid>
    <comment_count>3</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2016-11-11 11:31:38 +0000</bug_when>
    <thetext>Patch sent to master is applicable for morty branch as well.

Patches sent for krogoth.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79292</commentid>
    <comment_count>4</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-02-01 15:50:12 +0000</bug_when>
    <thetext>in krogoth.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79293</commentid>
    <comment_count>5</comment_count>
    <who name="Armin Kuster">akuster</who>
    <bug_when>2018-02-01 15:51:01 +0000</bug_when>
    <thetext>http://cgit.openembedded.org/openembedded-core/commit/?h=krogoth&amp;id=bf8d4e9c8a7fed4e190d600a6a26d314d4b15a08


&apos;&apos;

http://cgit.openembedded.org/openembedded-core/commit/?h=krogoth&amp;id=ba4e218d1e09aaecbdb760a299826c03202a9ba9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79294</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-02-01 15:52:10 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=morty&amp;id=6131edc2c9de3d2fe03243a423e2441a6ec855ce and preceeding commits, so all maintained stable branches are fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>