CVEfocus › CVE database › CVE-2020-1971

CVE-2020-1971EDIPARTYNAME NULL pointer dereference

CVSS 5.9 MediumEPSS 7.0% (higher than 94% of CVEs)Published 2020-12-08Updated 2026-05-29Assigner: openssl

The X.509 GeneralName type is a generic type for representing different types of names. One of those name types is known as EDIPartyName. OpenSSL provides a function GENERAL_NAME_cmp which compares different instances of a GENERAL_NAME to see if they are equal or not. This function behaves incorrectly when both GENERAL_NAMEs contain an EDIPARTYNAME. A NULL pointer dereference and a crash may occur leading to a possible denial of service attack. OpenSSL itself uses the GENERAL_NAME_cmp function for two purposes: 1) Comparing CRL distribution point names between an available CRL and a CRL distribution point embedded in an X509 certificate 2) When verifying that a timestamp response token signer matches the timestamp authority name (exposed via the API functions TS_RESP_verify_response and TS_RESP_verify_token) If an attacker can control both items being compared then that attacker could trigger a crash. For example if the attacker can trick a client or server into checking a malicious certificate against a malicious CRL then this may occur. Note that some applications automatically download CRLs based on a URL embedded in a certificate. This checking happens prior to the signatures on the certificate and CRL being verified. OpenSSL's s_server, s_client and verify tools have support for the "-crl_download" option which implements automatic CRL downloading and this attack has been demonstrated to work against those tools. Note that an unrelated bug means that affected versions of OpenSSL cannot parse or construct correct encodings of EDIPARTYNAME. However it is possible to construct a malformed EDIPARTYNAME that OpenSSL's parser will accept and hence trigger this attack. All OpenSSL 1.1.1 and 1.0.2 versions are affected by this issue. Other OpenSSL releases are out of support and have not been checked. Fixed in OpenSSL 1.1.1i (Affected 1.1.1-1.1.1h). Fixed in OpenSSL 1.0.2x (Affected 1.0.2-1.0.2w).

CWE-476

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

48Fixed
2Fix pending
2Will not fix
9Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04opensslFixed1.1.1f-1ubuntu2.1UBUNTU-CVE-2020-1971
Ubuntu 18.04opensslFixed1.1.1-1ubuntu2.1~18.04.7UBUNTU-CVE-2020-1971
Ubuntu 18.04openssl1.0Fixed1.0.2n-1ubuntu5.5UBUNTU-CVE-2020-1971
Ubuntu 16.04edk2Not affected
vulnerable_code_not_present
Ubuntu 16.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 16.04opensslFixed1.0.2g-1ubuntu4.18UBUNTU-CVE-2020-1971
Ubuntu 14.04edk2Fix pending
Ubuntu 14.04opensslFix pending1.0.1f-1ubuntu2.27+esm2 (Ubuntu Pro)UBUNTU-CVE-2020-1971
Debian 14opensslFixed1.1.1i-1DEBIAN-CVE-2020-1971
Debian 13opensslFixed1.1.1i-1DEBIAN-CVE-2020-1971
Debian 12opensslFixed1.1.1i-1DEBIAN-CVE-2020-1971
Red Hat Enterprise Linux 9opensslNot affected
Red Hat Enterprise Linux 9openssl-develNot affected
Red Hat Enterprise Linux 9openssl-libsNot affected
Red Hat Enterprise Linux 9openssl-perlNot affected
Red Hat Enterprise Linux 8compat-openssl10Will not fix
Will not fix
Red Hat Enterprise Linux 8opensslFixed1:1.1.1g-12.el8_3RHSA-2020:5476
Red Hat Enterprise Linux 8openssl-develFixed1:1.1.1g-12.el8_3RHSA-2020:5476
Red Hat Enterprise Linux 8openssl-libsFixed1:1.1.1g-12.el8_3RHSA-2020:5476
Red Hat Enterprise Linux 8openssl-perlFixed1:1.1.1g-12.el8_3RHSA-2020:5476
Red Hat Enterprise Linux 7opensslFixed1:1.0.2k-21.el7_9RHSA-2020:5566
Red Hat Enterprise Linux 7openssl-develFixed1:1.0.2k-21.el7_9RHSA-2020:5566
Red Hat Enterprise Linux 7openssl-libsFixed1:1.0.2k-21.el7_9RHSA-2020:5566
Red Hat Enterprise Linux 7openssl-perlFixed1:1.0.2k-21.el7_9RHSA-2020:5566
Red Hat Enterprise Linux 7openssl-staticFixed1:1.0.2k-21.el7_9RHSA-2020:5566
Red Hat Enterprise Linux 7openssl098eNot affected
Red Hat Enterprise Linux 6openssl098eNot affected
Red Hat Enterprise Linux 5opensslWill not fix
Out of support scope
Red Hat Enterprise Linux 5openssl097aNot affected
Alpine Linux 3.24libresslFixed3.1.5-r0ALPINE-CVE-2020-1971
Alpine Linux 3.24opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.23libresslFixed3.1.5-r0ALPINE-CVE-2020-1971
Alpine Linux 3.23opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.22libresslFixed3.1.5-r0ALPINE-CVE-2020-1971
Alpine Linux 3.22opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.21libresslFixed3.1.5-r0ALPINE-CVE-2020-1971
Alpine Linux 3.21opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.20libresslFixed3.1.5-r0ALPINE-CVE-2020-1971
Alpine Linux 3.20opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.19libresslFixed3.1.5-r0ALPINE-CVE-2020-1971
Alpine Linux 3.19opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.18libresslFixed3.1.5-r0ALPINE-CVE-2020-1971
Alpine Linux 3.18opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.18openssl1.1-compatFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.17libresslFixed3.1.5-r0ALPINE-CVE-2020-1971
Alpine Linux 3.17opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.17openssl1.1-compatFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.16libresslFixed3.1.5-r0ALPINE-CVE-2020-1971
Alpine Linux 3.16opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.16openssl3Fixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.15libresslFixed3.1.5-r0ALPINE-CVE-2020-1971
Alpine Linux 3.15opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.15openssl3Fixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.14libresslFixed3.1.5-r0ALPINE-CVE-2020-1971
Alpine Linux 3.14opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.13libresslFixed3.1.5-r0ALPINE-CVE-2020-1971
Alpine Linux 3.13opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.12opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.11opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.10opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971
Alpine Linux 3.9opensslFixed1.1.1i-r0ALPINE-CVE-2020-1971

What the vendor says

As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.