FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

OpenSSL -- Multiple vulnerabilities

Affected packages
openssl < 1.1.1j,1
openssl-devel < 3.0.0.a12
12.2 <= FreeBSD < 12.2_10
11.4 <= FreeBSD < 11.4_13

Details

VuXML ID 96a21236-707b-11eb-96d8-d4c9ef517024
Discovery 2021-02-16
Entry 2021-02-16
Modified 2021-08-25

The OpenSSL project reports:

Null pointer deref in X509_issuer_and_serial_hash() CVE-2021-23841
(Moderate) The OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is maliciously constructed). This may subsequently result in a NULL pointer deref and a crash leading to a potential denial of service attack.

Integer overflow in CipherUpdate CVE-2021-23840
(Low) Calls to EVP_CipherUpdate, EVP_EncryptUpdate and EVP_DecryptUpdate may overflow the output length argument in some cases where the input length is close to the maximum permissable length for an integer on the platform. In such cases the return value from the function call will be 1 (indicating success), but the output length value will be negative. This could cause applications to behave incorrectly or crash.

References

CVE Name CVE-2021-23839
CVE Name CVE-2021-23840
CVE Name CVE-2021-23841
FreeBSD Advisory SA-21:17.openssl
URL https://www.openssl.org/news/secadv/20210216.txt