BN_mod_exp may produce incorrect results on x86_64 (OpenSSL OpenSSL)
At a glance
- Source
- NVD
- EPSS
- EPSS 15.40 % · percentile 97 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- openssl
- NVD status
- Modified
Description
There is a carry propagating bug in the x86_64 Montgomery squaring procedure in OpenSSL 1.0.2 before 1.0.2k and 1.1.0 before 1.1.0d. No EC algorithms are affected. Analysis suggests that attacks against RSA and DSA as a result of this defect would be very difficult to perform and are not believed likely. Attacks against DH are considered just feasible (although very difficult) because most of the work necessary to deduce information about a private key may be performed offline. The amount of resources required for such an attack would be very significant and likely only accessible to a limited number of attackers. An attacker would additionally need online access to an unpatched system using the target private key in a scenario with persistent DH parameters and a private key that is shared between multiple clients. For example this can occur by default in OpenSSL DHE based SSL/TLS ciphersuites. Note: This issue is very similar to CVE-2015-3193 but must be treated as a separate problem.
Weaknesses (CWE)
- CWE-200 — Exposure of Sensitive Information to an Unauthorized Actor
References
- https://access.redhat.com/errata/RHSA-2018:2185
- https://access.redhat.com/errata/RHSA-2018:2186
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
- https://access.redhat.com/errata/RHSA-2018:2713
- https://github.com/openssl/openssl/commit/a59b90bf491410f1f2bc4540cc21f1980fd14c5b
- https://security.FreeBSD.org/advisories/FreeBSD-SA-17:02.openssl.asc
- https://www.openssl.org/news/secadv/20170126.txt
- http://www.securitytracker.com/id/1037717
- https://access.redhat.com/errata/RHSA-2018:2575
- http://www.oracle.com/technetwork/security-advisory/cpuoct2017-3236626.html
- https://www.tenable.com/security/tns-2017-04
- https://security.gentoo.org/glsa/201702-07
- https://access.redhat.com/errata/RHSA-2018:2568
- http://www.securityfocus.com/bid/95814
- http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbhf03838en_us
- https://access.redhat.com/errata/RHSA-2018:2187
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2017-12849
- GCVE · GCVE-0-2017-3732
CERT-FR advisories
- CERTFR-2018-AVI-589 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2018-AVI-343 — Multiples vulnérabilités dans les produits Fortinet · cert.ssi.gouv.fr
- CERTFR-2018-AVI-184 — Multiples vulnérabilités dans les produits Juniper · cert.ssi.gouv.fr
- CERTFR-2017-AVI-224 — Multiples vulnérabilités dans Oracle MySQL · cert.ssi.gouv.fr
- CERTFR-2017-AVI-212 — Multiples vulnérabilités dans les produits Juniper · cert.ssi.gouv.fr
- CERTFR-2017-AVI-122 — Multiples vulnérabilités dans Oracle MySQL · cert.ssi.gouv.fr
- CERTFR-2017-AVI-035 — Multiples vulnérabilités dans les produits Cisco · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:openssl:openssl:1.0.2:*:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.0.2:beta1:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.0.2:beta2:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.0.2:beta3:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.0.2a:*:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.0.2b:*:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.0.2c:*:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.0.2d:*:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.0.2e:*:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.0.2f:*:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.0.2h:*:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.0.2i:*:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.1.0a:*:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.1.0b:*:*:*:*:*:*:*cpe:2.3:a:openssl:openssl:1.1.0c:*:*:*:*:*:*:*cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*≥ 4.0.0 ≤ 4.1.2cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*≥ 4.2.0 < 4.7.3cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*≥ 5.0.0 ≤ 5.12.0cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*≥ 6.0.0 ≤ 6.8.1cpe:2.3:a:nodejs:node.js:*:*:*:*:lts:*:*:*≥ 6.9.0 < 6.9.5cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*≥ 7.0.0 < 7.5.0
Affected products
| Product | Versions |
|---|---|
| OpenSSL · OpenSSL | affected openssl-1.1.0 ; affected openssl-1.1.0a ; affected openssl-1.1.0b ; affected openssl-1.1.0c ; affected openssl-1.0.2 ; affected openssl-1.0.2a |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |