Vulnerability CVE-2021-3450: Information

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

Severity: HIGH (7.4) Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Published: March 25, 2021
Modified: Nov. 7, 2023
Error type identifier: CWE-295

Fixed packages

References to Advisories, Solutions, and Tools

Hyperlink
Resource
https://www.openssl.org/news/secadv/20210325.txt
  • Vendor Advisory
20210325 Multiple Vulnerabilities in OpenSSL Affecting Cisco Products: March 2021
  • Third Party Advisory
https://security.netapp.com/advisory/ntap-20210326-0006/
  • Third Party Advisory
https://security.FreeBSD.org/advisories/FreeBSD-SA-21:07.openssl.asc
  • Third Party Advisory
[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 List
  • Third Party Advisory
[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 List
  • Third Party Advisory
[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 List
  • Third Party Advisory
[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 List
  • Third Party Advisory
GLSA-202103-03
  • Third Party Advisory
https://www.tenable.com/security/tns-2021-05
  • Third Party Advisory
https://www.tenable.com/security/tns-2021-08
  • Third Party Advisory
https://kc.mcafee.com/corporate/index?page=content&id=SB10356
  • Third Party Advisory
https://mta.openssl.org/pipermail/openssl-announce/2021-March/000198.html
  • Mailing List
  • Vendor Advisory
https://www.tenable.com/security/tns-2021-09
  • Third Party Advisory
https://www.oracle.com/security-alerts/cpuApr2021.html
  • Patch
  • Third Party Advisory
https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44845
  • Third Party Advisory
https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2021-0013
  • Third Party Advisory
N/A
  • Patch
  • Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html
  • Patch
  • Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
  • Third Party Advisory
https://www.oracle.com/security-alerts/cpuapr2022.html
  • Patch
  • Third Party Advisory
N/A
  • Patch
  • Third Party Advisory
https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2a40b7bc7b94dd7de897a74571e7024f0cf0d63b
    FEDORA-2021-cbf14ab8f9
        1. Configuration 1

          cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*
          Start including
          1.1.1h
          End excliding
          1.1.1k

          Configuration 2

          cpe:2.3:o:freebsd:freebsd:12.2:p1:*:*:*:*:*:*

          cpe:2.3:o:freebsd:freebsd:12.2:p2:*:*:*:*:*:*

          cpe:2.3:o:freebsd:freebsd:12.2:-:*:*:*:*:*:*

          Configuration 3

          cpe:2.3:o:netapp:santricity_smi-s_provider_firmware:-:*:*:*:*:*:*:*

          Running on/with:
          cpe:2.3:h:netapp:santricity_smi-s_provider:-:*:*:*:*:*:*:*

          Configuration 4

          cpe:2.3:o:netapp:storagegrid_firmware:-:*:*:*:*:*:*:*

          Running on/with:
          cpe:2.3:h:netapp:storagegrid:-:*:*:*:*:*:*:*

          Configuration 5

          cpe:2.3:o:windriver:linux:-:*:*:*:cd:*:*:*

          cpe:2.3:o:windriver:linux:18.0:*:*:*:lts:*:*:*

          cpe:2.3:o:windriver:linux:19.0:*:*:*:lts:*:*:*

          cpe:2.3:o:windriver:linux:17.0:*:*:*:lts:*:*:*

          Configuration 6

          cpe:2.3:a:netapp:oncommand_workflow_automation:-:*:*:*:*:*:*:*

          cpe:2.3:a:netapp:storagegrid:-:*:*:*:*:*:*:*

          cpe:2.3:a:netapp:ontap_select_deploy_administration_utility:-:*:*:*:*:*:*:*

          cpe:2.3:a:netapp:cloud_volumes_ontap_mediator:-:*:*:*:*:*:*:*

          Configuration 7

          cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*

          Configuration 8

          cpe:2.3:a:tenable:nessus_agent:*:*:*:*:*:*:*:*
          Start including
          8.2.1
          End including
          8.2.3

          cpe:2.3:a:tenable:nessus:*:*:*:*:*:*:*:*
          End including
          8.13.1

          cpe:2.3:a:tenable:nessus_network_monitor:5.11.1:*:*:*:*:*:*:*

          cpe:2.3:a:tenable:nessus_network_monitor:5.12.0:*:*:*:*:*:*:*

          cpe:2.3:a:tenable:nessus_network_monitor:5.12.1:*:*:*:*:*:*:*

          cpe:2.3:a:tenable:nessus_network_monitor:5.13.0:*:*:*:*:*:*:*

          cpe:2.3:a:tenable:nessus_network_monitor:5.11.0:*:*:*:*:*:*:*

          Configuration 9

          cpe:2.3:a:oracle:jd_edwards_world_security:a9.4:*:*:*:*:*:*:*

          cpe:2.3:a:oracle:weblogic_server:12.2.1.4.0:*:*:*:*:*:*:*

          cpe:2.3:a:oracle:weblogic_server:14.1.1.0.0:*:*:*:*:*:*:*

          cpe:2.3:a:oracle:enterprise_manager_for_storage_management:13.4.0.0:*:*:*:*:*:*:*

          cpe:2.3:a:oracle:secure_global_desktop:5.6:*:*:*:*:*:*:*

          cpe:2.3:a:oracle:graalvm:20.3.1.2:*:*:*:enterprise:*:*:*

          cpe:2.3:a:oracle:graalvm:21.0.0.2:*:*:*:enterprise:*:*:*

          cpe:2.3:a:oracle:graalvm:19.3.5:*:*:*:enterprise:*:*:*

          cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*
          Start including
          8.0.15
          End including
          8.0.23

          cpe:2.3:a:oracle:mysql_server:*:*:*:*:*:*:*:*
          End including
          5.7.33

          cpe:2.3:a:oracle:mysql_workbench:*:*:*:*:*:*:*:*
          End including
          8.0.23

          cpe:2.3:a:oracle:commerce_guided_search:11.3.2:*:*:*:*:*:*:*

          cpe:2.3:a:oracle:mysql_connectors:*:*:*:*:*:*:*:*
          End including
          8.0.23

          cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:*
          End excliding
          9.2.6.0

          cpe:2.3:a:oracle:mysql_enterprise_monitor:*:*:*:*:*:*:*:*
          End including
          8.0.23

          cpe:2.3:a:oracle:secure_backup:*:*:*:*:*:*:*:*
          End excliding
          18.1.0.1.0

          cpe:2.3:a:oracle:peoplesoft_enterprise_peopletools:*:*:*:*:*:*:*:*
          Start including
          8.57
          End including
          8.59

          Configuration 10

          cpe:2.3:a:mcafee:web_gateway_cloud_service:10.1.1:*:*:*:*:*:*:*

          cpe:2.3:a:mcafee:web_gateway_cloud_service:9.2.10:*:*:*:*:*:*:*

          cpe:2.3:a:mcafee:web_gateway_cloud_service:8.2.19:*:*:*:*:*:*:*

          cpe:2.3:a:mcafee:web_gateway:10.1.1:*:*:*:*:*:*:*

          cpe:2.3:a:mcafee:web_gateway:9.2.10:*:*:*:*:*:*:*

          cpe:2.3:a:mcafee:web_gateway:8.2.19:*:*:*:*:*:*:*

          Configuration 11

          cpe:2.3:o:sonicwall:sma100_firmware:*:*:*:*:*:*:*:*

          Running on/with:
          cpe:2.3:h:sonicwall:sma100:-:*:*:*:*:*:*:*

          Configuration 12

          cpe:2.3:o:sonicwall:sonicos:*:*:*:*:*:*:*:*
          End including
          7.0.1-r1456

          cpe:2.3:a:sonicwall:email_security:*:*:*:*:*:*:*:*
          End excliding
          10.0.11

          cpe:2.3:a:sonicwall:capture_client:*:*:*:*:*:*:*:*
          End excliding
          3.6.24

          Configuration 13

          cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
          Start including
          15.0.0
          End excliding
          15.14.0

          cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
          Start including
          14.0.0
          End excliding
          14.16.1

          cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
          Start including
          12.0.0
          End excliding
          12.22.1

          cpe:2.3:a:nodejs:node.js:*:*:*:*:-:*:*:*
          Start including
          10.0.0
          End excliding
          10.24.1