Bug 1780995 (CVE-2019-1551)
Summary: | CVE-2019-1551 openssl: Integer overflow in RSAZ modular exponentiation on x86_64 | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Huzaifa S. Sidhpurwala <huzaifas> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | unspecified | CC: | aboyko, ahogbin, asoldano, atangrin, bbaranow, bmaxwell, brian.stansberry, cdewolf, cfergeau, chazlett, csutherl, darran.lofthouse, dchong, dkreling, dosoudil, erik-fedora, fidencio, gzaronik, iweiss, jawilson, jclere, jorton, jperkins, jwon, krathod, ktietz, kwills, lgao, lmorse, marcandre.lureau, mbabacek, msochure, msvehla, mturk, myarboro, nwallace, pjindal, pmackay, psotirop, rguimara, rjones, rsvoboda, smaestri, tmraz, tom.jenkinson, twalsh, weli |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | openssl 1.1.1e | Doc Type: | If docs needed, set a value |
Doc Text: |
An integer overflow was found in the x64_64 Montgomery squaring procedure used in exponentiation with 512-bit moduli. As per upstream:
* No EC algorithms are affected.
* Attacks against 2-prime RSA1024, 3-prime RSA1536, and DSA1024 as a result of this defect would be very difficult to perform and are not believed likely.
* Attacks against DH512 are considered just feasible. However, for an attack the target would have to re-use the DH512 private key, which is not recommended anyway.
* Also applications directly using the low level API BN_mod_exp may be affected if they use BN_FLG_CONSTTIME
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2020-10-28 20:21:15 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: | 1781004, 1781005, 1781006, 1781013, 1781014, 1781015 | ||
Bug Blocks: | 1780996 |
Description
Huzaifa S. Sidhpurwala
2019-12-09 03:55:08 UTC
External References: https://www.openssl.org/news/secadv/20191206.txt https://github.com/openssl/openssl/pull/10575 Upstream commits: https://github.com/openssl/openssl/commit/419102400a2811582a7a3d4a4e317d72e5ce0a8f https://github.com/openssl/openssl/commit/8736f9538121443cdb2e21951a85e465b8f7f790 Created mingw-openssl tracking bugs for this issue: Affects: epel-7 [bug 1781006] Affects: fedora-all [bug 1781005] Created openssl tracking bugs for this issue: Affects: fedora-all [bug 1781004] Statement: Accelerated modular exponentiation for Intel processors (RSAZ) was introduced in openssl-1.0.2, therefore older versions of OpenSSL are not affected by this flaw. This vulnerability is out of security support scope for the following products: * Red Hat JBoss Enterprise Application Platform 6 * Red Hat JBoss Enterprise Web Server 2 Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details. We use Red Hat Enterprise Linux 8 (RHEL8) specifically we use container images ubi8/ubi-minimal. When we install openssl we get version 1.1.1c and apparently the fix is in 1.1.1e. We also use Red Hat Enterprise Linux 7 (RHEL7) as container image ubi7/ubi-minimal. When we install openssl we get version 1.0.2k and the fix is in 1.0.2u. It is stated that RHEL8 is "affected" by CVE-2019-1551 - https://access.redhat.com/security/cve/cve-2019-1551 It is also stated that RHEL7 is "Will not fix". Will RHEL8 be fixed by this bugzilla ticket? When can we expect this fix? Do I need to open another bugzilla ticket? Will RHEL7 never be fixed? RHEL-7: 512 bit DH is already disabled. As this bug is about leakage of the private key to the attacker, it should be fully sufficient to just not use 1024 bit RSA keys or 1024 bit DSA keys. These keys are not secure enough anyway. 3-prime RSA keys are not supported on RHEL-7. RHEL-8: The DEFAULT crypto policy already disables all these key sizes. This keeps coming up with our services teams needing the fixed versions of OpenSSL. There are several CVEs that are involved ... CVE-2019-1547 - Fixed in OpenSSL 1.1.0l (Affected 1.1.0-1.1.0k). Fixed in OpenSSL 1.0.2t (Affected 1.0.2-1.0.2s). CVE-2019-1549 - Fixed in OpenSSL 1.1.1d (Affected 1.1.1-1.1.1c). CVE-2019-1551 - Fixed in OpenSSL 1.1.1e-dev (Affected 1.1.1-1.1.1d). Fixed in OpenSSL 1.0.2u-dev (Affected 1.0.2-1.0.2t). CVE-2019-1563 - Fixed in OpenSSL 1.1.1d (Affected 1.1.1-1.1.1c). Fixed in OpenSSL 1.1.0l (Affected 1.1.0-1.1.0k). Fixed in OpenSSL 1.0.2t (Affected 1.0.2-1.0.2s). Our images installed with OpenSSL show the following ... Based on registry.access.redhat.com/ubi7/ubi-minimal - Need OpenSSL 1.0.2t or 1.0.2u-dev in ubi-7/x86_64 Red Hat Universal Base Image 7 Server (RPMs) [root@4c866ac08b81 /]# openssl version OpenSSL 1.0.2k-fips 26 Jan 2017 Based on registry.access.redhat.com/ubi8/ubi-minimal - Need OpenSSL 1.1.1d or 1.1.1e-dev in ubi-8-baseos Red Hat Universal Base Image 8 (RPMs) - BaseOS [root@6ad506124398 /]# openssl version OpenSSL 1.1.1c FIPS 28 May 2019 Having these upgrades will solve a lot of these issues for us. When can we expect the OpenSSL packages upgraded? Mitigation: For Red Hat Enterprise Linux 7, 512 bit DH is already disabled. As this bug is about leakage of the private key to the attacker, it should be fully sufficient to just not use 1024 bit RSA keys or 1024 bit DSA keys. These keys are not secure enough anyway. 3-prime RSA keys are not supported on RHEL-7. For Red Hat Enterprise 8, The DEFAULT crypto policy already disables all these key sizes. Also applications compiled with openssl which use the low level API BN_mod_exp may be affected if they use BN_FLG_CONSTTIME, other users of this API are not affected by this flaw. There are many teams needing to use these images and are reporting these vulnerabilities. They require the upgraded images. When can we expect the OpenSSL packages upgraded? This issue has been addressed in the following products: Red Hat JBoss Core Services Via RHSA-2020:4383 https://access.redhat.com/errata/RHSA-2020:4383 This issue has been addressed in the following products: JBoss Core Services on RHEL 7 JBoss Core Services on RHEL 6 Via RHSA-2020:4384 https://access.redhat.com/errata/RHSA-2020:4384 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-1551 This issue has been addressed in the following products: Red Hat Enterprise Linux 8 Via RHSA-2020:4514 https://access.redhat.com/errata/RHSA-2020:4514 |