Alerts This Week
Warning Icon 1 727
Alerts This Week
Warning Icon 1 727

Mageia 8: MGASA-2021-0429 Moderate: OpenSSL Buffer Overflow and DoS

mageia
Calendar Grey September 23, 2021
Dist Mageia Esm H88
Revised OpenSSL versions in Mageia tackle security vulnerabilities, comprising buffer overflows and possible denial-of-service risks.
In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt()

Summary

In order to decrypt SM2 encrypted data an application is expected to call the API function EVP_PKEY_decrypt(). Typically an application will call this function twice. The first time, on entry, the "out" parameter can be NULL and, on exit, the "outlen" parameter is populated with the buffer size required to hold the decrypted plaintext. The application can then allocate a sufficiently sized buffer and call EVP_PKEY_decrypt() again, but this time passing a non-NULL value for the "out" parameter. A bug in the implementation of the SM2 decryption code means that the calculation of the buffer size required to hold the plaintext returned by the first call to EVP_PKEY_decrypt() can be smaller than the actual size required by the second call. This can lead to a buffer overflow when EVP_PKEY_decrypt() is called by the application a second time with a buffer that is too small. A malicious attacker who is able present SM2 content for decryption to an application could cause attacker chosen dat......

Read the Full Advisory

References

- https://bugs.mageia.org/show_bug.cgi?id=29409

- https://openssl-library.org/news/secadv/20210824.txt

- https://lists.debian.org/debian-security-announce/2021/msg00147.html

- https://ubuntu.com/security/notices/USN-5051-1

- https://www.cve.org/CVERecord?id=CVE-2021-3711

- https://www.cve.org/CVERecord?id=CVE-2021-3712

Resolution

SRPMS

- 8/core/openssl-1.1.1l-1.mga8

Severity
important
Lowest
Low
Medium
High
Critical

Publication date: 23 Sep 2021
URL: https://advisories.mageia.org/MGASA-2021-0429.html
Type: security
CVE: CVE-2021-3711, CVE-2021-3712

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here