CVE-2021-23841
MEDIUM 5.9CVSS 3.1Integer Overflow in openssl-src
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).
- Published
- 16 Feb 2021
- Last modified
- 17 Jun 2026
- Assigned by
- openssl-security@openssl.org
- NVD status
- Modified
- Weakness
- CWE-190CWE-476
- Also known as
- GHSA-84rm-qf37-fgc2RUSTSEC-2021-0058
- Sources
- NVDJSONOSV GHSA-84rm-qf37-fgc2JSONOSV RUSTSEC-2021-0058JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openssl | opensslcpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |
>= 1.0.2, < 1.0.2y | 1.0.2y |
| NVD | openssl | opensslcpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:* |
>= 1.1.1, < 1.1.1j | 1.1.1j |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| NVD | tenable | nessus_network_monitorcpe:2.3:a:tenable:nessus_network_monitor:5.11.0:*:*:*:*:*:*:* |
= 5.11.0 | |
| NVD | tenable | nessus_network_monitorcpe:2.3:a:tenable:nessus_network_monitor:5.11.1:*:*:*:*:*:*:* |
= 5.11.1 | |
| NVD | tenable | nessus_network_monitorcpe:2.3:a:tenable:nessus_network_monitor:5.12.0:*:*:*:*:*:*:* |
= 5.12.0 | |
| NVD | tenable | nessus_network_monitorcpe:2.3:a:tenable:nessus_network_monitor:5.12.1:*:*:*:*:*:*:* |
= 5.12.1 | |
| NVD | tenable | nessus_network_monitorcpe:2.3:a:tenable:nessus_network_monitor:5.13.0:*:*:*:*:*:*:* |
= 5.13.0 | |
| NVD | tenable | tenable.sccpe:2.3:a:tenable:tenable.sc:*:*:*:*:*:*:*:* |
>= 5.13.0, <= 5.17.0 | |
| NVD | apple | safaricpe:2.3:a:apple:safari:*:*:*:*:*:*:*:* |
< 14.1.1 | 14.1.1 |
| NVD | apple | ipadoscpe:2.3:o:apple:ipados:*:*:*:*:*:*:*:* |
< 14.6 | 14.6 |
| NVD | apple | iphone_oscpe:2.3:o:apple:iphone_os:*:*:*:*:*:*:*:* |
< 14.6 | 14.6 |
| NVD | apple | macoscpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* |
>= 11.1, < 11.4 | 11.4 |
| NVD | netapp | oncommand_insightcpe:2.3:a:netapp:oncommand_insight:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | oncommand_workflow_automationcpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | netapp | snapcentercpe:2.3:a:netapp:snapcenter:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | oracle | business_intelligencecpe:2.3:a:oracle:business_intelligence:5.5.0.0.0:*:*:*:enterprise:*:*:* |
= 5.5.0.0.0 | |
| NVD | oracle | business_intelligencecpe:2.3:a:oracle:business_intelligence:5.9.0.0.0:*:*:*:enterprise:*:*:* |
= 5.9.0.0.0 | |
| NVD | oracle | business_intelligencecpe:2.3:a:oracle:business_intelligence:12.2.1.3.0:*:*:*:enterprise:*:*:* |
= 12.2.1.3.0 | |
| NVD | oracle | business_intelligencecpe:2.3:a:oracle:business_intelligence:12.2.1.4.0:*:*:*:enterprise:*:*:* |
= 12.2.1.4.0 | |
| NVD | oracle | communications_cloud_native_core_policycpe:2.3:a:oracle:communications_cloud_native_core_policy:1.15.0:*:*:*:*:*:*:* |
= 1.15.0 | |
| NVD | oracle | enterprise_manager_for_storage_managementcpe:2.3:a:oracle:enterprise_manager_for_storage_management:13.4.0.0:*:*:*:*:*:*:* |
= 13.4.0.0 | |
| NVD | oracle | enterprise_manager_ops_centercpe:2.3:a:oracle:enterprise_manager_ops_center:12.4.0.0:*:*:*:*:*:*:* |
= 12.4.0.0 | |
| NVD | oracle | essbasecpe:2.3:a:oracle:essbase:21.2:*:*:*:*:*:*:* |
= 21.2 | |
| NVD | oracle | graalvmcpe:2.3:a:oracle:graalvm:19.3.5:*:*:*:enterprise:*:*:* |
= 19.3.5 | |
| NVD | oracle | graalvmcpe:2.3:a:oracle:graalvm:20.3.1.2:*:*:*:enterprise:*:*:* |
= 20.3.1.2 | |
| NVD | oracle | graalvmcpe:2.3:a:oracle:graalvm:21.0.0.2:*:*:*:enterprise:*:*:* |
= 21.0.0.2 | |
| NVD | oracle | jd_edwards_world_securitycpe:2.3:a:oracle:jd_edwards_world_security:a9.4:*:*:*:*:*:*:* |
= a9.4 | |
| NVD | oracle | mysql_enterprise_monitorcpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:* |
< 8.0.23 | 8.0.23 |
| NVD | oracle | mysql_servercpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:* |
< 5.7.33 | 5.7.33 |
| NVD | oracle | mysql_servercpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:* |
>= 8.0.15, < 8.0.23 | 8.0.23 |
| NVD | oracle | peoplesoft_enterprise_peopletoolscpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.57:*:*:*:*:*:*:* |
= 8.57 | |
| NVD | oracle | peoplesoft_enterprise_peopletoolscpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.58:*:*:*:*:*:*:* |
= 8.58 | |
| NVD | oracle | peoplesoft_enterprise_peopletoolscpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:8.59:*:*:*:*:*:*:* |
= 8.59 | |
| NVD | oracle | zfs_storage_appliance_kitcpe:2.3:a:oracle:zfs_storage_appliance_kit:8.8:*:*:*:*:*:*:* |
= 8.8 | |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:*:*:*:*:*:*:*:* |
< 1.0 | 1.0 |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:1.0:-:*:*:*:*:*:* |
= 1.0 | |
| NVD | siemens | sinec_inscpe:2.3:a:siemens:sinec_ins:1.0:sp1:*:*:*:*:*:* |
= 1.0 | |
| OSV | crates.io | openssl-src | < 111.14.0 | 111.14.0 |
| OSV | crates.io | openssl-src | >= 0.0.0-0, < 111.14.0 | 111.14.0 |
References
- http://seclists.org/fulldisclosure/2021/May/67 · Mailing List, Third Party Advisory, WEB
- http://seclists.org/fulldisclosure/2021/May/68 · Mailing List, Third Party Advisory, WEB
- http://seclists.org/fulldisclosure/2021/May/70 · Mailing List, Third Party Advisory, WEB
- https://cert-portal.siemens.com/productcert/pdf/ssa-637483.pdf · Patch, Third Party Advisory, WEB
- 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 · Third Party Advisory, WEB
- https://security.gentoo.org/glsa/202103-03 · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210219-0009/ · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20210513-0002/ · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://support.apple.com/kb/HT212528 · Third Party Advisory, WEB
- https://support.apple.com/kb/HT212529 · Third Party Advisory, WEB
- https://support.apple.com/kb/HT212534 · Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-4855 · Third Party Advisory, WEB
- https://www.openssl.org/news/secadv/20210216.txt · Vendor Advisory, WEB
- https://www.oracle.com//security-alerts/cpujul2021.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuApr2021.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuapr2022.html · Patch, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuoct2021.html · Patch, Third Party Advisory, WEB
- https://www.tenable.com/security/tns-2021-03 · Third Party Advisory, WEB
- https://www.tenable.com/security/tns-2021-09 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23841 · ADVISORY
- https://rustsec.org/advisories/RUSTSEC-2021-0058.html · WEB, ADVISORY
- https://rustsec.org/advisories/RUSTSEC-2021-0058 · WEB
- https://github.com/alexcrichton/openssl-src-rs · PACKAGE
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9b1129239f3ebb1d1c98ce9ed41d5c9476c47cb2 · WEB
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8252ee4d90f3f2004d3d0aeeed003ad49c9a7807 · WEB
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=6a51b9e1d0cf0bf8515f7201b68fb0a3482b3dc1 · WEB
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=122a19ab48091c657f7cb1fb3af9fc07bd557bbf · WEB
- https://crates.io/crates/openssl-src · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 16 Feb 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 May 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)