Bug 1486144 (CVE-2017-3735)

Summary: CVE-2017-3735 openssl: Malformed X.509 IPAdressFamily could cause OOB read
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: apintea, apmukher, ben.harper, bkundal, bmaxwell, bmcclain, carl, cdewolf, cfergeau, charles.mckinnis, chazlett, csutherl, darran.lofthouse, dblechte, dimitris, dosoudil, eedri, erik-fedora, extras-orphan, fgavrilo, gzaronik, jawilson, jclere, jondruse, jorton, jshepherd, kbost, ktietz, lersek, lgao, lsurette, marcandre.lureau, mbabacek, mgoldboi, michal.skrivanek, mturk, myarboro, pgier, pjurak, ppalaga, psakar, pslavice, rbalakri, rh-spice-bugs, rjones, rnetuka, rstancel, rstark, rsvoboda, sherold, srevivo, sstavrev, szidek, tmraz, tsasaki, twalsh, vtunka, weli, ylavi, yozone
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openssl 1.0.2m, openssl 1.1.0g Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-29 07:40:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1486145, 1486146, 1486147, 1527732, 1534929, 1534930, 1655666    
Bug Blocks: 1534623    

Description Andrej Nemec 2017-08-29 07:31:08 UTC
If an X.509 certificate has a malformed IPAddressFamily extension,
OpenSSL could do a one-byte buffer overread. The most likely result
would be an erroneous display of the certificate in text format.

External References:

https://www.openssl.org/news/secadv/20170828.txt

References:

https://github.com/openssl/openssl/pull/4276

Comment 1 Andrej Nemec 2017-08-29 07:31:54 UTC
Created mingw-openssl tracking bugs for this issue:

Affects: epel-7 [bug 1486145]
Affects: fedora-all [bug 1486147]


Created openssl tracking bugs for this issue:

Affects: fedora-all [bug 1486146]

Comment 3 Takahiro Sasaki 2018-01-09 00:48:09 UTC
CVSS3 Base Score is 5.3 (https://access.redhat.com/security/cve/cve-2017-3735), which means RedHat is failed on PCI compliance (pg. 31 in https://www.pcisecuritystandards.org/documents/ASV_Program_Guide_v3.0.pdf

I believe RedHat don't want to leave the customers failed on PCI compliance.  I'm using the Amazon Linux AMI so it's following RHEL/EPEL 6.  Please address this ASAP.

Comment 5 Huzaifa S. Sidhpurwala 2018-01-17 06:36:47 UTC
Statement:

This flaw only exhibits itself when:
1. OpenSSL is used to display details of a local or a remote certificate.
2. The certificate contains the uncommon RFC 3779 IPAddressFamily extension.

The maximum impact of this flaw is garbled information being displayed, there is no impact on the availability of service using such a certificate. Also this flaw can NOT be used to create specially-crafted certificates. Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Comment 6 errata-xmlrpc 2018-10-30 07:50:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:3221 https://access.redhat.com/errata/RHSA-2018:3221