CVE-2021-4044: Invalid handling of X509_verify_cert() internal errors in libssl

Published Dec 14, 2021
·
Updated

Internally libssl in OpenSSL calls X509verifycert() 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 SSLconnect() or SSLdohandshake()) to not indicate success and a subsequent call to SSLgeterror() to return the value SSLERRORWANTRETRYVERIFY. This return value is only supposed to be returned by OpenSSL if the application has previously called SSLCTXsetcertverifycallback(). Since most applications do not do this the SSLERRORWANTRETRYVERIFY return value from SSLgeterror() 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 X509verifycert() 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 Software

53 affected componentsFixes available
rust/openssl-src>=300.0.0<300.0.4
300.0.4
OpenSSL OpenSSL<1.0.2
OpenSSL OpenSSL=1.1.0
OpenSSL OpenSSL=3.0.0
NetApp Cloud Backup
NetApp E-series Performance Analyzer
NetApp ONTAP Select Deploy administration utility
NetApp Snapcenter
NetApp A250
NetApp A250 Firmware
NetApp 500f
NetApp 500f Firmware
NetApp H500s
NetApp H500s Firmware
NetApp H700s
NetApp H700s Firmware
NetApp H300e
NetApp H300e Firmware
NetApp H500e
NetApp H500e Firmware
NetApp H700e
NetApp H700e Firmware
NetApp H410s Firmware
NetApp H410s
NetApp H410c Firmware
NetApp H410c
NetApp H300s Firmware
NetApp H300s
Nodejs Node.js>=17.0.0<17.3.0
All of the following
NetApp A250 Firmware
NetApp A250
All of the following
NetApp 500f Firmware
NetApp 500f
All of the following
NetApp H500s Firmware
NetApp H500s
All of the following
NetApp H700s Firmware
NetApp H700s
All of the following
NetApp H300e Firmware
NetApp H300e
All of the following
NetApp H500e Firmware
NetApp H500e
All of the following
NetApp H700e Firmware
NetApp H700e
All of the following
NetApp H410s Firmware
NetApp H410s
All of the following
NetApp H410c Firmware
NetApp H410c
All of the following
NetApp H300s Firmware
NetApp H300s
NetApp Baseboard Management Controller A250 Firmware
NetApp Baseboard Management Controller A250
NetApp Baseboard Management Controller 500f Firmware
NetApp Baseboard Management Controller 500f

Event History

Dec 14, 2021
CVE Published
via MITRE·06:40 PM
Data Sourced
via MITRE·06:40 PM
DescriptionWeakness
Dec 15, 2021
Advisory Published
12:00 AM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID of this issue?

The vulnerability ID is CVE-2021-4044.

2

What is the severity of CVE-2021-4044?

The severity of CVE-2021-4044 is high, with a severity value of 7.5.

3

Which software versions are affected by CVE-2021-4044?

OpenSSL versions 1.0.2, 1.1.0, and 3.0.0, as well as Netapp Cloud Backup, Netapp E-series Performance Analyzer, NetApp ONTAP Select Deploy administration utility, and Netapp Snapcenter are affected by CVE-2021-4044.

4

How can CVE-2021-4044 be fixed?

To fix CVE-2021-4044, it is recommended to update to a non-vulnerable version of OpenSSL or the affected software.

5

Where can I find more information about CVE-2021-4044?

More information about CVE-2021-4044 can be found in the references provided: <ul><li><a href='https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=758754966791c537ea95241438454aa86f91f256'>OpenSSL Commit</a></li><li><a href='https://security.netapp.com/advisory/ntap-20211229-0003/'>Netapp Advisory</a></li><li><a href='https://www.openssl.org/news/secadv/20211214.txt'>OpenSSL Security Advisory</a></li></ul>

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203