cve.bz

CVE-2020-1971 NULL Pointer Dereference

5.9 mediumEPSS 7.0%Fix available

Medium (5.9). EPSS 7.0% estimated probability of exploitation activity in the next 30 days.

On this page
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).

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
7.0% (unchanged from 7.0% a week ago; 7.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-05-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-476 NULL Pointer Dereference
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-1971 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-1971?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-1971?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-1971 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openssl:opensslfrom 1.0.2 before 1.0.2x
openssl:opensslfrom 1.1.1 before 1.1.1i
debian:debian_linux9.0
debian:debian_linux10.0
fedoraproject:fedora32
fedoraproject:fedora33
oracle:api_gateway11.1.2.4.0
oracle:business_intelligence5.5.0.0.0
oracle:business_intelligence5.9.0.0.0
oracle:business_intelligence12.2.1.3.0
oracle:business_intelligence12.2.1.4.0
oracle:communications_cloud_native_core_network_function_cloud_native_environment1.10.0
oracle:communications_diameter_intelligence_hubfrom 8.0.0 through 8.1.0
oracle:communications_diameter_intelligence_hubfrom 8.2.0 through 8.2.3
oracle:communications_session_border_controllercz8.2
oracle:communications_session_border_controllercz8.3
oracle:communications_session_border_controllercz8.4
oracle:communications_session_routercz8.2
oracle:communications_session_routercz8.3
oracle:communications_session_routercz8.4
oracle:communications_subscriber-aware_load_balancercz8.2
oracle:communications_subscriber-aware_load_balancercz8.3
oracle:communications_subscriber-aware_load_balancercz8.4
oracle:communications_unified_session_managerscz8.2.5
oracle:enterprise_communications_brokerpcz3.1
oracle:enterprise_communications_brokerpcz3.2
oracle:enterprise_communications_brokerpcz3.3
oracle:enterprise_manager_base_platform13.3.0.0
oracle:enterprise_manager_base_platform13.4.0.0
oracle:enterprise_manager_for_storage_management13.4.0.0
oracle:enterprise_manager_ops_center12.4.0.0
oracle:enterprise_session_border_controllercz8.2
oracle:enterprise_session_border_controllercz8.3
oracle:enterprise_session_border_controllercz8.4
oracle:essbase21.2
oracle:graalvm19.3.4
oracle:graalvm20.3.0
oracle:http_server12.2.1.4.0
oracle:jd_edwards_enterpriseone_toolsbefore 9.2.5.3
oracle:jd_edwards_world_securitya9.4
oracle:mysqlthrough 8.0.22
oracle:mysql_serverthrough 5.7.32
oracle:mysql_serverfrom 8.0.15 through 8.0.22
oracle:peoplesoft_enterprise_peopletools8.56
oracle:peoplesoft_enterprise_peopletools8.57
oracle:peoplesoft_enterprise_peopletools8.58
netapp:e-series_santricity_os_controllerfrom 11.0.0 through 11.60.3
tenable:log_correlation_enginebefore 6.0.9
tenable:nessus_network_monitorbefore 5.13.1
siemens:sinec_infrastructure_network_servicesbefore 1.0.1.1
nodejs:node.jsfrom 10.0.0 through 10.12.0
nodejs:node.jsfrom 10.13.0 before 10.23.1
nodejs:node.jsfrom 12.0.0 through 12.12.0
nodejs:node.jsfrom 12.13.0 before 12.20.1
nodejs:node.jsfrom 14.0.0 through 14.14.0
nodejs:node.jsfrom 14.15.0 before 14.15.4
nodejs:node.jsfrom 15.0.0 before 15.5.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9openssl1.1.0l-1~deb9u2DLA-2492-1
Debian9openssl1.01.0.2u-1~deb9u3DLA-2493-1
Debian10openssl1.1.1d-0+deb10u4DSA-4807-1
Debian12, 13, 14openssl1.1.1i-1DEBIAN-CVE-2020-1971
Ubuntu16.04:LTSopenssl1.0.2g-1ubuntu4.18UBUNTU-CVE-2020-1971 USN-4662-1
Ubuntu18.04:LTSopenssl1.1.1-1ubuntu2.1~18.04.7UBUNTU-CVE-2020-1971 USN-4662-1
Ubuntu18.04:LTSopenssl1.01.0.2n-1ubuntu5.5UBUNTU-CVE-2020-1971 USN-4662-1
Ubuntu20.04:LTSopenssl1.1.1f-1ubuntu2.1UBUNTU-CVE-2020-1971 USN-4662-1
UbuntuPro:14.04:LTSopenssl1.0.1f-1ubuntu2.27+esm2UBUNTU-CVE-2020-1971 USN-4745-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationopenssl, openssl-libs, openssl-perl and 3 more1:1.0.2k-21.el7_9RHSA-2020:5566
Red Hatenterprise_linux:7::computenodeopenssl-perl, openssl-devel, openssl-static and 1 more1:1.0.2k-21.el7_9RHSA-2020:5566
Red Hatenterprise_linux:8::baseosopenssl, openssl-libs, openssl-perl and 4 more1:1.1.1g-12.el8_3RHSA-2020:5476
Red Hatjboss_core_services:1::el7jbcs-httpd24-brotli, jbcs-httpd24-brotli-devel, jbcs-httpd24-brotli-debuginfo0:1.0.6-40.jbcs.el7RHSA-2021:0486
Red Hatjboss_core_services:1::el7jbcs-httpd24-httpd, jbcs-httpd24-mod_ldap, jbcs-httpd24-httpd-devel and 5 more0:2.4.37-66.jbcs.el7RHSA-2021:0486
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_cluster-native, jbcs-httpd24-mod_cluster-native-debuginfo0:1.3.14-16.Final_redhat_2.jbcs.el7RHSA-2021:0486
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.7-12.jbcs.el7RHSA-2021:0486
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-manual and 1 more0:1.2.48-11.redhat_1.jbcs.el7RHSA-2021:0486
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_md, jbcs-httpd24-mod_md-debuginfo1:2.0.8-31.jbcs.el7RHSA-2021:0486
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_security, jbcs-httpd24-mod_security-debuginfo0:2.9.2-58.GA.jbcs.el7RHSA-2021:0486
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_ssl, jbcs-httpd24-mod_proxy_html1:2.4.37-66.jbcs.el7RHSA-2021:0486
Red Hatjboss_core_services:1::el7jbcs-httpd24-nghttp2, jbcs-httpd24-nghttp2-devel, jbcs-httpd24-nghttp2-debuginfo0:1.39.2-35.jbcs.el7RHSA-2021:0486
17 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL and 8 moreopenssl1.0.2j-60.63.1SUSE-SU-2020:3763-1
SUSEEnterprise Storage 6, Linux Enterprise Module for Legacy 15 SP1, Linux Enterprise Module for Legacy 15 SP2 and 2 moreopenssl-1_0_01.0.2p-3.34.1SUSE-SU-2020:3762-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Module for Web and Scripting 15 SP1 and 3 morenodejs1010.23.1-1.30.1SUSE-SU-2021:0060-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moreopenssl-1_11.1.0i-4.54.1SUSE-SU-2020:3722-1
SUSELinux Enterprise Module for Basesystem 15 SP1openssl-1_11.1.0i-14.12.1SUSE-SU-2020:3720-1
SUSELinux Enterprise Module for Basesystem 15 SP2openssl-1_11.1.1d-11.12.1SUSE-SU-2020:3721-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1010.23.1-1.33.1SUSE-SU-2021:0082-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1212.20.1-1.26.1SUSE-SU-2021:0068-1
SUSELinux Enterprise Module for Web and Scripting 15 SP2nodejs1212.20.1-4.10.1SUSE-SU-2021:0062-1
SUSELinux Enterprise Server 11-SECURITYopenssl11.0.1g-0.58.30.1SUSE-SU-2020:14560-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 4 moreopenssl-1_0_01.0.2p-3.30.1SUSE-SU-2020:3732-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 4 moreopenssl-1_11.1.1d-2.27.1SUSE-SU-2020:3740-1
openSUSELeap 15.1nodejs1010.23.1-lp151.2.15.1openSUSE-SU-2021:0082-1
openSUSELeap 15.1openssl-1_0_01.0.2p-lp151.5.20.1openSUSE-SU-2020:2269-1
openSUSELeap 15.1openssl-1_11.1.0i-lp151.8.12.2openSUSE-SU-2020:2245-1
openSUSELeap 15.2nodejs1010.23.1-lp152.2.9.1openSUSE-SU-2021:0065-1
openSUSELeap 15.2nodejs1212.20.1-lp152.3.9.1openSUSE-SU-2021:0064-1
openSUSELeap 15.2openssl-1_0_01.0.2p-lp152.8.9.1openSUSE-SU-2020:2236-1
openSUSELeap 15.2openssl-1_11.1.1d-lp152.7.9.1openSUSE-SU-2020:2223-1
openSUSETumbleweedmatrix-synapse1.43.0-1.1openSUSE-SU-2024:11041-1
openSUSETumbleweedopenssl-1_0_01.0.2u-12.1openSUSE-SU-2024:12687-1
openSUSETumbleweedopenssl-1_11.1.1l-1.2openSUSE-SU-2024:11127-1
openSUSETumbleweedopenssl-33.0.1-1.1openSUSE-SU-2024:11797-1
Alpinev3.9, v3.10, v3.11 and 9 moreopenssl1.1.1i-r0ALPINE-CVE-2020-1971
Alpinev3.13, v3.14, v3.15 and 9 morelibressl3.1.5-r0ALPINE-CVE-2020-1971
Alpinev3.15, v3.16openssl, openssl31.1.1i-r0ALPINE-CVE-2020-1971
Alpinev3.17, v3.18openssl, openssl1.1-compat1.1.1i-r0ALPINE-CVE-2020-1971

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is a flaw in the GENERAL_NAME_cmp function of openssl which can be triggered when both its arguments are of the same type i.e. EDIPARTYNAME.

1. Red Hat does not ship any applications compiled with openssl, which used the above function in a vulnerable way.

2. OpenSSL itself uses the GENERAL_NAME_cmp function for two purposes, when comparing CRL distribution point names between an available CRL and a CRL distribution point embedded in an X509 certificate and 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 a crash may be triggered.

Third party applications compiled with openssl using the function GENERAL_NAME_cmp in a vulnerable way are affected by this flaw.

GENERAL_NAME_cmp was added in 0.9.8k, therefore older versions of openssl are not affected by this flaw.

Red Hat's mitigation

Applications not using the GENERAL_NAME_cmp of openssl are not vulnerable to this flaw. Even when this function is used, if the attacker can control both the arguments of this function, only then the attacker could trigger a crash.

ProductPackageStateAdvisory
JBCS 2.4.37 SP6opensslFixed 2021-02-11RHSA-2021:0488
JBoss Core Services on RHEL 7jbcs-httpd24-brotli-0:1.0.6-40.jbcs.el7Fixed 2021-02-11RHSA-2021:0486
JBoss Core Services on RHEL 7jbcs-httpd24-httpd-0:2.4.37-66.jbcs.el7Fixed 2021-02-11RHSA-2021:0486
JBoss Core Services on RHEL 7jbcs-httpd24-mod_cluster-native-0:1.3.14-16.Final_redhat_2.jbcs.el7Fixed 2021-02-11RHSA-2021:0486
JBoss Core Services on RHEL 7jbcs-httpd24-mod_http2-0:1.15.7-12.jbcs.el7Fixed 2021-02-11RHSA-2021:0486
JBoss Core Services on RHEL 7jbcs-httpd24-mod_jk-0:1.2.48-11.redhat_1.jbcs.el7Fixed 2021-02-11RHSA-2021:0486
JBoss Core Services on RHEL 7jbcs-httpd24-mod_md-1:2.0.8-31.jbcs.el7Fixed 2021-02-11RHSA-2021:0486
JBoss Core Services on RHEL 7jbcs-httpd24-mod_security-0:2.9.2-58.GA.jbcs.el7Fixed 2021-02-11RHSA-2021:0486
JBoss Core Services on RHEL 7jbcs-httpd24-nghttp2-0:1.39.2-35.jbcs.el7Fixed 2021-02-11RHSA-2021:0486
JBoss Core Services on RHEL 7jbcs-httpd24-openssl-1:1.1.1g-3.jbcs.el7Fixed 2021-02-11RHSA-2021:0486
JBoss Core Services on RHEL 7jbcs-httpd24-openssl-chil-0:1.0.0-3.jbcs.el7Fixed 2021-02-11RHSA-2021:0486
JBoss Core Services on RHEL 7jbcs-httpd24-openssl-pkcs11-0:0.4.10-18.jbcs.el7Fixed 2021-02-11RHSA-2021:0486
Red Hat Enterprise Linux 6 Extended Lifecycle Supportopenssl-0:1.0.1e-59.el6_10Fixed 2021-01-11RHSA-2021:0056
Red Hat Enterprise Linux 7openssl-1:1.0.2k-21.el7_9Fixed 2020-12-16RHSA-2020:5566
Red Hat Enterprise Linux 5opensslOut of support scope
Red Hat Enterprise Linux 5openssl097aNot affected
Red Hat Enterprise Linux 6openssl098eNot affected
Red Hat Enterprise Linux 7openssl098eNot affected
Red Hat Enterprise Linux 8compat-openssl10Will not fix
Red Hat Enterprise Linux 9opensslNot affected
19 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-1971.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-02Siemens SIDIS Prime2024-02-13MultipleSIDIS Primenone listed
ICSA-22-069-09Siemens SINEC INS2022-03-08MultipleSINEC INSnone listed
ICSA-21-336-06Hitachi Energy APM Edge2021-12-02EnergyAPM Edge: Version 3.0, APM Edge: Version 2.0, APM Edge: Version 1.0none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON