CVE-2021-23841
publishedNull pointer deref in X509_issuer_and_serial_hash()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenSSL | — | OpenSSLFixed 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) | Affected | Not stated | openssl |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1608 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1612 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2024-2502 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | edk2-ovmf | Advisory build | 20210527gite1999b264f1f-3.el8 | ALSA-2021:4198 |
| Alpine Linux | edge | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Debian | buster | openssl | Advisory build | 1.1.1d-0+deb10u5 | DSA-4855-1 |
| Oracle Linux | 7 | opensslaarch64 | Advisory build | 10:1.0.2k-22.el7_9_fips | ELSA-2021-9528 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | opensslppc64 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Alpine Linux | v3.10 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.11 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.12 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.13 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.14 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.15 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.15 | openssl3 | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.16 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.16 | openssl3 | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.17 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.17 | openssl1.1-compat | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.18 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.18 | openssl1.1-compat | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.19 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.20 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.21 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.22 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.23 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.24 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Alpine Linux | v3.9 | openssl | Fixed | 1.1.1j-r0 | Package fix record |
| Debian | stretch | openssl | Advisory build | 1.1.0l-1~deb9u3 | DLA-2563-1 |
| Debian | stretch | openssl1.0 | Advisory build | 1.0.2u-1~deb9u4 | DLA-2565-1 |
| Oracle Linux | 7 | opensslaarch64 | Advisory build | 1:1.0.2k-22.el7_9 | ELSA-2021-3798 |
| Oracle Linux | 7 | opensslaarch64 | Advisory build | 2:1.0.2k-22.ksplice1.el7_9 | ELSA-2021-9478 |
| Oracle Linux | 7 | opensslx86_64 | Advisory build | 10:1.0.2k-22.el7_9_fips | ELSA-2021-9528 |
| Oracle Linux | 7 | opensslx86_64 | Advisory build | 1:1.0.2k-22.el7_9 | ELSA-2021-3798 |
| Oracle Linux | 7 | opensslx86_64 | Advisory build | 2:1.0.2k-22.ksplice1.el7_9 | ELSA-2021-9478 |
| Oracle Linux | 7 | openssl-develaarch64 | Advisory build | 10:1.0.2k-22.el7_9_fips | ELSA-2021-9528 |
| Oracle Linux | 7 | openssl-develaarch64 | Advisory build | 1:1.0.2k-22.el7_9 | ELSA-2021-3798 |
| Oracle Linux | 7 | openssl-develaarch64 | Advisory build | 2:1.0.2k-22.ksplice1.el7_9 | ELSA-2021-9478 |
| Oracle Linux | 7 | openssl-develx86_64 | Advisory build | 10:1.0.2k-22.el7_9_fips | ELSA-2021-9528 |
| Oracle Linux | 7 | openssl-develx86_64 | Advisory build | 1:1.0.2k-22.el7_9 | ELSA-2021-3798 |
| Oracle Linux | 7 | openssl-develx86_64 | Advisory build | 2:1.0.2k-22.ksplice1.el7_9 | ELSA-2021-9478 |
| Oracle Linux | 7 | openssl-libsaarch64 | Advisory build | 10:1.0.2k-22.el7_9_fips | ELSA-2021-9528 |
| Oracle Linux | 7 | openssl-libsaarch64 | Advisory build | 1:1.0.2k-22.el7_9 | ELSA-2021-3798 |
| Oracle Linux | 7 | openssl-libsaarch64 | Advisory build | 2:1.0.2k-22.ksplice1.el7_9 | ELSA-2021-9478 |
| Oracle Linux | 7 | openssl-libsx86_64 | Advisory build | 10:1.0.2k-22.el7_9_fips | ELSA-2021-9528 |
| Oracle Linux | 7 | openssl-libsx86_64 | Advisory build | 1:1.0.2k-22.el7_9 | ELSA-2021-3798 |
| Oracle Linux | 7 | openssl-libsx86_64 | Advisory build | 2:1.0.2k-22.ksplice1.el7_9 | ELSA-2021-9478 |
| Oracle Linux | 7 | openssl-perlaarch64 | Advisory build | 10:1.0.2k-22.el7_9_fips | ELSA-2021-9528 |
| Oracle Linux | 7 | openssl-perlaarch64 | Advisory build | 1:1.0.2k-22.el7_9 | ELSA-2021-3798 |
| Oracle Linux | 7 | openssl-perlaarch64 | Advisory build | 2:1.0.2k-22.ksplice1.el7_9 | ELSA-2021-9478 |
| Oracle Linux | 7 | openssl-perlx86_64 | Advisory build | 10:1.0.2k-22.el7_9_fips | ELSA-2021-9528 |
| Oracle Linux | 7 | openssl-perlx86_64 | Advisory build | 1:1.0.2k-22.el7_9 | ELSA-2021-3798 |
| Oracle Linux | 7 | openssl-perlx86_64 | Advisory build | 2:1.0.2k-22.ksplice1.el7_9 | ELSA-2021-9478 |
| Oracle Linux | 7 | openssl-staticaarch64 | Advisory build | 10:1.0.2k-22.el7_9_fips | ELSA-2021-9528 |
| Oracle Linux | 7 | openssl-staticaarch64 | Advisory build | 1:1.0.2k-22.el7_9 | ELSA-2021-3798 |
| Oracle Linux | 7 | openssl-staticaarch64 | Advisory build | 2:1.0.2k-22.ksplice1.el7_9 | ELSA-2021-9478 |
| Oracle Linux | 7 | openssl-staticx86_64 | Advisory build | 10:1.0.2k-22.el7_9_fips | ELSA-2021-9528 |
| Oracle Linux | 7 | openssl-staticx86_64 | Advisory build | 1:1.0.2k-22.el7_9 | ELSA-2021-3798 |
| Oracle Linux | 7 | openssl-staticx86_64 | Advisory build | 2:1.0.2k-22.ksplice1.el7_9 | ELSA-2021-9478 |
| Oracle Linux | 8 | opensslaarch64 | Advisory build | 1:1.1.1k-4.el8 | ELSA-2021-4424 |
| Oracle Linux | 8 | opensslaarch64 | Advisory build | 2:1.1.1k-4.ksplice1.el8 | ELSA-2021-9561 |
| Oracle Linux | 8 | opensslx86_64 | Advisory build | 1:1.1.1k-4.el8 | ELSA-2021-4424 |
| Oracle Linux | 8 | opensslx86_64 | Advisory build | 2:1.1.1k-4.ksplice1.el8 | ELSA-2021-9561 |
| Oracle Linux | 8 | openssl-debugsourceaarch64 | Advisory build | 2:1.1.1k-4.ksplice1.el8 | ELSA-2021-9561 |
| Oracle Linux | 8 | openssl-develaarch64 | Advisory build | 1:1.1.1k-4.el8 | ELSA-2021-4424 |
| Oracle Linux | 8 | openssl-develaarch64 | Advisory build | 2:1.1.1k-4.ksplice1.el8 | ELSA-2021-9561 |
| Oracle Linux | 8 | openssl-develx86_64 | Advisory build | 1:1.1.1k-4.el8 | ELSA-2021-4424 |
| Oracle Linux | 8 | openssl-develx86_64 | Advisory build | 2:1.1.1k-4.ksplice1.el8 | ELSA-2021-9561 |
| Oracle Linux | 8 | openssl-libsaarch64 | Advisory build | 1:1.1.1k-4.el8 | ELSA-2021-4424 |
| Oracle Linux | 8 | openssl-libsaarch64 | Advisory build | 2:1.1.1k-4.ksplice1.el8 | ELSA-2021-9561 |
| Oracle Linux | 8 | openssl-libsx86_64 | Advisory build | 1:1.1.1k-4.el8 | ELSA-2021-4424 |
| Oracle Linux | 8 | openssl-libsx86_64 | Advisory build | 2:1.1.1k-4.ksplice1.el8 | ELSA-2021-9561 |
| Oracle Linux | 8 | openssl-perlaarch64 | Advisory build | 1:1.1.1k-4.el8 | ELSA-2021-4424 |
| Oracle Linux | 8 | openssl-perlaarch64 | Advisory build | 2:1.1.1k-4.ksplice1.el8 | ELSA-2021-9561 |
| Oracle Linux | 8 | openssl-perlx86_64 | Advisory build | 1:1.1.1k-4.el8 | ELSA-2021-4424 |
| Oracle Linux | 8 | openssl-perlx86_64 | Advisory build | 2:1.1.1k-4.ksplice1.el8 | ELSA-2021-9561 |
| Oracle Linux | 8 | openssl-staticaarch64 | Advisory build | 2:1.1.1k-4.ksplice1.el8 | ELSA-2021-9561 |
| Red Hat Enterprise Linux | RHEL-7 | opensslppc64le | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssls390x | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | opensslsrc | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | opensslx86_64 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-debuginfoi686 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-debuginfoppc | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-debuginfoppc64 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-debuginfoppc64le | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-debuginfos390 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-debuginfos390x | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-debuginfox86_64 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-develi686 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-develppc | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-develppc64 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-develppc64le | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-devels390 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-devels390x | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-develx86_64 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-libsi686 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-libsppc | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-libsppc64 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-libsppc64le | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-libss390 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-libss390x | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-libsx86_64 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
| Red Hat Enterprise Linux | RHEL-7 | openssl-perlppc64 | Advisory build | 1:1.0.2k-22.el7_9 | RHSA-2021:3798 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenSSL | OpenSSL | Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i) (affected)Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x) (affected) | openssl · cna |
Weaknesses
1- NULL pointer dereference
References
22- 20210526 APPLE-SA-2021-05-25-1 iOS 14.6 and iPadOS 14.6 http://seclists.org/fulldisclosure/2021/May/67
- 20210526 APPLE-SA-2021-05-25-5 Safari 14.1.1 http://seclists.org/fulldisclosure/2021/May/68
- 20210526 APPLE-SA-2021-05-25-2 macOS Big Sur 11.4 http://seclists.org/fulldisclosure/2021/May/70
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=122a19ab48091c657f7cb1fb3af9fc07bd557bbf
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=8252ee4d90f3f2004d3d0aeeed003ad49c9a7807
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44846
- GLSA-202103-03 https://security.gentoo.org/glsa/202103-03
- https://security.netapp.com/advisory/ntap-20210219-0009/
- https://security.netapp.com/advisory/ntap-20210513-0002/
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://support.apple.com/kb/HT212528
- https://support.apple.com/kb/HT212529
- https://support.apple.com/kb/HT212534
- DSA-4855 https://www.debian.org/security/2021/dsa-4855
- https://www.openssl.org/news/secadv/20210216.txt
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://www.tenable.com/security/tns-2021-03
- https://www.tenable.com/security/tns-2021-09
Provider assertions
3openssl · cna
Null pointer deref in X509_issuer_and_serial_hash()
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ac68f32bdd2b436e2116effbbab2d1014dacff36ca368241c7c82353b553b12f
- Ingested
- 23 Sep 2026, 07:52:52 UTC
- Source record
- Official CVE record