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
mdeslaur | edk2 doesn't use the affected function |
Package
Upstream: | needs-triage
|
Ubuntu 18.04 LTS: | not-affected
(0~20180205.c0d9813c-2ubuntu0.3)
|
Ubuntu 20.04 LTS: | not-affected
(0~20191122.bd85bf54-2ubuntu3.1)
|
Ubuntu 14.04 ESM: | DNE
|
Patches:
Package
Upstream: | needs-triage
|
Ubuntu 18.04 LTS: | not-affected
(uses system openssl1.0)
|
Ubuntu 20.04 LTS: | not-affected
(uses system openssl1.1)
|
Ubuntu 14.04 ESM: | not-affected
(uses system openssl)
|
Patches:
Package
Upstream: | released
(1.1.1j)
|
Ubuntu 18.04 LTS: | released
(1.1.1-1ubuntu2.1~18.04.8)
|
Ubuntu 20.04 LTS: | released
(1.1.1f-1ubuntu2.2)
|
Ubuntu 16.04 ESM: | released
(1.0.2g-1ubuntu4.19)
|
Ubuntu 14.04 ESM: | released
(1.0.1f-1ubuntu2.27+esm2)
|
Patches:
Package
Upstream: | released
(1.0.2y)
|
Ubuntu 18.04 LTS: | released
(1.0.2n-1ubuntu5.6)
|
Ubuntu 20.04 LTS: | DNE
|
Ubuntu 14.04 ESM: | DNE
|
Patches:
Updated: 2022-04-13 14:29:08 UTC (commit f411bd370d482ef4385c4e751d121a4055fbc009)