CVE & CISA-KEV Catalog

CVE-2021-23841

MEDIUMEPSS 94th pctl
5.9
CVSS v3
NVD

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

How to fix

Remediation Available
opensslDebian
Fixed in:1.1.1j-1CVE-2021-23841
Fixed in:1.1.1j-1CVE-2021-23841
Fixed in:1.1.1j-1CVE-2021-23841
Fixed in:1.1.1j-1CVE-2021-23841
libssl1.0.0Ubuntu
Fixed in:1.0.1f-1ubuntu2.27+esm2USN-4745-1
Fixed in:1.0.2g-1ubuntu4.19USN-4738-1
Fixed in:1.0.2n-1ubuntu5.6USN-4738-1
libssl1.1Ubuntu
Fixed in:1.1.1-1ubuntu2.1~18.04.8USN-4738-1
Fixed in:1.1.1f-1ubuntu2.2USN-4738-1
opensslUbuntu
Fixed in:1.0.1f-1ubuntu2.27+esm2USN-4745-1
Fixed in:1.0.2g-1ubuntu4.19USN-4738-1
Fixed in:1.1.1-1ubuntu2.1~18.04.8USN-4738-1
Fixed in:1.1.1f-1ubuntu2.2USN-4738-1
openssl1.0Ubuntu
Fixed in:1.0.2n-1ubuntu5.6USN-4738-1
SafariWindows application
Affected:14.1.1Fixed in:14.1.1Apple Inc.

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

7.47%probability of exploitation in 30 days
94thpercentile

High risk: more likely to be exploited than 94% of all known CVEs.

References

Related Vulnerabilities

Other CWE-476 (NULL Pointer Dereference) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2023-21758High7.592%-Fix
CVE-2023-21547High7.588%-Fix
CVE-2014-3470Medium4.386%-Fix
CVE-2021-44224High8.282%-Fix
CVE-2016-0742High7.582%-Fix
CVE-2009-1386Medium5.080%-Fix
Embed a live status badge for CVE-2021-23841
CVE-2021-23841 severity badge

Markdown

[![CVE-2021-23841](https://tridentstack.com/cve/badge/CVE-2021-23841.svg)](https://tridentstack.com/cve/CVE-2021-23841)

HTML

<a href="https://tridentstack.com/cve/CVE-2021-23841"><img src="https://tridentstack.com/cve/badge/CVE-2021-23841.svg" alt="CVE-2021-23841"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.