<?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>6843</bug_id>
          
          <creation_ts>2014-10-15 06:45:41 +0000</creation_ts>
          <short_desc>SSL 3.0 [RFC6101]  SSLv3 POODLE vulnerability CVE-2014-3566</short_desc>
          <delta_ts>2014-12-08 15:47:53 +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>connectivity</component>
          <version>unspecified</version>
          <rep_platform>Other</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>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.5.4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sona Sarmadi">sona.sarmadi</reporter>
          <assigned_to name="Sona">sona.sarmadi</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>sjolley.yp.pm</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</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>46333</commentid>
    <comment_count>0</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2014-10-15 06:45:41 +0000</bug_when>
    <thetext>Yesterday The Register published this:
http://www.theregister.co.uk/2014/10/14/nasty_ssl_30_vulnerability_to_drop_tomorrow/

and today following was published:
https://www.openssl.org/~bodo/ssl-poodle.pdf
http://googleonlinesecurity.blogspot.de/2014/10/this-poodle-bites-exploiting-ssl-30.html

The advice is: Disable SSLv3.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46340</commentid>
    <comment_count>1</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2014-10-15 10:21:33 +0000</bug_when>
    <thetext>Additional info:
http://askubuntu.com/questions/537196/how-do-i-patch-workaround-sslv3-poodle-vulnerability-cve-2014-3566
http://thenextweb.com/google/2014/10/15/web-encryption-vulnerability-opens-encrypted-data-hackers/

A patch to mitigate the issue is avaiable here: 
http://marc.info/?l=openssl-dev&amp;m=141333049205629&amp;w=2

The question is if we can disable SSLv3 and use TLS or is it dependency for other packages?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46406</commentid>
    <comment_count>2</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2014-10-17 09:53:31 +0000</bug_when>
    <thetext>Adding Bryan Evenson comments on this issues:

I did a few quick searches of recipe names and descriptions on the meta-openembedded and poky (which includes oe-core) layers for SSL and TLS relation.  The searches I used from the poky directory were:

find meta* -name &quot;*ssl*.bb&quot;
find meta* -name &quot;*tls*.bb&quot;
grep -nrE &apos;(ssl|SSL|tls|TLS)&apos; meta* | grep -vE &apos;(DSSSL|dsssl|[Ll]ossless)&apos; | grep &apos;\.bb:&apos;

Then ignoring packages that expressly disable SSL, here&apos;s what I found for other packages to evaluate:
python-pyopenssl
socat
curl
libsoup
packagegroup-toolset-native
packagegroup-core-basic
packagegroup-core-lsb
ltp
mailx
libarchive
iputils
msmtp
webkit-gtk
packagegroup-self-hosted
eglibc
glib-networking
x11vnc
bind
telepathy-idle
openssh
valgrind
tcf-agent
python-native
python
rpm
neon
nostromo
cherokee
apache2
ajenti
net-snmp
claws-mail
sylpheed
libimobiledevice
loudmouth
hostap-daemon
gateone
libtorrent
krb5
networkmanager
nodejs4
nodejs
libc-client
python-twisted
python-m2crypto
links
links-x11
openldap
gsoap
mbuffer
cryptsetup
iksemel
strongswan
ca-certificates
libetpan
cyrus-sasl
vsftpd
accel-ppp
openvpn
znc
azy
midori
oscam
tvheadend

Almost all the packages require openssl or gnutls, so patching openssl and gnutls may be sufficient for most of these packages.  I&apos;m still working with the dylan branch. If any new packages have been added since then I may have missed them.  I&apos;m not sure how dropbear does its encryption, so that may be one to look at also.

Regards,
Bryan Evenson</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46407</commentid>
    <comment_count>3</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2014-10-17 09:54:58 +0000</bug_when>
    <thetext>Adding some comments from email thread:

&gt; Presumably the list of affected packages is:
&gt; - gnutls
&gt; - openssl
&gt; - nss

There&apos;s a openssl 1.0.1j out now (fixing FOUR (!) CVEs, including &quot;disabling SSLv3 didn&apos;t work&quot;...).  I think considering the situation we&apos;d take the upgrade for dizzy, even though we&apos;ve frozen.  Anyone volunteering to take lead of upgrading dizzy to 1.0.1j and backporting the relevant patches to the previous releases? (eg daisy is on 1.0.1g).

