CVE-2020-1971
EDIPARTYNAME NULL pointer dereference
Check your servers for CVE-2020-1971
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-1971 affects openssl, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 6.99%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 94.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 29 May 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-476 NULL Pointer Dereference
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| OpenSSL |
affected Fixed in OpenSSL 1.1.1i (Affected 1.1.1-1.1.1h) affected Fixed in OpenSSL 1.0.2x (Affected 1.0.2-1.0.2w)
|
Is my server affected?
Find the installed version of openssl and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i openssl
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-1971 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-1971RHEL, Rocky, Alma, Fedora
rpm -q openssl
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-1971Alpine
apk list --installed | grep -i opensslWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-1971
trivy image --scanners vuln IMAGE | grep CVE-2020-1971
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- DSA-4807 debian.org · vendor advisory
- FreeBSD-SA-20:33 security.FreeBSD.org · vendor advisory
- FEDORA-2020-ef1870065a lists.fedoraproject.org · vendor advisory
- FEDORA-2020-a31b01e945 lists.fedoraproject.org · vendor advisory
- GLSA-202012-13 security.gentoo.org · vendor advisory
Other references
- https://www.openssl.org/news/secadv/20201208.txt openssl.org
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=f960d81215ebf3f65e03d4d5d857fb9b666d6920 git.openssl.org
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2154ab83e14ede338d2ede9bbe5cdfce5d5a6c9e git.openssl.org
- [debian-lts-announce] 20201214 [SECURITY] [DLA 2493-1] openssl1.0 security update lists.debian.org · mailing list
- [debian-lts-announce] 20201214 [SECURITY] [DLA 2492-1] openssl security update lists.debian.org · mailing list
- [pulsar-commits] 20201216 [GitHub] [pulsar] phijohns-tibco opened a new issue #8978: OpenSSL needs to be updated to… lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpujan2021.html oracle.com
- https://www.tenable.com/security/tns-2020-11 tenable.com
- https://security.netapp.com/advisory/ntap-20201218-0005/ security.netapp.com
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44676 kb.pulsesecure.net
- [tomcat-dev] 20210207 [Bug 65126] New: A security vulnerability cve-2020-1971 in Tomcat dependency Library in… lists.apache.org · mailing list
- https://www.oracle.com/security-alerts/cpuApr2021.html oracle.com
9 more
- https://www.tenable.com/security/tns-2021-10 tenable.com
- https://www.tenable.com/security/tns-2021-09 tenable.com
- https://security.netapp.com/advisory/ntap-20210513-0002/ security.netapp.com
- https://www.oracle.com//security-alerts/cpujul2021.html oracle.com
- [oss-security] 20210914 Re: Oracle Solaris membership in the distros list openwall.com · mailing list
- https://www.oracle.com/security-alerts/cpuoct2021.html oracle.com
- https://www.oracle.com/security-alerts/cpuapr2022.html oracle.com
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf cert-portal.siemens.com
- https://security.netapp.com/advisory/ntap-20240621-0006/ security.netapp.com
Source: the record CVE-2020-1971 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse