CVE-2021-23841: Null pointer deref in X509_issuer_and_serial_hash()

Published Feb 16, 2021
·
Updated

Last updated 24 July 2024

Other sources

Null pointer deref in X509issuerandserialhash()

— Microsoft

OpenSSL is vulnerable to a denial of service, caused by a NULL pointer dereference in the X509issuerandserialhash() function. By parsing the issuer field, an attacker could exploit this vulnerability to cause the application to crash.

— IBM

The OpenSSL public API function X509issuerandserialhash() 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.

WebRTC. A null pointer dereference was addressed with improved input validation.

Credit

Tavis Ormandy(Google)

Affected Software

93 affected componentsFixes available
redhat/jbcs-httpd24-apr<0:1.6.3-107.el8
0:1.6.3-107.el8
redhat/jbcs-httpd24-apr-util<0:1.6.1-84.el8
0:1.6.1-84.el8
redhat/jbcs-httpd24-curl<0:7.78.0-2.el8
0:7.78.0-2.el8
redhat/jbcs-httpd24-httpd<0:2.4.37-78.el8
0:2.4.37-78.el8
redhat/jbcs-httpd24-nghttp2<0:1.39.2-39.el8
0:1.39.2-39.el8
redhat/jbcs-httpd24-openssl<1:1.1.1g-8.el8
1:1.1.1g-8.el8
redhat/jbcs-httpd24-openssl-chil<0:1.0.0-7.el8
0:1.0.0-7.el8
redhat/jbcs-httpd24-openssl-pkcs11<0:0.4.10-22.el8
0:0.4.10-22.el8
redhat/jbcs-httpd24-apr<0:1.6.3-107.jbcs.el7
0:1.6.3-107.jbcs.el7
redhat/jbcs-httpd24-apr-util<0:1.6.1-84.jbcs.el7
0:1.6.1-84.jbcs.el7
redhat/jbcs-httpd24-curl<0:7.78.0-2.jbcs.el7
0:7.78.0-2.jbcs.el7
redhat/jbcs-httpd24-httpd<0:2.4.37-78.jbcs.el7
0:2.4.37-78.jbcs.el7
redhat/jbcs-httpd24-nghttp2<0:1.39.2-39.jbcs.el7
0:1.39.2-39.jbcs.el7
redhat/jbcs-httpd24-openssl<1:1.1.1g-8.jbcs.el7
1:1.1.1g-8.jbcs.el7
redhat/jbcs-httpd24-openssl-chil<0:1.0.0-7.jbcs.el7
0:1.0.0-7.jbcs.el7
redhat/jbcs-httpd24-openssl-pkcs11<0:0.4.10-22.jbcs.el7
0:0.4.10-22.jbcs.el7
redhat/openssl<1:1.0.2k-22.el7_9
1:1.0.2k-22.el7_9
redhat/edk2<0:20210527gite1999b264f1f-3.el8
0:20210527gite1999b264f1f-3.el8
redhat/openssl<1:1.1.1k-4.el8
1:1.1.1k-4.el8
redhat/jws5-tomcat<0:9.0.50-3.redhat_00004.1.el7
0:9.0.50-3.redhat_00004.1.el7
redhat/jws5-tomcat-native<0:1.2.30-3.redhat_3.el7
0:1.2.30-3.redhat_3.el7
redhat/jws5-tomcat-vault<0:1.1.8-4.Final_redhat_00004.1.el7
0:1.1.8-4.Final_redhat_00004.1.el7
redhat/jws5-tomcat<0:9.0.50-3.redhat_00004.1.el8
0:9.0.50-3.redhat_00004.1.el8
redhat/jws5-tomcat-native<0:1.2.30-3.redhat_3.el8
0:1.2.30-3.redhat_3.el8
redhat/jws5-tomcat-vault<0:1.1.8-4.Final_redhat_00004.1.el8
0:1.1.8-4.Final_redhat_00004.1.el8
Apple macOS Big Sur<11.4
11.4
IBM Security Verify Bridge<=All
Apple Safari<14.1.1
14.1.1
Apple iOS<14.6
14.6
Apple iPadOS<14.6
14.6
OpenSSL OpenSSL>=1.0.2<1.0.2y
OpenSSL OpenSSL>=1.1.1<1.1.1j
Debian Debian Linux=10.0
Tenable Nessus Network Monitor=5.11.0
Tenable Nessus Network Monitor=5.11.1
Tenable Nessus Network Monitor=5.12.0
Tenable Nessus Network Monitor=5.12.1
Tenable Nessus Network Monitor=5.13.0
Tenable Tenable.Sc>=5.13.0<=5.17.0
Apple Safari<14.1.1
Apple iPadOS<14.6
Apple iPhone OS<14.6
Apple macOS>=11.1<11.4
NetApp OnCommand Insight
NetApp OnCommand Workflow Automation
NetApp Snapcenter
Oracle Business Intelligence=5.5.0.0.0
Oracle Business Intelligence=5.9.0.0.0
Oracle Business Intelligence=12.2.1.3.0
Oracle Business Intelligence=12.2.1.4.0
Oracle Communications Cloud Native Core Policy=1.15.0
Oracle Enterprise Manager For Storage Management=13.4.0.0
Oracle Enterprise Manager Ops Center=12.4.0.0
Oracle Essbase=21.2
Oracle GraalVM=19.3.5
Oracle GraalVM=20.3.1.2
Oracle GraalVM=21.0.0.2
Oracle Jd Edwards World Security=a9.4
Oracle MySQL Enterprise Monitor<8.0.23
Oracle MySQL Server<5.7.33
Oracle MySQL Server>=8.0.15<8.0.23
Oracle PeopleSoft Enterprise PeopleTools=8.57
Oracle PeopleSoft Enterprise PeopleTools=8.58
Oracle PeopleSoft Enterprise PeopleTools=8.59
Oracle ZFS Storage Appliance Kit=8.8
Siemens Sinec Ins<1.0
Siemens Sinec Ins=1.0
Siemens Sinec Ins=1.0-sp1
Microsoft azl3 shim-unsigned-aarch64 15.8-5
Microsoft azl3 shim-unsigned-x64 15.8-5
redhat/openssl<1.1.1
1.1.1
redhat/openssl<1.0.2
1.0.2
debian/openssl
3.0.20-1~deb12u23.0.22-1~deb12u23.5.7-1~deb13u23.5.7-1~deb13u33.6.5-1
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl>=1.0.2<1.1.1j-r0
1.1.1j-r0
alpine/openssl1.1-compat<1.1.1j-r0
1.1.1j-r0
alpine/openssl1.1-compat<1.1.1j-r0
1.1.1j-r0
alpine/openssl3<1.1.1j-r0
1.1.1j-r0
alpine/openssl3<1.1.1j-r0
1.1.1j-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/jbcs-httpd24-apr to a version that resolves this vulnerability.

    Fixed in 0:1.6.3-107.el8
  2. Upgrade

    Upgrade redhat/jbcs-httpd24-apr-util to a version that resolves this vulnerability.

    Fixed in 0:1.6.1-84.el8
  3. Upgrade

    Upgrade redhat/jbcs-httpd24-curl to a version that resolves this vulnerability.

    Fixed in 0:7.78.0-2.el8
  4. Upgrade

    Upgrade redhat/jbcs-httpd24-httpd to a version that resolves this vulnerability.

    Fixed in 0:2.4.37-78.el8
  5. Upgrade

    Upgrade redhat/jbcs-httpd24-nghttp2 to a version that resolves this vulnerability.

    Fixed in 0:1.39.2-39.el8
  6. Upgrade

    Upgrade redhat/jbcs-httpd24-openssl to a version that resolves this vulnerability.

    Fixed in 1:1.1.1g-8.el8
  7. Upgrade

    Upgrade redhat/jbcs-httpd24-openssl-chil to a version that resolves this vulnerability.

    Fixed in 0:1.0.0-7.el8
  8. Upgrade

    Upgrade redhat/jbcs-httpd24-openssl-pkcs11 to a version that resolves this vulnerability.

    Fixed in 0:0.4.10-22.el8
  9. Upgrade

    Upgrade redhat/jbcs-httpd24-apr to a version that resolves this vulnerability.

    Fixed in 0:1.6.3-107.jbcs.el7
  10. Upgrade

    Upgrade redhat/jbcs-httpd24-apr-util to a version that resolves this vulnerability.

    Fixed in 0:1.6.1-84.jbcs.el7
  11. Upgrade

    Upgrade redhat/jbcs-httpd24-curl to a version that resolves this vulnerability.

    Fixed in 0:7.78.0-2.jbcs.el7
  12. Upgrade

    Upgrade redhat/jbcs-httpd24-httpd to a version that resolves this vulnerability.

    Fixed in 0:2.4.37-78.jbcs.el7
  13. Upgrade

    Upgrade redhat/jbcs-httpd24-nghttp2 to a version that resolves this vulnerability.

    Fixed in 0:1.39.2-39.jbcs.el7
  14. Upgrade

    Upgrade redhat/jbcs-httpd24-openssl to a version that resolves this vulnerability.

    Fixed in 1:1.1.1g-8.jbcs.el7
  15. Upgrade

    Upgrade redhat/jbcs-httpd24-openssl-chil to a version that resolves this vulnerability.

    Fixed in 0:1.0.0-7.jbcs.el7
  16. Upgrade

    Upgrade redhat/jbcs-httpd24-openssl-pkcs11 to a version that resolves this vulnerability.

    Fixed in 0:0.4.10-22.jbcs.el7
  17. Upgrade

    Upgrade redhat/openssl to a version that resolves this vulnerability.

    Fixed in 1:1.0.2k-22.el7_9
  18. Upgrade

    Upgrade redhat/edk2 to a version that resolves this vulnerability.

    Fixed in 0:20210527gite1999b264f1f-3.el8
  19. Upgrade

    Upgrade redhat/openssl to a version that resolves this vulnerability.

    Fixed in 1:1.1.1k-4.el8
  20. Upgrade

    Upgrade redhat/jws5-tomcat to a version that resolves this vulnerability.

    Fixed in 0:9.0.50-3.redhat_00004.1.el7
  21. Upgrade

    Upgrade redhat/jws5-tomcat-native to a version that resolves this vulnerability.

    Fixed in 0:1.2.30-3.redhat_3.el7
  22. Upgrade

    Upgrade redhat/jws5-tomcat-vault to a version that resolves this vulnerability.

    Fixed in 0:1.1.8-4.Final_redhat_00004.1.el7
  23. Upgrade

    Upgrade redhat/jws5-tomcat to a version that resolves this vulnerability.

    Fixed in 0:9.0.50-3.redhat_00004.1.el8
  24. Upgrade

    Upgrade redhat/jws5-tomcat-native to a version that resolves this vulnerability.

    Fixed in 0:1.2.30-3.redhat_3.el8
  25. Upgrade

    Upgrade redhat/jws5-tomcat-vault to a version that resolves this vulnerability.

    Fixed in 0:1.1.8-4.Final_redhat_00004.1.el8
  26. Upgrade

    Upgrade Apple macOS to a version that resolves this vulnerability.

    Fixed in 11.4
  27. Upgrade

    Upgrade Safari to a version that resolves this vulnerability.

    Fixed in 14.1.1
  28. Upgrade

    Upgrade Apple iOS and iPadOS to a version that resolves this vulnerability.

    Fixed in 14.6
  29. Upgrade

    Upgrade Apple iOS, iPadOS, and macOS to a version that resolves this vulnerability.

    Fixed in 14.6
  30. Upgrade

    Upgrade redhat/openssl to a version that resolves this vulnerability.

    Fixed in 1.1.1
  31. Upgrade

    Upgrade redhat/openssl to a version that resolves this vulnerability.

    Fixed in 1.0.2
  32. Upgrade

    Upgrade debian/openssl to a version that resolves this vulnerability.

    Fixed in 3.0.20-1~deb12u2Fixed in 3.0.22-1~deb12u2Fixed in 3.5.7-1~deb13u2Fixed in 3.5.7-1~deb13u3Fixed in 3.6.5-1
  33. Upgrade

    Upgrade alpine/openssl to a version that resolves this vulnerability.

    Fixed in 1.1.1j-r0
  34. Upgrade

    Upgrade alpine/openssl1.1-compat to a version that resolves this vulnerability.

    Fixed in 1.1.1j-r0
  35. Upgrade

    Upgrade alpine/openssl3 to a version that resolves this vulnerability.

    Fixed in 1.1.1j-r0
  36. Upgrade

    Upgrade OpenSSL to a version that resolves this vulnerability.

    Fixed in 1.1.1j
  37. Upgrade

    Upgrade OpenSSL to a version that resolves this vulnerability.

    Fixed in 1.0.2y

Event History

Feb 16, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·04:55 PM
Data Sourced
via MITRE·04:55 PM
DescriptionWeakness
Data Sourced
via NVD·05:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·05:15 PM
DescriptionSeverityAffected Software
Feb 18, 2021
Data Sourced
via Red Hat·04:49 PM
DescriptionSeverityAffected Software
Apr 29, 2022
Exploit Published
via GitHub·10:16 AM
Sep 3, 2025
Data Sourced
via Microsoft·10:33 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is CVE-2021-23841?

CVE-2021-23841 is a vulnerability that involves a null pointer dereference in the OpenSSL public API function X509_issuer_and_serial_hash().

2

What is the severity of CVE-2021-23841?

The severity of CVE-2021-23841 is medium with a CVSS score of 5.9.

3

How does CVE-2021-23841 affect Safari?

CVE-2021-23841 may affect Safari users, but it is recommended to refer to Apple's support page for specific information and remedies.

4

How do I fix CVE-2021-23841 on Red Hat products?

To fix CVE-2021-23841 on Red Hat products, update the affected packages to the specified versions provided by Red Hat.

5

What are the references for CVE-2021-23841?

The references for CVE-2021-23841 can be found at the following URLs: 1. [Apple Support - HT212529](https://support.apple.com/en-us/HT212529) 2. [Apple Support - HT212534](https://support.apple.com/en-us/HT212534) 3. [Apple Support - HT212528](https://support.apple.com/en-us/HT212528)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203