Skip to content
Noroxi
NVD / CVE Program· CNA openssl

CVE-2021-23841: Null pointer deref in X509_issuer_and_serial_hash()

Noroxi assessment

Priority: Monitor (action score 25/100)

  • Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
  • Probability of exploitation in the next 30 days: 7.4% (FIRST EPSS); higher than 94.4% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: edk2-ovmf (AlmaLinux:8) 20210527gite1999b264f1f-3.el8; openssl (Alpine:v3.10) 1.1.1j-r0; openssl3 (Alpine:v3.15) 1.1.1j-r0.
  • Mentioned 6 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to edk2-ovmf (AlmaLinux:8) 20210527gite1999b264f1f-3.el8; openssl (Alpine:v3.10) 1.1.1j-r0; openssl3 (Alpine:v3.15) 1.1.1j-r0 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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

MediumCVSS 5.9 · v3.1—Proof of concept Fix available
Published
Feb 16, 2021
Updated
Jun 16, 2026
EPSS
7.4% · 94th percentile

Report tools

JSON

Action score

25

Monitor

Low priority for now.

CVSS
23 / 40 · 5.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 7.4%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2021-23841

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
opensslopenssl
debiandebian linux
tenablenessus network monitor
tenabletenable.sc
applesafari
appleipados
appleiphone os
applemacos
netapponcommand insight
netapponcommand workflow automation
netappsnapcenter
oraclebusiness intelligence

and 11 more

Check your server's TLS configuration

The OpenSSL version can't be seen from outside; the free SSL checker tests your certificate, enabled TLS versions and weak ciphers. Confirm the version on your server with the package manager.

Run the SSL check

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • oracle mysql serverbefore 5.7.33
  • oracle mysql server8.0.15 and later · before 8.0.23

Versions reported by the vendor

Affected version ranges reported by the assigning authority (openssl). Independent of NVD's CPE analysis and usually ahead of it.

  • OpenSSL OpenSSL

    • 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)affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8edk2-ovmfbefore 20210527gite1999b264f1f-3.el820210527gite1999b264f1f-3.el8
Alpine:v3.10opensslfrom 1.0.2 · before 1.1.1j-r01.1.1j-r0
Alpine:v3.15openssl3before 1.1.1j-r01.1.1j-r0
Alpine:v3.17openssl1.1-compatbefore 1.1.1j-r01.1.1j-r0
crates.ioopenssl-srcfrom 0.0.0-0 · before 111.14.0111.14.0
crates.ioopenssl-srcbefore 111.14.0111.14.0
Debian:10opensslbefore 1.1.1d-0+deb10u51.1.1d-0+deb10u5
Debian:12opensslbefore 1.1.1j-11.1.1j-1
Debian:9opensslbefore 1.1.0l-1~deb9u31.1.0l-1~deb9u3
Debian:9openssl1.0before 1.0.2u-1~deb9u41.0.2u-1~deb9u4
openSUSE:Leap 15.2openssl-1_0_0before 1.0.2p-lp152.8.12.11.0.2p-lp152.8.12.1
openSUSE:Leap 15.2openssl-1_1before 1.1.1d-lp152.7.12.11.1.1d-lp152.7.12.1
Red Hat:enterprise_linux:7::clientopensslbefore 1:1.0.2k-22.el7_91:1.0.2k-22.el7_9
Red Hat:enterprise_linux:7::clientopenssl-debuginfobefore 1:1.0.2k-22.el7_91:1.0.2k-22.el7_9
Red Hat:enterprise_linux:7::clientopenssl-develbefore 1:1.0.2k-22.el7_91:1.0.2k-22.el7_9
Red Hat:enterprise_linux:7::clientopenssl-libsbefore 1:1.0.2k-22.el7_91:1.0.2k-22.el7_9
Red Hat:enterprise_linux:7::clientopenssl-perlbefore 1:1.0.2k-22.el7_91:1.0.2k-22.el7_9
Red Hat:enterprise_linux:7::clientopenssl-staticbefore 1:1.0.2k-22.el7_91:1.0.2k-22.el7_9
Red Hat:enterprise_linux:8::appstreamedk2before 0:20210527gite1999b264f1f-3.el80:20210527gite1999b264f1f-3.el8
Red Hat:enterprise_linux:8::appstreamedk2-aarch64before 0:20210527gite1999b264f1f-3.el80:20210527gite1999b264f1f-3.el8
Red Hat:enterprise_linux:8::appstreamedk2-ovmfbefore 0:20210527gite1999b264f1f-3.el80:20210527gite1999b264f1f-3.el8
Red Hat:enterprise_linux:8::baseosopensslbefore 1:1.1.1k-4.el81:1.1.1k-4.el8
Red Hat:enterprise_linux:8::baseosopenssl-debuginfobefore 1:1.1.1k-4.el81:1.1.1k-4.el8
Red Hat:enterprise_linux:8::baseosopenssl-debugsourcebefore 1:1.1.1k-4.el81:1.1.1k-4.el8

