cve.bz

CVE-2021-3450 Improper Certificate Validation

7.4 highEPSS 18%Fix available

High (7.4). EPSS 18% estimated probability of exploitation activity in the next 30 days. Fixed in openssl-src 111.15.0.

On this page
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).

Severity

CVSS 3.1

7.4 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
18% (unchanged from 18% a week ago; 18% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-295 Improper Certificate Validation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3450 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3450?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3450?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3450 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-3450

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-3450](https://cve.bz/cve/badge/CVE-2021-3450.svg)](https://cve.bz/cve/CVE-2021-3450)

HTML:

<a href="https://cve.bz/cve/CVE-2021-3450"><img src="https://cve.bz/cve/badge/CVE-2021-3450.svg" alt="CVE-2021-3450"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openssl:opensslfrom 1.1.1h before 1.1.1k
freebsd:freebsd12.2
freebsd:freebsd12.2:p1
freebsd:freebsd12.2:p2
windriver:linux17.0
windriver:linux18.0
windriver:linux19.0
fedoraproject:fedora34
tenable:nessusthrough 8.13.1
tenable:nessus_agentfrom 8.2.1 through 8.2.3
tenable:nessus_network_monitor5.11.0
tenable:nessus_network_monitor5.11.1
tenable:nessus_network_monitor5.12.0
tenable:nessus_network_monitor5.12.1
tenable:nessus_network_monitor5.13.0
oracle:commerce_guided_search11.3.2
oracle:enterprise_manager_for_storage_management13.4.0.0
oracle:graalvm19.3.5
oracle:graalvm20.3.1.2
oracle:graalvm21.0.0.2
oracle:jd_edwards_enterpriseone_toolsbefore 9.2.6.0
oracle:jd_edwards_world_securitya9.4
oracle:mysql_connectorsthrough 8.0.23
oracle:mysql_enterprise_monitorthrough 8.0.23
oracle:mysql_serverthrough 5.7.33
oracle:mysql_serverfrom 8.0.15 through 8.0.23
oracle:mysql_workbenchthrough 8.0.23
oracle:peoplesoft_enterprise_peopletoolsfrom 8.57 through 8.59
oracle:secure_backupbefore 18.1.0.1.0
oracle:secure_global_desktop5.6
oracle:weblogic_server12.2.1.4.0
oracle:weblogic_server14.1.1.0.0
mcafee:web_gateway8.2.19
mcafee:web_gateway9.2.10
mcafee:web_gateway10.1.1
mcafee:web_gateway_cloud_service8.2.19
mcafee:web_gateway_cloud_service9.2.10
mcafee:web_gateway_cloud_service10.1.1
sonicwall:sma100_firmwarebefore 10.2.1.0-17sv
sonicwall:capture_clientbefore 3.6.24
sonicwall:email_securitybefore 10.0.11
sonicwall:sonicosthrough 7.0.1-r1456
nodejs:node.jsfrom 10.0.0 before 10.24.1
nodejs:node.jsfrom 12.0.0 before 12.22.1
nodejs:node.jsfrom 14.0.0 before 14.16.1
nodejs:node.jsfrom 15.0.0 before 15.14.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8hfj-xrj2-pm22crates.ioopenssl-src>=111.11.0 <111.15.0111.15.0
RUSTSEC-2021-0056crates.ioopenssl-src>=111.11.0 <111.15.0111.15.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14openssl1.1.1k-1DEBIAN-CVE-2021-3450
Red Hatenterprise_linux:8::baseosopenssl, openssl-libs, openssl-perl and 4 more1:1.1.1g-15.el8_3RHSA-2021:1024
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.37-70.jbcs.el7RHSA-2021:1199
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_cluster-native, jbcs-httpd24-mod_cluster-native-debuginfo0:1.3.14-20.Final_redhat_2.jbcs.el7RHSA-2021:1199
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.7-14.jbcs.el7RHSA-2021:1199
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-manual and 1 more0:1.2.48-13.redhat_1.jbcs.el7RHSA-2021:1199
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_md, jbcs-httpd24-mod_md-debuginfo1:2.0.8-33.jbcs.el7RHSA-2021:1199
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_security, jbcs-httpd24-mod_security-debuginfo0:2.9.2-60.GA.jbcs.el7RHSA-2021:1199
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.37-70.jbcs.el7RHSA-2021:1199
Red Hatjboss_core_services:1::el7jbcs-httpd24-nghttp2, jbcs-httpd24-nghttp2-devel, jbcs-httpd24-nghttp2-debuginfo0:1.39.2-37.jbcs.el7RHSA-2021:1199
Red Hatjboss_core_services:1::el7jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 3 more1:1.1.1g-6.jbcs.el7RHSA-2021:1199
Red Hatjboss_core_services:1::el7jbcs-httpd24-openssl-chil, jbcs-httpd24-openssl-chil-debuginfo0:1.0.0-5.jbcs.el7RHSA-2021:1199
Red Hatjboss_core_services:1::el7jbcs-httpd24-openssl-pkcs11, jbcs-httpd24-openssl-pkcs11-debuginfo0:0.4.10-20.jbcs.el7RHSA-2021:1199
4 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 11 morenodejs1010.24.1-1.36.1SUSE-SU-2021:2353-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1010.24.1-1.39.1SUSE-SU-2021:2323-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1212.22.2-1.32.1SUSE-SU-2021:2326-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2, Linux Enterprise Module for Web and Scripting 15 SP3nodejs1212.22.2-4.16.1SUSE-SU-2021:2327-1
openSUSELeap 15.2nodejs1010.24.1-lp152.2.15.1openSUSE-SU-2021:1061-1
openSUSELeap 15.2nodejs1212.22.2-lp152.3.15.1openSUSE-SU-2021:1059-1
openSUSELeap 15.3nodejs1010.24.1-1.36.1openSUSE-SU-2021:2353-1
openSUSELeap 15.3nodejs1212.22.2-4.16.1openSUSE-SU-2021:2327-1
openSUSETumbleweedopenssl-1_11.1.1l-1.2openSUSE-SU-2024:11127-1
Rocky Linux8openssl1:1.1.1g-15.el8_3RLSA-2021:1024
Alpinev3.9, v3.10, v3.11 and 9 moreopenssl1.1.1k-r0ALPINE-CVE-2021-3450
Alpinev3.15, v3.16openssl, openssl31.1.1k-r0ALPINE-CVE-2021-3450
Alpinev3.17, v3.18openssl, openssl1.1-compat1.1.1k-r0ALPINE-CVE-2021-3450

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This flaw affects openssl 1.1.1h and above only, older versions are not affected by this flaw.

Red Hat's mitigation

The following conditions have to be met for an application compiled with OpenSSL to be vulnerable:

- the CA trusted by the system must issue or have issued certificates that don't include basic Key Usage extension.

- the CA certificates must not have path length constraint set to a value that would limit the certificate chain to just the subscriber certificates (i.e. CA certificate just above the subscriber cert must not have 0 as the path length constraint, and any CA above it must not have it increase by more than 1 for every level in the hierarchy)

- the attacker needs to have access to such subscriber certificate (without basic Key Usage and linking up to CAs without path length constraints or not effectively constraining certs issued by this certificate)

- the application under attack must use the X509_V_FLAG_X509_STRICT flag and must not set purpose for the certificate verification

if any of the above conditions are not met then the application compiled with OpenSSL is not vulnerable to the CVE.

ProductPackageStateAdvisory
JBCS 2.4.37 SP7opensslFixed 2021-04-14RHSA-2021:1200
JBoss Core Services on RHEL 7jbcs-httpd24-httpd-0:2.4.37-70.jbcs.el7Fixed 2021-04-14RHSA-2021:1199
JBoss Core Services on RHEL 7jbcs-httpd24-mod_cluster-native-0:1.3.14-20.Final_redhat_2.jbcs.el7Fixed 2021-04-14RHSA-2021:1199
JBoss Core Services on RHEL 7jbcs-httpd24-mod_http2-0:1.15.7-14.jbcs.el7Fixed 2021-04-14RHSA-2021:1199
JBoss Core Services on RHEL 7jbcs-httpd24-mod_jk-0:1.2.48-13.redhat_1.jbcs.el7Fixed 2021-04-14RHSA-2021:1199
JBoss Core Services on RHEL 7jbcs-httpd24-mod_md-1:2.0.8-33.jbcs.el7Fixed 2021-04-14RHSA-2021:1199
JBoss Core Services on RHEL 7jbcs-httpd24-mod_security-0:2.9.2-60.GA.jbcs.el7Fixed 2021-04-14RHSA-2021:1199
JBoss Core Services on RHEL 7jbcs-httpd24-nghttp2-0:1.39.2-37.jbcs.el7Fixed 2021-04-14RHSA-2021:1199
JBoss Core Services on RHEL 7jbcs-httpd24-openssl-1:1.1.1g-6.jbcs.el7Fixed 2021-04-14RHSA-2021:1199
JBoss Core Services on RHEL 7jbcs-httpd24-openssl-chil-0:1.0.0-5.jbcs.el7Fixed 2021-04-14RHSA-2021:1199
JBoss Core Services on RHEL 7jbcs-httpd24-openssl-pkcs11-0:0.4.10-20.jbcs.el7Fixed 2021-04-14RHSA-2021:1199
Red Hat Enterprise Linux 8openssl-1:1.1.1g-15.el8_3Fixed 2021-03-30RHSA-2021:1024
Red Hat JBoss Web Server 3.1opensslFixed 2021-04-14RHSA-2021:1203
Red Hat JBoss Web Server 3 for RHEL 7tomcat-native-0:1.2.23-24.redhat_24.ep7.el7Fixed 2021-04-14RHSA-2021:1202
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 6openssl098eNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7openssl098eNot affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 9opensslNot affected
4 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3450.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-069-09Siemens SINEC INS2022-03-08MultipleSINEC INSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON