CVE-2021-3450: CA certificate check bypass with X509_V_FLAG_X509_STRICT

Published Mar 25, 2021
·
Updated

OpenSSL could allow a remote attacker to bypass security restrictions, caused by a a missing check in the validation logic of X.509 certificate chains by the X509VFLAGX509STRICT flag. By using any valid certificate or certificate chain to sign a specially crafted certificate, an attacker could bypass the check that non-CA certificates must not be able to issue other certificates and override the default purpose.

Other sources

The X509VFLAGX509STRICT flag enables additional security checks of the certificates present in a certificate chain. It is not set by default. Starting from OpenSSL version 1.1.1h a check to disallow certificates in the chain that have explicitly encoded elliptic curve parameters was added as an additional strict check. An error in the implementation of this check meant that the result of a previous check to confirm that certificates in the chain are valid CA certificates was overwritten. This effectively bypasses the check that non-CA certificates must not be able to issue other certificates. If a "purpose" has been configured then there is a subsequent opportunity for checks that the certificate is a valid CA. All of the named "purpose" values implemented in libcrypto perform this check. Therefore, where a purpose is set the certificate chain will still be rejected even when the strict flag has been used. A purpose is set by default in libssl client and server certificate verification routines, but it can be overridden or removed by an application. In order to be affected, an application must explicitly set the X509VFLAGX509STRICT verification flag and either not set a purpose for the certificate verification or, in the case of TLS client or server applications, override the default purpose. OpenSSL versions 1.1.1h and newer are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1k. OpenSSL 1.0.2 is not impacted by this issue. Fixed in OpenSSL 1.1.1k (Affected 1.1.1h-1.1.1j).

Affected Software

64 affected componentsFixes available
rust/openssl-src>=111.11.0<111.15.0
111.15.0
IBM Security Verify Bridge<=All
OpenSSL OpenSSL>=1.1.1h<1.1.1k
FreeBSD FreeBSD=12.2
FreeBSD FreeBSD=12.2-p1
FreeBSD FreeBSD=12.2-p2
NetApp Santricity Smi-s Provider Firmware
NetApp Santricity Smi-s Provider
NetApp Storagegrid Firmware
NetApp Storagegrid
Windriver Linux
Windriver Linux=17.0
Windriver Linux=18.0
Windriver Linux=19.0
NetApp Cloud Volumes Ontap Mediator
NetApp OnCommand Workflow Automation
NetApp ONTAP Select Deploy administration utility
NetApp Storagegrid
Fedoraproject Fedora=34
Tenable Nessus<=8.13.1
Tenable Nessus Agent>=8.2.1<=8.2.3
Tenable Nessus Network Monitor=5.11.0
Tenable Nessus Network Monitor=5.11.1
Tenable Nessus Network Monitor=5.12.0
Tenable Nessus Network Monitor=5.12.1
Tenable Nessus Network Monitor=5.13.0
Oracle Commerce Guided Search=11.3.2
Oracle Enterprise Manager For Storage Management=13.4.0.0
Oracle GraalVM=19.3.5
Oracle GraalVM=20.3.1.2
Oracle GraalVM=21.0.0.2
Oracle JD Edwards EnterpriseOne Tools<9.2.6.0
Oracle Jd Edwards World Security=a9.4
Oracle MySQL Connectors<=8.0.23
Oracle MySQL Enterprise Monitor<=8.0.23
Oracle MySQL Server<=5.7.33
Oracle MySQL Server>=8.0.15<=8.0.23
Oracle MySQL Workbench<=8.0.23
Oracle PeopleSoft Enterprise PeopleTools>=8.57<=8.59
Oracle Secure Backup<18.1.0.1.0
Oracle Secure Global Desktop=5.6
Oracle WebLogic Server=12.2.1.4.0
Oracle WebLogic Server=14.1.1.0.0
McAfee Web Gateway=8.2.19
McAfee Web Gateway=9.2.10
McAfee Web Gateway=10.1.1
McAfee Web Gateway Cloud Service=8.2.19
McAfee Web Gateway Cloud Service=9.2.10
McAfee Web Gateway Cloud Service=10.1.1
SonicWall Sma100 Firmware<10.2.1.0-17sv
SonicWall SMA100
SonicWall Capture Client<3.6.24
SonicWall Email Security<10.0.11
SonicWall SonicOS<=7.0.1-r1456
Nodejs Node.js>=10.0.0<10.24.1
Nodejs Node.js>=12.0.0<12.22.1
Nodejs Node.js>=14.0.0<14.16.1
Nodejs Node.js>=15.0.0<15.14.0
All of the following
NetApp Santricity Smi-s Provider Firmware
NetApp Santricity Smi-s Provider
All of the following
NetApp Storagegrid Firmware
NetApp Storagegrid
All of the following
SonicWall Sma100 Firmware<10.2.1.0-17sv
SonicWall SMA100

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/openssl-src to a version that resolves this vulnerability.

    Fixed in 111.15.0
  2. Upgrade

    Upgrade OpenSSL to a version that resolves this vulnerability.

    Fixed in 1.1.1k
  3. Configuration

    Ensure the application does not explicitly set the X509_V_FLAG_X509_STRICT verification flag in affected OpenSSL versions, since the bypass is possible only when this flag is set and a purpose is not set or is overridden.

    OpenSSL certificate verification (X509_V_FLAG_X509_STRICT) X509_V_FLAG_X509_STRICT = do not enable

Event History

Mar 25, 2021
CVE Published
via MITRE·02:25 PM
Data Sourced
via MITRE·02:25 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 25, 2021
Advisory Published
08:54 PM

Parent advisories

This vulnerability appears in the following advisories.

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 severity of CVE-2021-3450?

CVE-2021-3450 is classified as critical due to its potential to allow remote attackers to bypass security restrictions.

2

How do I fix CVE-2021-3450?

To fix CVE-2021-3450, update OpenSSL to version 1.1.1k or higher, or apply patches provided by software vendors utilizing the affected libraries.

3

What systems are affected by CVE-2021-3450?

CVE-2021-3450 affects various versions of OpenSSL prior to 1.1.1k, and systems including IBM Security Verify Bridge and multiple embedded Linux distributions.

4

What type of vulnerability is CVE-2021-3450?

CVE-2021-3450 is an authentication bypass vulnerability that stems from a missing check in the validation logic of X.509 certificate chains.

5

Can CVE-2021-3450 be exploited remotely?

Yes, CVE-2021-3450 can be exploited remotely by attackers who manage to sign a specially crafted certificate.

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