CVE-2021-23841

Priority
Description
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. The function X509_issuer_and_serial_hash() is never
directly called by OpenSSL itself so applications are only vulnerable if
they use this function directly and they use it on certificates that may
have been obtained from untrusted sources. OpenSSL versions 1.1.1i and
below are affected by this issue. Users of these versions should upgrade to
OpenSSL 1.1.1j. OpenSSL versions 1.0.2x and below are affected by this
issue. However OpenSSL 1.0.2 is out of support and no longer receiving
public updates. Premium support customers of OpenSSL 1.0.2 should upgrade
to 1.0.2y. Other users should upgrade to 1.1.1j. Fixed in OpenSSL 1.1.1j
(Affected 1.1.1-1.1.1i). Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x).
Notes
mdeslauredk2 doesn't use the affected function
Package
Source: edk2 (LP Ubuntu Debian)
Upstream:needs-triage
Ubuntu 14.04 ESM (Trusty Tahr):DNE
Ubuntu 18.04 LTS (Bionic Beaver):not-affected (0~20180205.c0d9813c-2ubuntu0.3)
Ubuntu 20.04 LTS (Focal Fossa):not-affected (0~20191122.bd85bf54-2ubuntu3.1)
Ubuntu 21.04 (Hirsute Hippo):not-affected (2020.11-2)
Patches:
Package
Upstream:needs-triage
Ubuntu 14.04 ESM (Trusty Tahr):not-affected (uses system openssl)
Ubuntu 18.04 LTS (Bionic Beaver):not-affected (uses system openssl1.0)
Ubuntu 20.04 LTS (Focal Fossa):not-affected (uses system openssl1.1)
Ubuntu 21.04 (Hirsute Hippo):not-affected (uses system openssl1.1)
Patches:
Package
Upstream:released (1.1.1j)
Ubuntu 14.04 ESM (Trusty Tahr):released (1.0.1f-1ubuntu2.27+esm2)
Ubuntu 16.06 ESM (Xenial Xerus):released (1.0.2g-1ubuntu4.19)
Ubuntu 18.04 LTS (Bionic Beaver):released (1.1.1-1ubuntu2.1~18.04.8)
Ubuntu 20.04 LTS (Focal Fossa):released (1.1.1f-1ubuntu2.2)
Ubuntu 21.04 (Hirsute Hippo):released (1.1.1j-1ubuntu1)
Patches:
Upstream:https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=122a19ab48091c657f7cb1fb3af9fc07bd557bbf
Package
Upstream:released (1.0.2y)
Ubuntu 14.04 ESM (Trusty Tahr):DNE
Ubuntu 18.04 LTS (Bionic Beaver):released (1.0.2n-1ubuntu5.6)
Ubuntu 20.04 LTS (Focal Fossa):DNE
Ubuntu 21.04 (Hirsute Hippo):DNE
Patches:
More Information

Updated: 2021-09-23 19:43:05 UTC (commit 3a71382848a53fcadb5f85bc8acde88c292f02e7)