CVE-2021-23841
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).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
openssl-srccrates.io | < 111.14.0 | 111.14.0 |
Affected products
64- ghsa-coords63 versionspkg:cargo/openssl-srcpkg:rpm/almalinux/edk2-ovmfpkg:rpm/opensuse/openssl-1_0_0&distro=openSUSE%20Leap%2015.2pkg:rpm/opensuse/openssl-1_0_0&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/openssl-1_1&distro=openSUSE%20Leap%2015.2pkg:rpm/opensuse/openssl-1_1&distro=openSUSE%20Tumbleweedpkg:rpm/suse/compat-openssl098&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Legacy%2012pkg:rpm/suse/compat-openssl098&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/compat-openssl098&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/compat-openssl098&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/compat-openssl098&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Legacy%2015%20SP2pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Manager%20Proxy%204.0pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.0pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20Manager%20Server%204.0pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/openssl-1_0_0&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209pkg:rpm/suse/openssl-1_1&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20Micro%205.0pkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP2pkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP4-LTSSpkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5pkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP4pkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5pkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/openssl-1_1&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP5pkg:rpm/suse/openssl-1_1&distro=SUSE%20Manager%20Proxy%204.0pkg:rpm/suse/openssl-1_1&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.0pkg:rpm/suse/openssl-1_1&distro=SUSE%20Manager%20Server%204.0pkg:rpm/suse/openssl-1_1&distro=SUSE%20OpenStack%20Cloud%209pkg:rpm/suse/openssl-1_1&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209pkg:rpm/suse/openssl1&distro=SUSE%20Linux%20Enterprise%20Server%2011-SECURITYpkg:rpm/suse/openssl&distro=HPE%20Helion%20OpenStack%208pkg:rpm/suse/openssl&distro=SUSE%20Linux%20Enterprise%20Point%20of%20Sale%2011%20SP3pkg:rpm/suse/openssl&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4-LTSSpkg:rpm/suse/openssl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-BCLpkg:rpm/suse/openssl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2-LTSSpkg:rpm/suse/openssl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-BCLpkg:rpm/suse/openssl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3-LTSSpkg:rpm/suse/openssl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/openssl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/openssl&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/openssl&distro=SUSE%20OpenStack%20Cloud%208pkg:rpm/suse/openssl&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208
< 111.14.0+ 62 more
- (no CPE)range: < 111.14.0
- (no CPE)range: < 20210527gite1999b264f1f-3.el8
- (no CPE)range: < 1.0.2p-lp152.8.12.1
- (no CPE)range: < 1.0.2u-6.2
- (no CPE)range: < 1.1.1d-lp152.7.12.1
- (no CPE)range: < 1.1.1l-1.2
- (no CPE)range: < 0.9.8j-106.24.1
- (no CPE)range: < 0.9.8j-106.24.1
- (no CPE)range: < 0.9.8j-106.24.1
- (no CPE)range: < 0.9.8j-106.24.1
- (no CPE)range: < 0.9.8j-106.24.1
- (no CPE)range: < 1.0.2p-3.37.1
- (no CPE)range: < 1.0.2p-3.37.1
- (no CPE)range: < 1.0.2p-3.36.1
- (no CPE)range: < 1.0.2p-3.36.1
- (no CPE)range: < 1.0.2p-3.37.1
- (no CPE)range: < 1.0.2p-3.37.1
- (no CPE)range: < 1.0.2p-3.37.1
- (no CPE)range: < 1.0.2p-3.36.1
- (no CPE)range: < 1.0.2p-3.36.1
- (no CPE)range: < 1.0.2p-3.37.1
- (no CPE)range: < 1.0.2p-3.37.1
- (no CPE)range: < 1.0.2p-3.36.1
- (no CPE)range: < 1.0.2p-3.37.1
- (no CPE)range: < 1.0.2p-3.37.1
- (no CPE)range: < 1.0.2p-3.37.1
- (no CPE)range: < 1.0.2p-3.36.1
- (no CPE)range: < 1.0.2p-3.36.1
- (no CPE)range: < 1.1.0i-14.15.1
- (no CPE)range: < 1.1.0i-14.15.1
- (no CPE)range: < 1.1.0i-14.15.1
- (no CPE)range: < 1.1.0i-4.57.1
- (no CPE)range: < 1.1.0i-4.57.1
- (no CPE)range: < 1.1.1d-11.17.1
- (no CPE)range: < 1.1.1d-11.17.1
- (no CPE)range: < 1.1.1d-2.30.1
- (no CPE)range: < 1.1.1d-2.30.1
- (no CPE)range: < 1.1.0i-14.15.1
- (no CPE)range: < 1.1.0i-14.15.1
- (no CPE)range: < 1.1.0i-4.57.1
- (no CPE)range: < 1.1.1d-2.30.1
- (no CPE)range: < 1.1.1d-2.30.1
- (no CPE)range: < 1.1.0i-4.57.1
- (no CPE)range: < 1.1.0i-14.15.1
- (no CPE)range: < 1.1.1d-2.30.1
- (no CPE)range: < 1.1.0i-14.15.1
- (no CPE)range: < 1.1.0i-14.15.1
- (no CPE)range: < 1.1.0i-14.15.1
- (no CPE)range: < 1.1.1d-2.30.1
- (no CPE)range: < 1.1.1d-2.30.1
- (no CPE)range: < 1.0.1g-0.58.33.1
- (no CPE)range: < 1.0.2j-60.66.1
- (no CPE)range: < 0.9.8j-0.106.37.1
- (no CPE)range: < 0.9.8j-0.106.37.1
- (no CPE)range: < 1.0.2j-60.66.1
- (no CPE)range: < 1.0.2j-60.66.1
- (no CPE)range: < 1.0.2j-60.66.1
- (no CPE)range: < 1.0.2j-60.66.1
- (no CPE)range: < 1.0.2j-60.66.1
- (no CPE)range: < 1.0.2j-60.66.1
- (no CPE)range: < 1.0.2j-60.66.1
- (no CPE)range: < 1.0.2j-60.66.1
- (no CPE)range: < 1.0.2j-60.66.1
- Range: Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i)
Patches
Vulnerability mechanics
References
32- cert-portal.siemens.com/productcert/pdf/ssa-637483.pdfnvdPatchThird Party AdvisoryWEB
- www.oracle.com//security-alerts/cpujul2021.htmlnvdPatchThird Party AdvisoryWEB
- www.oracle.com/security-alerts/cpuApr2021.htmlnvdPatchThird Party AdvisoryWEB
- www.oracle.com/security-alerts/cpuapr2022.htmlnvdPatchThird Party AdvisoryWEB
- www.oracle.com/security-alerts/cpuoct2021.htmlnvdPatchThird Party AdvisoryWEB
- seclists.org/fulldisclosure/2021/May/67nvdMailing ListThird Party AdvisoryWEB
- seclists.org/fulldisclosure/2021/May/68nvdMailing ListThird Party AdvisoryWEB
- seclists.org/fulldisclosure/2021/May/70nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-84rm-qf37-fgc2ghsaADVISORY
- kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44846nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2021-23841ghsaADVISORY
- security.gentoo.org/glsa/202103-03nvdThird Party AdvisoryWEB
- security.netapp.com/advisory/ntap-20210219-0009/nvdThird Party Advisory
- security.netapp.com/advisory/ntap-20210513-0002/nvdThird Party Advisory
- support.apple.com/kb/HT212528nvdThird Party AdvisoryWEB
- support.apple.com/kb/HT212529nvdThird Party AdvisoryWEB
- support.apple.com/kb/HT212534nvdThird Party AdvisoryWEB
- www.debian.org/security/2021/dsa-4855nvdThird Party AdvisoryWEB
- www.openssl.org/news/secadv/20210216.txtnvdVendor AdvisoryWEB
- www.tenable.com/security/tns-2021-03nvdThird Party AdvisoryWEB
- www.tenable.com/security/tns-2021-09nvdThird Party AdvisoryWEB
- git.openssl.org/gitweb/ghsaWEB
- git.openssl.org/gitweb/ghsaWEB
- git.openssl.org/gitweb/ghsaWEB
- git.openssl.org/gitweb/ghsaWEB
- rustsec.org/advisories/RUSTSEC-2021-0058ghsaWEB
- rustsec.org/advisories/RUSTSEC-2021-0058.htmlghsaWEB
- security.netapp.com/advisory/ntap-20210219-0009ghsaWEB
- security.netapp.com/advisory/ntap-20210513-0002ghsaWEB
- git.openssl.org/gitweb/nvd
- git.openssl.org/gitweb/nvd
- security.netapp.com/advisory/ntap-20240621-0006/nvd
News mentions
0No linked articles in our index yet.