CVE-2021-23841
Published: 16 February 2021
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
Author | Note |
---|---|
mdeslaur | edk2 doesn't use the affected function |
Priority
Status
Package | Release | Status |
---|---|---|
edk2 Launchpad, Ubuntu, Debian |
xenial |
Not vulnerable
(0~20160408.ffea0a2c-2ubuntu0.2)
|
bionic |
Not vulnerable
(0~20180205.c0d9813c-2ubuntu0.3)
|
|
focal |
Not vulnerable
(0~20191122.bd85bf54-2ubuntu3.1)
|
|
trusty |
Does not exist
|
|
upstream |
Needs triage
|
|
groovy |
Not vulnerable
(2020.05-5ubuntu0.1)
|
|
nodejs Launchpad, Ubuntu, Debian |
groovy |
Not vulnerable
(uses system openssl1.1)
|
trusty |
Not vulnerable
(uses system openssl)
|
|
upstream |
Needs triage
|
|
xenial |
Not vulnerable
(uses system openssl)
|
|
bionic |
Not vulnerable
(uses system openssl1.0)
|
|
focal |
Not vulnerable
(uses system openssl1.1)
|
|
openssl Launchpad, Ubuntu, Debian |
trusty |
Released
(1.0.1f-1ubuntu2.27+esm2)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
upstream |
Released
(1.1.1j)
|
|
bionic |
Released
(1.1.1-1ubuntu2.1~18.04.8)
|
|
focal |
Released
(1.1.1f-1ubuntu2.2)
|
|
groovy |
Released
(1.1.1f-1ubuntu4.2)
|
|
xenial |
Released
(1.0.2g-1ubuntu4.19)
|
|
Patches: upstream: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=122a19ab48091c657f7cb1fb3af9fc07bd557bbf |
||
openssl1.0 Launchpad, Ubuntu, Debian |
bionic |
Released
(1.0.2n-1ubuntu5.6)
|
focal |
Does not exist
|
|
groovy |
Does not exist
|
|
trusty |
Does not exist
|
|
upstream |
Released
(1.0.2y)
|
|
xenial |
Does not exist
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.9 |
Attack vector | Network |
Attack complexity | High |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |