PT-2021-3611 · Openssl+14 · Openssl+14

Tavis Ormandy

·

Published

2021-02-15

·

Updated

2026-04-27

·

CVE-2021-23841

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions OpenSSL versions 1.1.1i and below OpenSSL versions 1.0.2x and below
Description The issue is related to the X509 issuer and serial hash() function, which attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However, it fails to correctly handle any errors that may occur while parsing the issuer field, potentially resulting in a NULL pointer dereference and a crash, leading to a potential denial of service attack. This function is never directly called by OpenSSL itself, so applications are only vulnerable if they use this function directly and they use it on certificates that may have been obtained from untrusted sources. Additionally, calls to EVP CipherUpdate, EVP EncryptUpdate, and EVP DecryptUpdate may overflow the output length argument in some cases, causing applications to behave incorrectly or crash.
Recommendations For OpenSSL versions 1.1.1i and below, upgrade to OpenSSL 1.1.1j. For OpenSSL versions 1.0.2x and below, premium support customers should upgrade to 1.0.2y, while other users should upgrade to 1.1.1j. As a temporary workaround, consider avoiding the use of the X509 issuer and serial hash() function on certificates from untrusted sources until a patch is available.

Exploit

Fix

DoS

NULL Pointer Dereference

Integer Overflow

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

Weakness Enumeration

Related Identifiers

ALSA-2021:4198
ALT-PU-2021-1338
ALT-PU-2021-1473
ALT-PU-2021-1494
ALT-PU-2021-1507
ALT-PU-2021-1686
ALT-PU-2021-2380
ALT-PU-2021-3668
AZL-40768
AZL-41571
BDU:2021-03744
CESA-2021_3798
CESA-2021_4198
CESA-2021_4424
CVE-2021-23841
DLA-2563-1
DLA-2565-1
DSA-4855-1
GHSA-84RM-QF37-FGC2
JLSEC-2026-222
MGASA-2021-0108
OESA-2021-1121
OPENSUSE-SU-2021:0427-1
OPENSUSE-SU-2021:0430-1
OPENSUSE-SU-2021_0427-1
OPENSUSE-SU-2021_0430-1
OPENSUSE-SU-2024:11126-1
OPENSUSE-SU-2024:11127-1
RHSA-2021:3798
RHSA-2021:4198
RHSA-2021:4424
RHSA-2021:4614
RHSA-2021:4861
RHSA-2021_3798
RHSA-2021_4198
RHSA-2021_4424
RLSA-2021:4198
RLSA-2021:4424
RUSTSEC-2021-0058
SUSE-FU-2022:0445-1
SUSE-SU-2021:0725-1
SUSE-SU-2021:0752-1
SUSE-SU-2021:0753-1
SUSE-SU-2021:0754-1
SUSE-SU-2021:0755-1
SUSE-SU-2021:0769-1
SUSE-SU-2021:0793-1
SUSE-SU-2021:0939-1
SUSE-SU-2021:14667-1
SUSE-SU-2021:14670-1
SUSE-SU-2021_14667-1
SUSE-SU-2021_14670-1
USN-4738-1
USN-4745-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Centos
Freebsd
Ibm Aix
Linuxmint
Apple Macos
Mysql Server
Openssl
Red Hat
Red Os
Rocky Linux
Suse
Ubuntu