CVE-2017-3732BN_mod_exp may produce incorrect results on x86_64
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.
What to do
Likely to be exploited: EPSS gives a 15% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | openssl | Fixed | 1.0.2g-1ubuntu4.6 | UBUNTU-CVE-2017-3732 |
| Ubuntu 14.04 | openssl098 | Not affected vulnerable_code_not_present | ||
| Debian 14 | openssl | Fixed | 1.1.0d-1 | DEBIAN-CVE-2017-3732 |
| Debian 13 | openssl | Fixed | 1.1.0d-1 | DEBIAN-CVE-2017-3732 |
| Debian 12 | openssl | Fixed | 1.1.0d-1 | DEBIAN-CVE-2017-3732 |
| Red Hat Enterprise Linux 7 | OVMF | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 7 | openssl098e | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl-static | Not affected | ||
| Red Hat Enterprise Linux 6 | openssl098e | Not affected | ||
| Red Hat Enterprise Linux 5 | openssl | Not affected | ||
| Red Hat Enterprise Linux 5 | openssl097a | Not affected | ||
| Alpine Linux 3.4 | openssl | Fixed | 1.0.2k-r0 | ALPINE-CVE-2017-3732 |
| Alpine Linux 3.3 | openssl | Fixed | 1.0.2k-r0 | ALPINE-CVE-2017-3732 |
| Alpine Linux 3.2 | openssl | Fixed | 1.0.2k-r0 | ALPINE-CVE-2017-3732 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: openssl-1.1.0, openssl-1.1.0a, openssl-1.1.0b, openssl-1.1.0c, openssl-1.0.2, openssl-1.0.2a
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2018:2185 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2186 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2713 (vendor-advisory)
- https://security.FreeBSD.org/advisories/FreeBSD-SA-17:02.openssl.asc (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2018:2575 (vendor-advisory)
- https://security.gentoo.org/glsa/201702-07 (vendor-advisory)
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.