CVE-2020-1971
EDIPARTYNAME NULL pointer dereference
Reported by openssl · Published December 8, 2020
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libressl | Alpine | 3.1.5-r0 |
| alpine/nodejs-25 | alpine | 15.5.0, 14.15.4, 12.20.1, 10.23.1 |
| alpine/nodejs-24 | alpine | 15.5.0, 14.15.4, 12.20.1, 10.23.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| OpenSSL | OpenSSL | 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) |
| alpine | libressl | 0 |
| OpenSSL | OpenSSL | 1.0.2, 1.1.1 |
| amazon:2 | edk2-tools-doc | 0 |
| amazon:2 | edk2-ovmf | 0 |
| arch | openssl | 0 |
| amazon:2 | openssl-perl | 0 |
| alpine | openssl1.1-compat | 0 |
| amazon:2 | edk2-aarch64 | 0 |
| amazon:2 | openssl11 | 0 |
| alpine | openssl | 0 |
| amazon:2 | openssl | 0 |
| amazon:2 | openssl-static | 0 |
| arch | nodejs | 15.5.0-1 |
| amazon:2 | edk2-tools | 0 |
| amazon:2 | edk2-tools-python | 0 |
| amazon:2 | openssl11-libs | 0 |
| amazon:2 | openssl-devel | 0 |
| chainguard | mysql-8.0 | 0 |
| amazon:2 | openssl11-devel | 0 |
…and 4 more
Timeline
- Dec 8, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Apr 3, 2025 PoC Published
- Mar 6, 2026 Distribution Patch (54 in total, the first dated here)
- Mar 6, 2026 Security Advisory (72 in total, the first dated here)
- Sep 3, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-1971
vulnetix vdb fixes CVE-2020-1971
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-1971/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- DSA-4807 vendor-advisory
- FreeBSD-SA-20:33 vendor-advisory
- [debian-lts-announce] 20201214 [SECURITY] [DLA 2493-1] openssl1.0 security update mailing-list
- [debian-lts-announce] 20201214 [SECURITY] [DLA 2492-1] openssl security update mailing-list
- FEDORA-2020-ef1870065a vendor-advisory
- [pulsar-commits] 20201216 [GitHub] [pulsar] phijohns-tibco opened a new issue #8978: OpenSSL needs to be updated to 1.1.1i current version is unsupported. mailing-list
- FEDORA-2020-a31b01e945 vendor-advisory
- GLSA-202012-13 vendor-advisory
- [tomcat-dev] 20210207 [Bug 65126] New: A security vulnerability cve-2020-1971 in Tomcat dependency Library in version 9.0.40. mailing-list
…and 7 more