+96

Other highest-scoring records for the same primary product.

  • CVE-2014-0160The (1) TLS and (2) DTLS implementations in OpenSSL 1.0.1 before 1.0.1g do not properly handle Heartbeat Extension packets, which allows remKEV
    90Now
  • CVE-2021-3711SM2 Decryption Buffer Overflow
    65This week
  • CVE-2003-0545Double free vulnerability in OpenSSL 0.9.7 allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code
    65This week

Published before and after this one in the same product

  • ← EarlierCVE-2021-23839Feb 16, 2021 · Incorrect SSLv2 rollback protection
    15Monitor
  • ← EarlierCVE-2021-23840Feb 16, 2021 · Integer overflow in CipherUpdate
    45Plan
  • Later →CVE-2021-3449Mar 25, 2021 · NULL pointer deref in signature_algorithms processing
    42Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:edk2-ovmf20210527gite1999b264f1f-3.el8 · AlmaLinux:8Package registry (OSV)
alpine:openssl1.1.1j-r0 · Alpine:v3.10Package registry (OSV)
alpine:openssl1.1-compat1.1.1j-r0 · Alpine:v3.17Package registry (OSV)
alpine:openssl31.1.1j-r0 · Alpine:v3.15Package registry (OSV)
crates.io:openssl-src111.14.0Package registry (OSV)
debian:openssl1.1.1j-1 · Debian:12Package registry (OSV)
debian:openssl1.01.0.2u-1~deb9u4 · Debian:9Package registry (OSV)
opensuse:openssl-1_0_01.0.2p-lp152.8.12.1 · openSUSE:Leap 15.2Package registry (OSV)
opensuse:openssl-1_11.1.1d-lp152.7.12.1 · openSUSE:Leap 15.2Package registry (OSV)
red hat:edk20:20210527gite1999b264f1f-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:edk2-aarch640:20210527gite1999b264f1f-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:edk2-ovmf0:20210527gite1999b264f1f-3.el8 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:jbcs-httpd24-apr0:1.6.3-107.jbcs.el7 · Red Hat:jboss_core_services:1::el7Package registry (OSV)
red hat:openssl1:1.0.2k-22.el7_9 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssl-debuginfo1:1.0.2k-22.el7_9 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssl-debugsource1:1.1.1k-4.el8 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:openssl-devel1:1.0.2k-22.el7_9 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssl-libs1:1.0.2k-22.el7_9 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssl-libs-debuginfo1:1.1.1k-4.el8 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:openssl-perl1:1.0.2k-22.el7_9 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssl-static1:1.0.2k-22.el7_9 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
rocky linux:edk20:20210527gite1999b264f1f-3.el8 · Rocky Linux:8Package registry (OSV)
rocky linux:openssl1:1.1.1k-4.el8 · Rocky Linux:8Package registry (OSV)
suse:compat-openssl0980.9.8j-106.24.1 · SUSE:Linux Enterprise Module for Legacy 12Package registry (OSV)
suse:openssl1.0.2j-60.66.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)
suse:openssl-1_0_01.0.2p-3.36.1 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openssl-1_11.1.1d-2.30.1 · SUSE:OpenStack Cloud 9Package registry (OSV)
suse:openssl11.0.1g-0.58.33.1 · SUSE:Linux Enterprise Server 11-SECURITYPackage registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Proof-of-concept repository on GitHub ×2

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Proof-of-concept repository on GitHubstars:02022-04-29
Proof-of-concept repository on GitHubstars:02022-08-05

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+436 d
  3. TodayNov 9, 2026+2092 d

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

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

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records