CA certificate check bypass with X509_V_FLAG_X509_STRICT
Description
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).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
An error in OpenSSL's X509_V_FLAG_X509_STRICT implementation bypasses CA certificate validation, allowing non-CA certificates to issue certificates under specific conditions.
Vulnerability
CVE-2021-3450 is an error in the implementation of a security check introduced in OpenSSL 1.1.1h. The X509_V_FLAG_X509_STRICT flag enables additional certificate chain checks, including a new check that disallows certificates with explicitly encoded elliptic curve parameters. However, the code mistakenly overwrites the result of a prior check that verifies certificates in the chain are valid CA certificates [1]. This flaw allows non-CA certificates to be incorrectly accepted as issuers of other certificates when the strict flag is used.
Exploitation
Exploitation requires an application to explicitly set the X509_V_FLAG_X509_STRICT verification flag and either not set a certificate verification purpose or, for TLS client/server applications, override the default purpose [1]. By default, libssl sets a purpose, which includes a subsequent CA check that still rejects non-CA certificates. Thus, the vulnerability only affects custom applications or those that disable the default purpose [2]. An attacker would need a valid non-CA certificate (e.g., an end-entity certificate) and craft a chain that includes that certificate in an issuing role.
Impact
A successful attack permits a non-CA certificate to act as a certificate authority, meaning it could sign certificates for arbitrary entities [2]. This could undermine trust in TLS connections or other PKI-dependent operations, potentially enabling man-in-the-middle attacks or issuance of fraudulent certificates.
Mitigation
The vulnerability affects OpenSSL versions 1.1.1h through 1.1.1j. It was fixed in OpenSSL 1.1.1k [1]. OpenSSL 1.0.2 is not impacted. Users should upgrade to 1.1.1k or apply a vendor-specific patch. FreeBSD released an advisory with patches [4], and Cisco provided guidance for affected products [2]. No workaround exists other than avoiding the use of the strict flag without a purpose.
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
openssl-srccrates.io | >= 111.11.0, < 111.15.0 | 111.15.0 |
Affected products
27- osv-coords26 versionspkg:bitnami/nodepkg:bitnami/node-minpkg:cargo/openssl-srcpkg:rpm/opensuse/nodejs10&distro=openSUSE%20Leap%2015.2pkg:rpm/opensuse/nodejs10&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/nodejs12&distro=openSUSE%20Leap%2015.2pkg:rpm/opensuse/nodejs12&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/openssl-1_1&distro=openSUSE%20Tumbleweedpkg:rpm/suse/nodejs10&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/suse/nodejs10&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/nodejs10&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/nodejs10&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/nodejs10&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/nodejs10&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2012pkg:rpm/suse/nodejs10&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015%20SP2pkg:rpm/suse/nodejs10&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/nodejs10&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/nodejs10&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/nodejs10&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/nodejs10&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/nodejs10&distro=SUSE%20Manager%20Proxy%204.0pkg:rpm/suse/nodejs10&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.0pkg:rpm/suse/nodejs10&distro=SUSE%20Manager%20Server%204.0pkg:rpm/suse/nodejs12&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2012pkg:rpm/suse/nodejs12&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015%20SP2pkg:rpm/suse/nodejs12&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Web%20and%20Scripting%2015%20SP3
>= 10.0.0, < 10.24.1+ 25 more
- (no CPE)range: >= 10.0.0, < 10.24.1
- (no CPE)range: >= 10.0.0, < 10.24.1
- (no CPE)range: >= 111.11.0, < 111.15.0
- (no CPE)range: < 10.24.1-lp152.2.15.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 12.22.2-lp152.3.15.1
- (no CPE)range: < 12.22.2-4.16.1
- (no CPE)range: < 1.1.1l-1.2
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.39.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 10.24.1-1.36.1
- (no CPE)range: < 12.22.2-1.32.1
- (no CPE)range: < 12.22.2-4.16.1
- (no CPE)range: < 12.22.2-4.16.1
- Range: Fixed in OpenSSL 1.1.1k (Affected 1.1.1h-1.1.1j)
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
30- github.com/advisories/GHSA-8hfj-xrj2-pm22ghsaADVISORY
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CCBFLLVQVILIVGZMBJL3IXZGKWQISYNP/mitrevendor-advisoryx_refsource_FEDORA
- nvd.nist.gov/vuln/detail/CVE-2021-3450ghsaADVISORY
- security.gentoo.org/glsa/202103-03ghsavendor-advisoryx_refsource_GENTOOWEB
- tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-openssl-2021-GHY28dJdghsavendor-advisoryx_refsource_CISCOWEB
- www.openwall.com/lists/oss-security/2021/03/27/1ghsamailing-listx_refsource_MLISTWEB
- www.openwall.com/lists/oss-security/2021/03/27/2ghsamailing-listx_refsource_MLISTWEB
- www.openwall.com/lists/oss-security/2021/03/28/3ghsamailing-listx_refsource_MLISTWEB
- www.openwall.com/lists/oss-security/2021/03/28/4ghsamailing-listx_refsource_MLISTWEB
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdfghsax_refsource_CONFIRMWEB
- git.openssl.org/gitweb/mitrex_refsource_CONFIRM
- git.openssl.org/gitweb/ghsaWEB
- kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44845ghsax_refsource_CONFIRMWEB
- kc.mcafee.com/corporate/indexghsax_refsource_CONFIRMWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CCBFLLVQVILIVGZMBJL3IXZGKWQISYNPghsaWEB
- mta.openssl.org/pipermail/openssl-announce/2021-March/000198.htmlghsax_refsource_MISCWEB
- psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0013ghsax_refsource_CONFIRMWEB
- rustsec.org/advisories/RUSTSEC-2021-0056.htmlghsaWEB
- security.freebsd.org/advisories/FreeBSD-SA-21:07.openssl.ascghsax_refsource_MISCWEB
- security.netapp.com/advisory/ntap-20210326-0006ghsaWEB
- security.netapp.com/advisory/ntap-20210326-0006/mitrex_refsource_CONFIRM
- www.openssl.org/news/secadv/20210325.txtghsax_refsource_CONFIRMWEB
- www.oracle.com//security-alerts/cpujul2021.htmlghsax_refsource_MISCWEB
- www.oracle.com/security-alerts/cpuApr2021.htmlghsax_refsource_MISCWEB
- www.oracle.com/security-alerts/cpuapr2022.htmlghsax_refsource_MISCWEB
- www.oracle.com/security-alerts/cpujul2022.htmlghsax_refsource_MISCWEB
- www.oracle.com/security-alerts/cpuoct2021.htmlghsax_refsource_MISCWEB
- www.tenable.com/security/tns-2021-05ghsax_refsource_CONFIRMWEB
- www.tenable.com/security/tns-2021-08ghsax_refsource_CONFIRMWEB
- www.tenable.com/security/tns-2021-09ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.