Upstream has issued an advisory on March 6:
The issue was fixed in OpenSSL 1.0.2s and OpenSSL 1.1.0k on May 28.
This sounds like a very minor issue, so we could probably wait for the next OpenSSL update(s) to fix it.
Mageia 6 and Mageia 7 are also affected.
MGA7TOO, MGA6TOOSource RPM:
openssl, compat-openssl10 =>
Assigning to the base system maintainers, because:
[marja@cldrn64 ~]$ urpmq --requires-recursive basesystem-minimal | grep ssl
CC'ing two submitters.
geiger.david68210, marja11, nicolas.salguero
Debian has issued an advisory for this on July 1:
Upstream has issued an advisory on September 10:
Debian has issued an advisory for this on October 1:
openssl new security issue CVE-2019-1543 =>
openssl new security issues CVE-2019-154 and CVE-2019-1563
The new issues are fixed in 1.0.2t and 1.1.0l.
The updated packages fix security vulnerabilities:
ChaCha20-Poly1305 is an AEAD cipher, and requires a unique nonce input for every encryption operation. RFC 7539 specifies that the nonce value (IV) should be 96 bits (12 bytes). OpenSSL allows a variable nonce length and front pads the nonce with 0 bytes if it is less than 12 bytes. However it also incorrectly allows a nonce to be set of up to 16 bytes. In this case only the last 12 bytes are significant and any additional leading bytes are ignored. It is a requirement of using this cipher that nonce values are unique. Messages encrypted using a reused nonce value are susceptible to serious confidentiality and integrity attacks. If an application changes the default nonce length to be longer than 12 bytes and then makes a change to the leading bytes of the nonce expecting the new value to be a new unique nonce then such an application could inadvertently encrypt messages with a reused nonce. Additionally the ignored bytes in a long nonce are not covered by the integrity guarantee of this cipher. Any application that relies on the integrity of these ignored leading bytes of a long nonce may be further affected. Any OpenSSL internal use of this cipher, including in SSL/TLS, is safe because no such use sets such a long nonce value. However user applications that use this cipher directly and set a non-default nonce length to be longer than 12 bytes may be vulnerable. (CVE-2019-1543)
Normally in OpenSSL EC groups always have a co-factor present and this is used in side channel resistant code paths. However, in some cases, it is possible to construct a group using explicit parameters (instead of using a named curve). In those cases it is possible that such a group does not have the cofactor present. This can occur even where all the parameters match a known named curve. If such a curve is used then OpenSSL falls back to non-side channel resistant code paths which may result in full key recovery during an ECDSA signature operation. In order to be vulnerable an attacker would have to have the ability to time the creation of a large number of signatures where explicit parameters with no co-factor present are in use by an application using libcrypto. For the avoidance of doubt libssl is not vulnerable because explicit parameters are never used. (CVE-2019-1547)
In situations where an attacker receives automated notification of the success or failure of a decryption attempt an attacker, after sending a very large number of messages to be decrypted, can recover a CMS/PKCS7 transported encryption key or decrypt any RSA encrypted message that was encrypted with the public RSA key, using a Bleichenbacher padding oracle attack. Applications are not affected if they use a certificate together with the private RSA key to the CMS_decrypt or PKCS7_decrypt functions to select the correct recipient info to decrypt. (CVE-2019-1563)
Updated packages in core/updates_testing:
MGA7TOO, MGA6TOO =>
Installed and tested without issues.
Lots of packages on this workstation depend on openssl and after 3 days of normal usage and some applications testing, no regressions were noticed. Explicitly tested openssl's various commands (e.g. s_client, genkey, speed), no issues found.
System: Mageia 7, x86_64, Intel CPU.
$ uname -a
Linux marte 5.3.13-desktop-2.mga7 #1 SMP Mon Nov 25 20:30:40 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ rpm -qa | grep openssl | sort
Thank you, PC LX. Validating. Advisory in Comment 5.
An update for this issue has been pushed to the Mageia Updates repository.
This update also fixed CVE-2019-1552: