CVEfocus › CVE database › CVE-2021-3450

CVE-2021-3450CA certificate check bypass with X509_V_FLAG_X509_STRICT

CVSS 7.4 HighEPSS 21.2% (higher than 98% of CVEs)Published 2021-03-25Updated 2026-10-08Assigner: openssl

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

What to do

Likely to be exploited: EPSS gives a 21% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian, Red Hat, Rocky Linux, crates.io: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

29Fixed
1Fix pending
19Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04edk2Not affected
vulnerable_code_not_present
Ubuntu 16.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 16.04opensslNot affected
vulnerable_code_not_present
Ubuntu 14.04edk2Fix pending
Debian 14opensslFixed1.1.1k-1DEBIAN-CVE-2021-3450
Debian 13opensslFixed1.1.1k-1DEBIAN-CVE-2021-3450
Debian 12opensslFixed1.1.1k-1DEBIAN-CVE-2021-3450
Red Hat Enterprise Linux 9opensslNot affected
Red Hat Enterprise Linux 9openssl-develNot affected
Red Hat Enterprise Linux 9openssl-libsNot affected
Red Hat Enterprise Linux 9openssl-perlNot affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8opensslFixed1:1.1.1g-15.el8_3RHSA-2021:1024
Red Hat Enterprise Linux 8openssl-develFixed1:1.1.1g-15.el8_3RHSA-2021:1024
Red Hat Enterprise Linux 8openssl-libsFixed1:1.1.1g-15.el8_3RHSA-2021:1024
Red Hat Enterprise Linux 8openssl-perlFixed1:1.1.1g-15.el8_3RHSA-2021:1024
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7openssl-develNot affected
Red Hat Enterprise Linux 7openssl-libsNot affected
Red Hat Enterprise Linux 7openssl-perlNot affected
Red Hat Enterprise Linux 7openssl-staticNot affected
Red Hat Enterprise Linux 7openssl098eNot affected
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 6openssl-develNot affected
Red Hat Enterprise Linux 6openssl-perlNot affected
Red Hat Enterprise Linux 6openssl-staticNot affected
Red Hat Enterprise Linux 6openssl098eNot affected
Rocky Linux 8opensslFixed1:1.1.1g-15.el8_3RLSA-2021:1024
Alpine Linux 3.24opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.23opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.22opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.21opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.20opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.19opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.18opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.18openssl1.1-compatFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.17opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.17openssl1.1-compatFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.16opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.16openssl3Fixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.15opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.15openssl3Fixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.14opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.13opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.12opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.11opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.10opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
Alpine Linux 3.9opensslFixed1.1.1k-r0ALPINE-CVE-2021-3450
crates.io libraryopenssl-srcFixed111.15.0RUSTSEC-2021-0056

What the vendor says

As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.