CVE Vulnerabilities

CVE-2021-3450

This vulnerability is marked as RESERVED by NVD. This means that the CVE-ID is reserved for future use by the CVE Numbering Authority (CNA) or a security researcher, but the details of it are not yet publicly available yet.

This page will reflect the classification results once they are available through NVD.

Any vendor information available is shown as below.

Redhat

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

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.

Affected Software List

NameVendorVersion
JBoss Core Services on RHEL 7RedHat
Red Hat Enterprise Linux 8RedHatopenssl-1:1.1.1g-15.el8_3
Red Hat JBoss Core Services 1RedHat
Red Hat JBoss Web Server 3.1RedHat
Red Hat JBoss Web Server 3 for RHEL 7RedHattomcat-native-0:1.2.23-24.redhat_24.ep7.el7
Red Hat JBoss Web Server 5RedHat
Red Hat JBoss Web Server 5.4 on RHEL 7RedHatjws5-tomcat-native-0:1.2.25-4.redhat_4.el7jws
Red Hat JBoss Web Server 5.4 on RHEL 8RedHatjws5-tomcat-native-0:1.2.25-4.redhat_4.el8jws
Red Hat Virtualization 4 for Red Hat Enterprise Linux 8RedHatredhat-virtualization-host-0:4.4.5-20210330.0.el8_3

Ubuntu

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

Affected Software List

NameVendorVersion
OpensslUbuntu/upstreamTBD
OpensslUbuntu/devel1.1.1j-1ubuntu3
OpensslUbuntu/trustyout of standard support
Openssl1.0Ubuntu/upstreamTBD
Edk2Ubuntu/trustyout of standard support
NodejsUbuntu/trustyout of standard support
NodejsUbuntu/upstreamTBD