CVE-2021-23841

Null pointer deref in X509_issuer_and_serial_hash()

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).


We have discovered 128,184 live websites that are affected by CVE-2021-23841.

Run a Free Instant Scan




Affected Software

Product  OpenSSL
Category Web Server Extensions
Vulnerable Domains128,184 live websites (26% of OpenSSL install base)
Vulnerable Versions
  • from 1.1.1 through 1.1.1
Vulnerable Versions Count1 versions ( 1.37% of all versions)



Details

  • Published - Feb 16, 2021
  • Updated - Sep 16, 2024

Credits

  • Tavis Ormandy (Google)

Website Distribution by Country

Number of websites using CVE-2021-23841
United States39,600 websites



Japan15,682 websites
Germany6,042 websites
China5,998 websites
Canada4,417 websites
France4,365 websites
Russia4,344 websites
Norway3,475 websites
Czech Republic2,512 websites

Website Distribution by TLD

Number of websites using CVE-2021-23841
.com57,232 websites
.org7,554 websites
.net5,565 websites
.ru3,993 websites
.edu3,497 websites
.jp3,250 websites
.de2,678 websites
.ca2,235 websites
.cz2,089 websites
.it1,952 websites

Vulnerable Versions

Vulnerable versions are highlighted in red

Websites affected by CVE-2021-23841

Top websites that are affected by CVE-2021-23841. Please click on the "Contact us" link to get more information.
DomainCountryRankContacts
*****.cz Czech Republic*,***
******.********.***.uk GB*,***
**.***.edu United States*,***
***********************.com United States*,***
***.***.edu United States*,***
*********.io United States*,***
*******.info France*,***
**.******.edu United States*,***
********.jp Japan*,***
********.org Germany*,***
See full domain list

FAQ

A total of 128,184 websites have been identified as vulnerable to CVE-2021-23841, based on global website indexing conducted by WebTechSurvey.
The OpenSSL is affected by the CVE-2021-23841 vulnerability.
OpenSSL versions up to and including 1.1.1 are vulnerable to CVE-2021-23841.

References