Bug 7892 - Openssl: CVE-2015-4000, CVE-2015-1788, CVE-2015-1789, CVE-2015-1790, CVE-2015-1791, CVE-2015-1792
Summary: Openssl: CVE-2015-4000, CVE-2015-1788, CVE-2015-1789, CVE-2015-1790, CVE-2015...
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: connectivity (show other bugs)
Version: 1.7.2
Hardware: All Multiple
: Medium+ normal
Target Milestone: 1.9 M2
Assignee: Sona Sarmadi
QA Contact: Daniel Istrate
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-06-15 13:05 UTC by Sona Sarmadi
Modified: 2015-08-27 08:48 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sona Sarmadi 2015-06-15 13:05:07 UTC
Openssl has released a new version (1.0.1n and 1.0.1o):

Changes between 1.0.1n and 1.0.1o  *) 
Fix HMAC ABI incompatibility. The previous version introduced an ABI incompatibility in the handling of HMAC. The previous ABI has now been restored. 
Upgrade to 1.0.1n to address some CVEs

Upgrade to 1.0.1n addresses following vulnerabilities:

CVE-2015-4000, (Logjam) DHE man-in-the-middle protection
CVE-2015-1788, Malformed ECParameters causes infinite loop
CVE-2015-1789, Exploitable out-of-bounds read in X509_cmp_time
CVE-2015-1790, PKCS7 crash with missing EnvelopedContent
CVE-2015-1792, CMS verify infinite loop with unknown hash function
CVE-2015-1791, Race condition handling NewSessionTicket
CVE-2014-8176, Invalid free in DTLS

Since this upgrade mainly fixes CVEs so I think it woul be ok just to upgarde from 1.0.1m to 1.0.1o. I can upgrade if there is no objection. 

References:
http://openssl.org/news/secadv_20150611.txt
https://github.com/openssl/openssl/blob/OpenSSL_1_0_1-stable/CHANGES
Comment 1 Randy MacLeod 2015-06-18 15:40:17 UTC
Seems fine to me:
$ git log --oneline OpenSSL_1_0_1n..OpenSSL_1_0_1o
2a8c279 Prepare for 1.0.1o release
2ad310f Updated CHANGES and NEWS entries for new release
6cbc789 Allow a zero length extension block
fffcf87 Fix ABI break with HMAC
3adca97 Prepare for 1.0.1o-dev


The HMAC change fixes a regression so it's acceptable.

I'm commenting so you get some feedback and because I misunderstood what version of oe-core was being fixed during the defect triage call.
Comment 2 Sona Sarmadi 2015-07-17 12:17:23 UTC
openssl has been upgraded to 1.0.1p: 
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?h=dizzy&id=5f0d25152bac2d3798663a4ebfdd2df24060f153
Comment 3 Sona Sarmadi 2015-07-17 12:21:11 UTC
The upgrade includes these CVEs (CVE-2015-4000, CVE-2015-1788, CVE-2015-1789, CVE-2015-1790, CVE-2015-1791, CVE-2015-1792) and a new one (CVE-2015-1793).

For further info see:
https://www.openssl.org/news/openssl-1.0.1-notes.html
Comment 4 Alexandru Roman 2015-08-27 08:48:17 UTC
On master and fido branches the version of openssl is 1.0.2d and all of this cve's are resolved.
On dizzy and daisy branches the version of openssl is 1.0.1p and all of this cve's are resolved.
On dora the version of openssl is 1.0.1e, cve-2015-4000 is not resolved.


https://www.openssl.org/news/secadv/20150709.txt
https://www.openssl.org/news/secadv/20150611.txt