CVEfocus › CVE database › CVE-2017-3732

CVE-2017-3732BN_mod_exp may produce incorrect results on x86_64

CVSS 5.9 MediumEPSS 15.4% (higher than 97% of CVEs)Published 2017-05-04Updated 2024-09-16Assigner: openssl

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

7Fixed
15Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04opensslFixed1.0.2g-1ubuntu4.6UBUNTU-CVE-2017-3732
Ubuntu 14.04openssl098Not affected
vulnerable_code_not_present
Debian 14opensslFixed1.1.0d-1DEBIAN-CVE-2017-3732
Debian 13opensslFixed1.1.0d-1DEBIAN-CVE-2017-3732
Debian 12opensslFixed1.1.0d-1DEBIAN-CVE-2017-3732
Red Hat Enterprise Linux 7OVMFNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7openssl-develNot affected
Red Hat Enterprise Linux 7openssl-libsNot affected
Red Hat Enterprise Linux 7openssl-perlNot affected
Red Hat Enterprise Linux 7openssl-staticNot affected
Red Hat Enterprise Linux 7openssl098eNot affected
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 6openssl-develNot affected
Red Hat Enterprise Linux 6openssl-perlNot affected
Red Hat Enterprise Linux 6openssl-staticNot affected
Red Hat Enterprise Linux 6openssl098eNot affected
Red Hat Enterprise Linux 5opensslNot affected
Red Hat Enterprise Linux 5openssl097aNot affected
Alpine Linux 3.4opensslFixed1.0.2k-r0ALPINE-CVE-2017-3732
Alpine Linux 3.3opensslFixed1.0.2k-r0ALPINE-CVE-2017-3732
Alpine Linux 3.2opensslFixed1.0.2k-r0ALPINE-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.

Vendor advisories:

References

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.