ArchLinux: 201804-2: openssl: multiple issues
Summary
- CVE-2017-3738 (private key recovery)
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.
- CVE-2018-0739 (denial of service)
A stack-exhaustion issue has been found in OpenSSL <= 1.1.0h, where
constructed ASN.1 types with a recursive definition (such as can be
found in PKCS7) could eventually exceed the stack given malicious input
with excessive recursion. This could result in a Denial Of Service
attack. There are no such structures used within SSL/TLS that come from
untrusted sources so this is considered safe.
Resolution
Upgrade to 1.1.0.h-1.
# pacman -Syu "openssl>=1.1.0.h-1"
The problems have been fixed upstream in version 1.1.0.h.
References
https://openssl-library.org/news/vulnerabilities/index.html https://openssl-library.org/news/secadv/20171207.txt https://github.com/openssl/openssl/commit/5630661aecbea5fe3c4740f5fea744a1f07a6253 https://openssl-library.org/news/secadv/20180327.txt https://github.com/openssl/openssl/commit/2ac4c6f7b2b2af20c0e2b0ba05367e454cd11b33 https://security.archlinux.org/CVE-2017-3738 https://security.archlinux.org/CVE-2018-0739
Workaround
None.