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

CVE-2021-3450 affects 170 listed versions of Oracle MySQL, SonicWall SonicOS, FreeBSD in the Dawnsentry catalogue.

7.4CVSS high
None knownexploitation
21%EPSS (next 30 days)
25 March 2021published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Oracle MySQL

123 of 221 listed versions are affected. No fixed release is named. The newest release, 26.10.0, is not affected.

5.7.33 5.7.32 5.7.31 5.7.30 5.6.51 5.6.50 5.6.49 5.6.48 5.6.47 5.6.46 5.6.45 5.6.44 5.6.43 5.6.42 5.6.41 5.6.40 5.6.39 5.6.38 5.6.37 5.5.63 5.5.62 5.5.61 5.5.60 5.5.59 5.5.58 5.5.57 5.5.56 5.5.55 5.5.54 5.5.53 5.5.52 5.5.51 5.5.50 5.5.49 5.3.13 5.1.73 5.1.72 5.1.71 5.1.70 5.1.69 5.1.68 5.1.67 5.1.66 5.1.65 5.1.64 5.1.63 5.1.62 5.1.61 5.1.60 5.1.59 5.0.96 5.0.94 5.0.93 5.0.92 5.0.91 5.0.90 5.0.89 5.0.88 5.0.87-sp1 5.0.86 and 63 more

SonicWall SonicOS

45 of 86 listed versions are affected. No fixed release is named. The newest release, 8.2.3-8015, is not affected.

6.5.5.2-28n 6.5.5.1-6n 6.5.4.15-117n 6.5.4.15.116n 6.5.4.14-109n 6.5.4.13-105n 6.5.4.12-101n 6.5.4.11-97n 6.5.4.9-93n 6.5.4.8-89n 6.5.4.8 6.5.4.7-83n 6.5.4.7-79n 6.5.4.7 6.5.4.6-79n 6.4.1.0-3n 6.4.0.0 6.2.9.2 6.2.9.0 6.2.7.10-3n 6.2.7.8 6.2.7.7 6.2.7.4-32n 6.2.7.4 6.2.7.3 6.2.7.1 6.2.7.0 6.2.6.1 6.2.5.3 6.2.4.3 6.2.3.1 6.2.2.0 6.0.5.3-94o 6.0.5.3-93o 6.0.5.3-86o 6.0.5.3 5.9.2.14-13o 5.9.2.14-12o 5.9.1.13-5n 5.9.1.13 5.9.1.12-4o 5.9.1.12 5.9.1.10 5.9.1.7-2n 5.9.0.7

FreeBSD

2 of 250 listed versions are affected. No fixed release is named. The newest release, 15.1-p7, is not affected.

12.2-p2 12.2-p1

What it is

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

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N (NVD)

Published by OpenSSL on 25 March 2021. Last changed 8 October 2026.

Sources

Check one version you run: look CVE-2021-3450 up, or pick a product and version in the quick lookup.

Updated 1 December 2026.