Skip to content
OpenAdvisories
Unscored CVE-2017-3732 EUVD-2017-12849GHSA-5hg3-8gvm-5294

BN_mod_exp may produce incorrect results on x86_64

Published May 4, 2017 · Updated Sep 16, 2024 · Assigned by openssl

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.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL openssl-1.1.0, openssl-1.1.0a, openssl-1.1.0b, openssl-1.1.0c, openssl-1.0.2, openssl-1.0.2a, openssl-1.0.2b, openssl-1.0.2c, openssl-1.0.2d, openssl-1.0.2e, openssl-1.0.2f, openssl-1.0.2g, openssl-1.0.2h, openssl-1.0.2i, openssl-1.0.2j —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl 1.1.0d-1 —
Debian 13 openssl 1.1.0d-1 —
Debian 12 openssl 1.1.0d-1 —
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS openssl 1.0.2g-1ubuntu4.6 USN-3181-1
Ubuntu 14.04 LTS openssl 1.0.1f-1ubuntu2.22 USN-3181-1
ReleasePackageFixed inAdvisory
RHEL 7 java-1.8.0-ibm +5 1:1.8.0.5.20-1jpp.1.el7 RHSA-2018:2568
RHEL 6 java-1.8.0-ibm +5 1:1.8.0.5.20-1jpp.1.el6_10 RHSA-2018:2575
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Network Satellite 5 java-1.8.0-ibm +1 1:1.8.0.5.20-1jpp.1.el6_10 RHSA-2018:2713
Red Hat JBoss Core Services 1 jbcs-httpd24-apache-commons-daemon 1.1.0-1.redhat_2.1.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-apache-commons-daemon-jsvc 1:1.1.0-1.redhat_2.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-apr +1 1.6.3-14.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-apr-util +8 1.6.1-9.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.29-17.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_auth_kerb 5.4-36.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_bmx 0.9.6-17.GA.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_cluster-native 1.3.8-1.Final_redhat_2.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_jk +2 1.2.43-1.redhat_1.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_rt 2.4.1-19.GA.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_security 2.9.1-23.GA.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.29-17.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-nghttp2 +1 1.29.0-8.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
Red Hat JBoss Core Services 1 jbcs-httpd24-openssl +4 1:1.0.2n-11.jbcs.el6 RHSA-2018:2186, RHSA-2018:2185
ReleasePackageFixed inAdvisory
SLES 15 java-1_8_0-ibm 1.8.0_sr5.20-3.6.2 SUSE-SU-2018:3082-1
SLES 12 SP3 java-1_8_0-ibm 1.8.0_sr5.20-30.36.1 SUSE-SU-2018:2839-1
SLES 12 SP2 java-1_8_0-ibm 1.8.0_sr5.20-30.36.1 SUSE-SU-2018:2839-2, SUSE-SU-2018:2839-1
SLES 12 SP2 openssl 1.0.2j-59.1 SUSE-SU-2017:0441-1
SLES 12 SP1 java-1_8_0-ibm 1.8.0_sr5.20-30.36.1 SUSE-SU-2018:2839-1
SLES 12 nodejs4 4.7.3-14.1 SUSE-SU-2017:0855-1
SLES 12 nodejs6 6.9.5-7.1 SUSE-SU-2017:0431-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP3 java-1_8_0-ibm 1.8.0_sr5.20-30.36.1 SUSE-SU-2018:2839-1
SLES for SAP 12 SP2 java-1_8_0-ibm 1.8.0_sr5.20-30.36.1 SUSE-SU-2018:2839-1
SLES for SAP 12 SP2 openssl 1.0.2j-59.1 SUSE-SU-2017:0441-1
SLES for SAP 12 SP1 java-1_8_0-ibm 1.8.0_sr5.20-30.36.1 SUSE-SU-2018:2839-1
SUSE OpenStack Cloud 7 java-1_8_0-ibm 1.8.0_sr5.20-30.36.1 SUSE-SU-2018:2839-1
SUSE Enterprise Storage 4 java-1_8_0-ibm 1.8.0_sr5.20-30.36.1 SUSE-SU-2018:2839-1
SUSE Enterprise Storage 4 nodejs4 4.7.3-14.1 SUSE-SU-2017:0855-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssl-1_0_0 1.0.2u-6.2 openSUSE-SU-2024:11126-1
openSUSE Tumbleweed openssl-1_1 1.1.1l-1.2 openSUSE-SU-2024:11127-1
ReleasePackageFixed inAdvisory
Alpine v3.4 openssl 1.0.2k-r0 —
Alpine v3.3 openssl 1.0.2k-r0 —
Alpine v3.2 openssl 1.0.2k-r0 —

Advisories 18

References