Skip to content
Vulnerability Intelligence

CVE-2021-4044

High

Invalid handling of X509_verify_cert() internal errors in libssl

Published Dec 15, 2021 · Updated Sep 8, 2026 · Also known as ALPINE-CVE-2021-4044, BIT-node-2021-4044, BIT-node-min-2021-4044, GHSA-mmjf-f5jw-w72q, RUSTSEC-2021-0129, UBUNTU-CVE-2021-4044

Key Facts

Patch immediately
  • CVE-2021-4044 is a high-severity vulnerability (CVSS 7.5 v3.1) affecting Cloud Backup (Netapp), E-Series Performance Analyzer (Netapp), Ontap Select Deploy Administration Utility (Netapp) and 22 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
  • EPSS estimates a 50% probability of exploitation in the next 30 days.
  • Fixed versions are available, including libopenssl-3-devel 3.0.1-1.1, libopenssl-3-devel-32bit 3.0.1-1.1, libopenssl3 3.0.1-1.1.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

7.5

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

EPSS (30-day exploit likelihood)

50%

Higher than 98.8% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

None known

Get the full CVE-2021-4044 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

Internally libssl in OpenSSL calls X509_verify_cert() on the client side to verify a certificate supplied by a server. That function may return a negative return value to indicate an internal error (for example out of memory). Such a negative return value is mishandled by OpenSSL and will cause an IO function (such as SSL_connect() or SSL_do_handshake()) to not indicate success and a subsequent call to SSL_get_error() to return the value SSL_ERROR_WANT_RETRY_VERIFY. This return value is only supposed to be returned by OpenSSL if the application has previously called SSL_CTX_set_cert_verify_callback(). Since most applications do not do this the SSL_ERROR_WANT_RETRY_VERIFY return value from SSL_get_error() will be totally unexpected and applications may not behave correctly as a result. The exact behaviour will depend on the application but it could result in crashes, infinite loops or other similar incorrect responses. This issue is made more serious in combination with a separate bug in OpenSSL 3.0 that will cause X509_verify_cert() to indicate an internal error when processing a certificate chain. This will occur where a certificate does not include the Subject Alternative Name extension but where a Certificate Authority has enforced name constraints. This issue can occur even with valid chains. By combining the two issues an attacker could induce incorrect, application dependent behaviour. Fixed in OpenSSL 3.0.1 (Affected 3.0.0).

Affected Products

57 affected entries in total
ProductAffected versionsFixed in
Cloud BackupNetappSee advisoryn/a
E-Series Performance AnalyzerNetappSee advisoryn/a
Ontap Select Deploy Administration UtilityNetappSee advisoryn/a
SnapcenterNetappSee advisoryn/a
Node.jsNodejsSee advisory17.3.0
20 more affected products in the full CVE brief

Patched Releases

libopenssl-3-devel

3.0.1-1.1

libopenssl-3-devel-32bit

3.0.1-1.1

libopenssl3

3.0.1-1.1

libopenssl3-32bit

3.0.1-1.1

node

17.3.0

node-min

17.3.0

Node.js

17.3.0

OpenSSL

1.0.2s, 1.1.1t-r35341999, 3.0.0-2.ph4, 3.0.1-0ubuntu1, 3.0.1-r0, 1.0.2

openssl-3

3.0.1-1.1

openssl-3-doc

3.0.1-1.1

openssl-c_rehash

3.0.0-2.ph4

openssl-devel

3.0.0-2.ph4

openssl-docs

3.0.0-2.ph4

openssl-perl

3.0.0-2.ph4

openssl-src

300.0.4

openssl3

3.0.1-r0, 3.0.2-r0

rootio-openssl

3.0.1-r0

seal-openssl

1.1.1t-r35341999

Timeline

  1. Publicly disclosed

    Dec 15, 2021

  2. Last updated

    Sep 8, 2026

Weakness Type

  • CWE-252 Unchecked Return Value
  • CWE-835 Loop with Unreachable Exit Condition ('Infinite Loop')

References

7 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2021-4044 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo