Live threats

All CVEs / Openssl

CVE-2021-23841Openssl

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
7.5%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Feb 16, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-476
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Openssl.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io openssl-src < 111.14.0 111.14.0 cargo update -p openssl-src --precise 111.14.0
crates.io openssl-src ≥ 0.0.0-0 < 111.14.0 111.14.0 cargo update -p openssl-src --precise 111.14.0

Per OSV / GitHub Advisories (GHSA-84rm-qf37-fgc2, RUSTSEC-2021-0058). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
opensslopenssl≥ 1.0.2 < 1.0.2y
opensslopenssl≥ 1.1.1 < 1.1.1j
debiandebian_linux10.0
tenablenessus_network_monitor5.11.0
tenablenessus_network_monitor5.11.1
tenablenessus_network_monitor5.12.0
tenablenessus_network_monitor5.12.1
tenablenessus_network_monitor5.13.0
tenabletenable.sc≥ 5.13.0 ≤ 5.17.0
applesafari< 14.1.1
appleipados< 14.6
appleiphone_os< 14.6
applemacos≥ 11.1 < 11.4
netapponcommand_insightall
netapponcommand_workflow_automationall
netappsnapcenterall
oraclebusiness_intelligence5.5.0.0.0
oraclebusiness_intelligence5.9.0.0.0
oraclebusiness_intelligence12.2.1.3.0
oraclebusiness_intelligence12.2.1.4.0
oraclecommunications_cloud_native_core_policy1.15.0
oracleenterprise_manager_for_storage_management13.4.0.0
oracleenterprise_manager_ops_center12.4.0.0
oracleessbase21.2
oraclegraalvm19.3.5
oraclegraalvm20.3.1.2
oraclegraalvm21.0.0.2
oraclejd_edwards_world_securitya9.4
oraclemysql_enterprise_monitor< 8.0.23
oraclemysql_server< 5.7.33
oraclemysql_server≥ 8.0.15 < 8.0.23
oraclepeoplesoft_enterprise_peopletools8.57
oraclepeoplesoft_enterprise_peopletools8.58
oraclepeoplesoft_enterprise_peopletools8.59
oraclezfs_storage_appliance_kit8.8
siemenssinec_ins< 1.0
siemenssinec_ins1.0
siemenssinec_ins1.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.