CVE-2017-3738

MEDIUM

AVX2 Montgomery multiplication - Buffer Overflow

Title source: llm
STIX 2.1

Description

There is an overflow bug in the AVX2 Montgomery multiplication procedure used in exponentiation with 1024-bit moduli. 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 DH1024 are considered just feasible, 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 significant. However, for an attack on TLS to be meaningful, the server would have to share the DH1024 private key among multiple clients, which is no longer an option since CVE-2016-0701. This only affects processors that support the AVX2 but not ADX extensions like Intel Haswell (4th generation). Note: The impact from this issue is similar to CVE-2017-3736, CVE-2017-3732 and CVE-2015-3193. OpenSSL version 1.0.2-1.0.2m and 1.1.0-1.1.0g are affected. Fixed in OpenSSL 1.0.2n. Due to the low severity of this issue we are not issuing a new release of OpenSSL 1.1.0 at this time. The fix will be included in OpenSSL 1.1.0h when it becomes available. The fix is also available in commit e502cc86d in the OpenSSL git repository.

References (27)

Core 27
Core References
Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2018-07
Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2018-04
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:2185
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:2186
Patch, Third Party Advisory x_refsource_confirm
http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html
Patch, Third Party Advisory x_refsource_confirm
http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html
Third Party Advisory vendor-advisory x_refsource_freebsd
https://security.FreeBSD.org/advisories/FreeBSD-SA-17:12.openssl.asc
Third Party Advisory vendor-advisory x_refsource_gentoo
https://security.gentoo.org/glsa/201712-03
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id/1039978
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2018/dsa-4157
Vendor Advisory x_refsource_confirm
https://www.openssl.org/news/secadv/20171207.txt
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:0998
Patch, Third Party Advisory x_refsource_confirm
http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html
Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2018-06
Third Party Advisory vendor-advisory x_refsource_debian
https://www.debian.org/security/2017/dsa-4065
Patch, Third Party Advisory x_refsource_confirm
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/102118
Third Party Advisory x_refsource_confirm
https://www.tenable.com/security/tns-2017-16
Vendor Advisory x_refsource_confirm
https://www.openssl.org/news/secadv/20180327.txt
Third Party Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:2187
Third Party Advisory x_refsource_confirm
https://security.netapp.com/advisory/ntap-20171208-0001/

Scores

CVSS v3 5.9
EPSS 0.1551
EPSS Percentile 94.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-200
Status published
Products (28)
debian/debian_linux 8.0
debian/debian_linux 9.0
nodejs/node.js 4.0.0 - 4.1.2
nodejs/node.js 4.2.0 - 4.8.7
openssl/openssl 1.0.2 (4 CPE variants)
openssl/openssl 1.0.2a
openssl/openssl 1.0.2b
openssl/openssl 1.0.2c
openssl/openssl 1.0.2d
openssl/openssl 1.0.2e
... and 18 more
Published Dec 07, 2017
Tracked Since Feb 18, 2026