CVE-2021-3450
CA certificate check bypass with X509_V_FLAG_X509_STRICT
Reported by openssl · Published March 25, 2021
openssl-src is fixed in 111.15.0 (crates.io)
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openssl-src | crates.io | 111.15.0 |
| openssl | Arch Linux | 1.1.1.k-1 |
| openssl11 | Amazon Linux | 1:1.1.1g-12.amzn2.0.3 |
| node-min | Bitnami | 15.14.0, 14.16.1, 12.22.1, 10.24.1 |
| node | Bitnami | 15.14.0, 14.16.1, 12.22.1, 10.24.1 |
| edk2-tools-python | Amazon Linux | 20200801stable-1.amzn2.0.5 |
| openssl1.1-compat | Alpine | 1.1.1k-r0 |
| edk2-tools-doc | Amazon Linux | 20200801stable-1.amzn2.0.5 |
| edk2-tools | Amazon Linux | 20200801stable-1.amzn2.0.5 |
| mysql_workbench | oracle | 8.0.23 |
| alpine/nodejs-22 | alpine | 15.14.0, 14.16.1, 12.22.1, 10.24.1 |
| alpine/nodejs-24 | alpine | 15.14.0, 14.16.1, 12.22.1, 10.24.1 |
9 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenSSL | OpenSSL | Fixed in OpenSSL 1.1.1k (Affected 1.1.1h-1.1.1j) |
| arch | openssl | 0 |
| amazon:2 | openssl11 | 0 |
| amazon:2 | edk2-tools-python | 0 |
| alpine | openssl1.1-compat | 0 |
| amazon:2 | edk2-tools-doc | 0 |
| amazon:2 | edk2-tools | 0 |
| OpenSSL | OpenSSL | 1.1.1 |
| amazon:2 | openssl11-devel | 0 |
| amazon:2 | edk2-ovmf | 0 |
| amazon:2 | openssl11-static | 0 |
| alpine | openssl | 0 |
| crates.io | openssl-src | 111.11.0 |
| PyPI | mysql-connector-python | 0 |
| Maven | mysql-connector-java | 0 |
| amazon:2 | openssl11-libs | 0 |
| ConanCenter | openssl | 1.1.1h |
| alpine | openssl3 | 0 |
| amazon:2 | edk2-aarch64 | 0 |
Timeline
- Mar 25, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Jan 21, 2025 CVE Updated
- Apr 3, 2025 PoC Published
- Mar 18, 2026 Security Advisory (63 in total, the first dated here)
- Mar 23, 2026 Distribution Patch (51 in total, the first dated here)
- Jul 29, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3450
vulnetix vdb fixes CVE-2021-3450
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3450/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 20210325 Multiple Vulnerabilities in OpenSSL Affecting Cisco Products: March 2021 vendor-advisoryx_refsource_CISCO
- [oss-security] 20210327 OpenSSL 1.1.1 CVE-2021-3450 CA certificate check bypass with X509_V_FLAG_X509_STRICT, CVE-2021-3449 NULL pointer deref in signature_algorithms processing mailing-listx_refsource_MLIST
- [oss-security] 20210327 Re: OpenSSL 1.1.1 CVE-2021-3450 CA certificate check bypass with X509_V_FLAG_X509_STRICT, CVE-2021-3449 NULL pointer deref in signature_algorithms processing mailing-listx_refsource_MLIST
- [oss-security] 20210328 Re: OpenSSL 1.1.1 CVE-2021-3450 CA certificate check bypass with X509_V_FLAG_X509_STRICT, CVE-2021-3449 NULL pointer deref in signature_algorithms processing mailing-listx_refsource_MLIST
- [oss-security] 20210328 Re: OpenSSL 1.1.1 CVE-2021-3450 CA certificate check bypass with X509_V_FLAG_X509_STRICT, CVE-2021-3449 NULL pointer deref in signature_algorithms processing mailing-listx_refsource_MLIST
- GLSA-202103-03 vendor-advisoryx_refsource_GENTOO
- FEDORA-2021-cbf14ab8f9 vendor-advisoryx_refsource_FEDORA
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_CONFIRM
…and 12 more