Ross

On 15 October 2014 16:31, Burton, Ross &lt;ross.burton@intel.com&gt; wrote:
&gt; There&apos;s a openssl 1.0.1j out now (fixing FOUR (!) CVEs, including 
&gt; &quot;disabling SSLv3 didn&apos;t work&quot;...).  I think considering the situation 
&gt; we&apos;d take the upgrade for dizzy, even though we&apos;ve frozen.  Anyone 
&gt; volunteering to take lead of upgrading dizzy to 1.0.1j and backporting 
&gt; the relevant patches to the previous releases? (eg daisy is on 
&gt; 1.0.1g).

For anyone else interested, I&apos;ve currently got 1.0.1j patches for dizzy in testing.  There&apos;s been debate over whether we backport the fixes to daisy&apos;s 1.0.1g, or upgrade as the number of fixes is growing...

Ross
==================================

I think the upgrade is the way to go. We are likely to break 1.0.1g someday during backporting of security fixes.

-- 
Otavio Salvador</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46440</commentid>
    <comment_count>4</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2014-10-20 07:53:52 +0000</bug_when>
    <thetext>For the vulnerability in the GnuTLS see:
  http://www.gnutls.org/security.html#GNUTLS-SA-2014-4

and Nikos&apos; writeup here:
  http://nmav.gnutls.org/2014/10/what-about-poodle.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46544</commentid>
    <comment_count>5</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2014-10-23 15:06:51 +0000</bug_when>
    <thetext>Fix merged for 1.7 and 1.6 branches.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46896</commentid>
    <comment_count>6</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2014-11-10 08:54:10 +0000</bug_when>
    <thetext>Fixed in dora:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dora&amp;id=faaf75d24faa9862407cd478317101d155bb3129


Investigating further if we need to do anything else about this issue? i.e.
fixes in other related recipes?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46901</commentid>
    <comment_count>7</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2014-11-10 14:40:22 +0000</bug_when>
    <thetext>I think we need to apply this patch to disable SSL 3.0 in python 2.7 and 3.x:
 http://bugs.python.org/issue22638

I have looked at NSS and cURL packages, I don&apos;t think these packages are affected by this vulnerability.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47197</commentid>
    <comment_count>8</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2014-11-26 07:37:24 +0000</bug_when>
    <thetext>I have crated a patch which disables SSLv3 in python if we define &quot;OPENSSL_NO_SSL3&quot;. 

The patch is taken from:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768611

Should we patch wget also to disable SSLv3?
https://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1276641.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47292</commentid>
    <comment_count>9</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2014-12-02 15:30:39 +0000</bug_when>
    <thetext>There are two patches:
1) http://bugs.python.org/issue22638 (patch name: issue22638.diff,  http://bugs.python.org/file36926/issue22638.diff)
This patch disables SSLv3 by default for Python. But I couldn&apos;t apply this patch. It seems this is for newer python version.

2) https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768611#22 (python2.7-nossl3.patch) Building without SSLv3 support when openssl is built without any support for SSLv3

I have applied #2, I am running some tests. When I am done I will send the patch to OE-core.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47294</commentid>
    <comment_count>10</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-12-02 16:13:40 +0000</bug_when>
    <thetext>Paul, can you look at wget?  I will as well</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47314</commentid>
    <comment_count>11</comment_count>
    <who name="Sona Sarmadi">sona.sarmadi</who>
    <bug_when>2014-12-03 07:42:00 +0000</bug_when>
    <thetext>Created separate bugs for wget (Bug 7016), pyhton (Bug 7015) and curl (Bug 7017).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47425</commentid>
    <comment_count>12</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-12-08 15:47:53 +0000</bug_when>
    <thetext>I&apos;ve just created bug 7041 to cover webkit-gtk.

As far as I can tell, of the OE-Core recipes out of those listed above, there are no more that really need fixes that don&apos;t have corresponding bugs. Therefore I&apos;m marking this bug as resolved.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>