PT-2021-2477 · Openssl+6 · Openssl+6

Published

2021-03-25

·

Updated

2024-12-16

·

CVE-2021-3450

CVSS v3.1

7.4

High

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions OpenSSL versions 1.1.1h through 1.1.1j
Description The issue is related to an error in the implementation of a check for certificates in a chain that have explicitly encoded elliptic curve parameters when the X509 V FLAG X509 STRICT flag is set. This flag enables additional security checks of the certificates present in a certificate chain and is not set by default. The error causes the result of a previous check to confirm that certificates in the chain are valid CA certificates to be overwritten, effectively bypassing the check that non-CA certificates must not be able to issue other certificates. If a "purpose" has been configured, 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.
Recommendations To resolve the issue, users of affected OpenSSL versions should upgrade to OpenSSL 1.1.1k. As a temporary workaround, consider avoiding the use of the X509 V FLAG X509 STRICT verification flag or ensure that a purpose is set for the certificate verification. For TLS client or server applications, do not override the default purpose.

Exploit

Fix

Improper Certificate Validation

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2021-1551
ALT-PU-2021-1561
ALT-PU-2021-1570
ALT-PU-2021-1686
ALT-PU-2021-1906
ALT-PU-2021-2380
ALT-PU-2021-2382
ALT-PU-2021-3668
ALT-PU-2021-3670
BDU:2021-01845
BIT-NODE-2021-3450
BIT-NODE-MIN-2021-3450
CESA-2021_1024
CVE-2021-3450
GHSA-8HFJ-XRJ2-PM22
MGASA-2021-0176
OESA-2022-1620
OPENSUSE-SU-2021:1059-1
OPENSUSE-SU-2021:1061-1
OPENSUSE-SU-2021:2327-1
OPENSUSE-SU-2021:2353-1
OPENSUSE-SU-2021_1059-1
OPENSUSE-SU-2021_1061-1
OPENSUSE-SU-2021_2327-1
OPENSUSE-SU-2021_2353-1
OPENSUSE-SU-2024:11127-1
RHSA-2021:1024
RHSA-2021:1189
RHSA-2021:1195
RHSA-2021:1199
RHSA-2021:1202
RHSA-2021_1024
RLSA-2021:1024
RUSTSEC-2021-0056
SUSE-SU-2021:2323-1
SUSE-SU-2021:2326-1
SUSE-SU-2021:2327-1
SUSE-SU-2021:2353-1

Affected Products

Alt Linux
Centos
Freebsd
Openssl
Red Hat
Rocky Linux
Suse