EDIPARTYNAME NULL pointer dereference
Published Dec 8, 2020
5.9
MEDIUMCVSS 3.1
EPSS 7.05%
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).
Affected products
-
- Version Fixed in OpenSSL 1.0.2x (Affected 1.0.2-1.0.2w)StatusaffectedConstraints-
- Version Fixed in OpenSSL 1.1.1i (Affected 1.1.1-1.1.1h)StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
Configuration 1
Configuration 2
- 9.0
- 10.0
Configuration 3
- 32
- 33
Configuration 4
- 11.1.2.4.0
- 5.5.0.0.0
- 5.9.0.0.0
- 12.2.1.3.0
- 12.2.1.4.0
- 1.10.0
- ≥ 8.0.0 · ≤ 8.1.0
- ≥ 8.2.0 · ≤ 8.2.3
- cz8.2
- cz8.3
- cz8.4
- cz8.2
- cz8.3
- cz8.4
- cz8.2
- cz8.3
- cz8.4
- scz8.2.5
- pcz3.1
- pcz3.2
- pcz3.3
- 13.3.0.0
- 13.4.0.0
- 13.4.0.0
- 12.4.0.0
- cz8.2
- cz8.3
- cz8.4
- 21.2
- 19.3.4
- 20.3.0
- 12.2.1.4.0
- < 9.2.5.3
- a9.4
- ≤ 8.0.22
- ≤ 5.7.32
- ≥ 8.0.15 · ≤ 8.0.22
- 8.56
- 8.57
- 8.58
Configuration 5
- n/a
- n/a
- n/a
- n/a
- ≥ 11.0.0 · ≤ 11.60.3
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
- n/a
Configuration 6
- n/a
Configuration 7
- n/a
Configuration 8
- < 6.0.9
- < 5.13.1
Configuration 9
- < 1.0.1.1
Configuration 10
- ≥ 10.0.0 · ≤ 10.12.0
- ≥ 10.13.0 · < 10.23.1
- ≥ 12.0.0 · ≤ 12.12.0
- ≥ 12.13.0 · < 12.20.1
- ≥ 14.0.0 · ≤ 14.14.0
- ≥ 14.15.0 · < 14.15.4
- ≥ 15.0.0 · < 15.5.0
No data.
JBCS 2.4.37 SP6
openssl
Fixed · RHSA-2021:0488
JBoss Core Services on RHEL 7
jbcs-httpd24-brotli-0:1.0.6-40.jbcs.el7
Fixed · RHSA-2021:0486
JBoss Core Services on RHEL 7
jbcs-httpd24-httpd-0:2.4.37-66.jbcs.el7
Fixed · RHSA-2021:0486
JBoss Core Services on RHEL 7
jbcs-httpd24-mod_cluster-native-0:1.3.14-16.Final_redhat_2.jbcs.el7
Fixed · RHSA-2021:0486
JBoss Core Services on RHEL 7
jbcs-httpd24-mod_http2-0:1.15.7-12.jbcs.el7
Fixed · RHSA-2021:0486
JBoss Core Services on RHEL 7
jbcs-httpd24-mod_jk-0:1.2.48-11.redhat_1.jbcs.el7
Fixed · RHSA-2021:0486
JBoss Core Services on RHEL 7
jbcs-httpd24-mod_md-1:2.0.8-31.jbcs.el7
Fixed · RHSA-2021:0486
JBoss Core Services on RHEL 7
jbcs-httpd24-mod_security-0:2.9.2-58.GA.jbcs.el7
Fixed · RHSA-2021:0486
JBoss Core Services on RHEL 7
jbcs-httpd24-nghttp2-0:1.39.2-35.jbcs.el7
Fixed · RHSA-2021:0486
JBoss Core Services on RHEL 7
jbcs-httpd24-openssl-1:1.1.1g-3.jbcs.el7
Fixed · RHSA-2021:0486
JBoss Core Services on RHEL 7
jbcs-httpd24-openssl-chil-0:1.0.0-3.jbcs.el7
Fixed · RHSA-2021:0486
JBoss Core Services on RHEL 7
jbcs-httpd24-openssl-pkcs11-0:0.4.10-18.jbcs.el7
Fixed · RHSA-2021:0486
Red Hat Enterprise Linux 6 Extended Lifecycle Support
openssl-0:1.0.1e-59.el6_10
Fixed · RHSA-2021:0056
Red Hat Enterprise Linux 7
openssl-1:1.0.2k-21.el7_9
Fixed · RHSA-2020:5566
Red Hat Enterprise Linux 7.2 Advanced Update Support
openssl-1:1.0.1e-52.el7_2
Fixed · RHSA-2020:5639
Red Hat Enterprise Linux 7.3 Advanced Update Support
openssl-1:1.0.1e-61.el7_3
Fixed · RHSA-2020:5640
Red Hat Enterprise Linux 7.4 Advanced Update Support
openssl-1:1.0.2k-9.el7_4
Fixed · RHSA-2020:5641
Red Hat Enterprise Linux 7.4 Telco Extended Update Support
openssl-1:1.0.2k-9.el7_4
Fixed · RHSA-2020:5641
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions
openssl-1:1.0.2k-9.el7_4
Fixed · RHSA-2020:5641
Red Hat Enterprise Linux 7.6 Extended Update Support
openssl-1:1.0.2k-17.el7_6
Fixed · RHSA-2020:5642
Red Hat Enterprise Linux 7.7 Extended Update Support
openssl-1:1.0.2k-20.el7_7
Fixed · RHSA-2020:5623
Red Hat Enterprise Linux 8
openssl-1:1.1.1g-12.el8_3
Fixed · RHSA-2020:5476
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions
openssl-1:1.1.1-9.el8_0
Fixed · RHSA-2020:5588
Red Hat Enterprise Linux 8.1 Extended Update Support
openssl-1:1.1.1c-3.el8_1
Fixed · RHSA-2020:5637
Red Hat Enterprise Linux 8.2 Extended Update Support
openssl-1:1.1.1c-16.el8_2
Fixed · RHSA-2020:5422
Red Hat JBoss Web Server 3 for RHEL 7
tomcat-native-0:1.2.23-23.redhat_23.ep7.el7
Fixed · RHSA-2021:0489
Red Hat JBoss Web Server 3.1
openssl
Fixed · RHSA-2021:0491
Red Hat JBoss Web Server 5
openssl
Fixed · RHSA-2021:0495
Red Hat JBoss Web Server 5.4 on RHEL 7
jws5-tomcat-0:9.0.36-9.redhat_8.1.el7jws
Fixed · RHSA-2021:0494
Red Hat JBoss Web Server 5.4 on RHEL 7
jws5-tomcat-native-0:1.2.25-3.redhat_3.el7jws
Fixed · RHSA-2021:0494
Red Hat JBoss Web Server 5.4 on RHEL 8
jws5-tomcat-0:9.0.36-9.redhat_8.1.el8jws
Fixed · RHSA-2021:0494
Red Hat JBoss Web Server 5.4 on RHEL 8
jws5-tomcat-native-0:1.2.25-3.redhat_3.el8jws
Fixed · RHSA-2021:0494
Red Hat OpenShift Do
openshiftdo/odo-init-image-rhel7:1.1.3-2
Fixed · RHSA-2021:0949
Red Hat Enterprise Linux 5
openssl
Out of support scope
Red Hat Enterprise Linux 5
openssl097a
Not affected
Red Hat Enterprise Linux 6
openssl098e
Not affected
Red Hat Enterprise Linux 7
openssl098e
Not affected
Red Hat Enterprise Linux 8
compat-openssl10
Will not fix
Red Hat Enterprise Linux 9
openssl
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| JBCS 2.4.37 SP6 | openssl | Fixed | RHSA-2021:0488 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-brotli-0:1.0.6-40.jbcs.el7 | Fixed | RHSA-2021:0486 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-httpd-0:2.4.37-66.jbcs.el7 | Fixed | RHSA-2021:0486 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-mod_cluster-native-0:1.3.14-16.Final_redhat_2.jbcs.el7 | Fixed | RHSA-2021:0486 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-mod_http2-0:1.15.7-12.jbcs.el7 | Fixed | RHSA-2021:0486 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-mod_jk-0:1.2.48-11.redhat_1.jbcs.el7 | Fixed | RHSA-2021:0486 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-mod_md-1:2.0.8-31.jbcs.el7 | Fixed | RHSA-2021:0486 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-mod_security-0:2.9.2-58.GA.jbcs.el7 | Fixed | RHSA-2021:0486 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-nghttp2-0:1.39.2-35.jbcs.el7 | Fixed | RHSA-2021:0486 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-openssl-1:1.1.1g-3.jbcs.el7 | Fixed | RHSA-2021:0486 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-openssl-chil-0:1.0.0-3.jbcs.el7 | Fixed | RHSA-2021:0486 |
| JBoss Core Services on RHEL 7 | jbcs-httpd24-openssl-pkcs11-0:0.4.10-18.jbcs.el7 | Fixed | RHSA-2021:0486 |
| Red Hat Enterprise Linux 6 Extended Lifecycle Support | openssl-0:1.0.1e-59.el6_10 | Fixed | RHSA-2021:0056 |
| Red Hat Enterprise Linux 7 | openssl-1:1.0.2k-21.el7_9 | Fixed | RHSA-2020:5566 |
| Red Hat Enterprise Linux 7.2 Advanced Update Support | openssl-1:1.0.1e-52.el7_2 | Fixed | RHSA-2020:5639 |
| Red Hat Enterprise Linux 7.3 Advanced Update Support | openssl-1:1.0.1e-61.el7_3 | Fixed | RHSA-2020:5640 |
| Red Hat Enterprise Linux 7.4 Advanced Update Support | openssl-1:1.0.2k-9.el7_4 | Fixed | RHSA-2020:5641 |
| Red Hat Enterprise Linux 7.4 Telco Extended Update Support | openssl-1:1.0.2k-9.el7_4 | Fixed | RHSA-2020:5641 |
| Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions | openssl-1:1.0.2k-9.el7_4 | Fixed | RHSA-2020:5641 |
| Red Hat Enterprise Linux 7.6 Extended Update Support | openssl-1:1.0.2k-17.el7_6 | Fixed | RHSA-2020:5642 |
| Red Hat Enterprise Linux 7.7 Extended Update Support | openssl-1:1.0.2k-20.el7_7 | Fixed | RHSA-2020:5623 |
| Red Hat Enterprise Linux 8 | openssl-1:1.1.1g-12.el8_3 | Fixed | RHSA-2020:5476 |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | openssl-1:1.1.1-9.el8_0 | Fixed | RHSA-2020:5588 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | openssl-1:1.1.1c-3.el8_1 | Fixed | RHSA-2020:5637 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | openssl-1:1.1.1c-16.el8_2 | Fixed | RHSA-2020:5422 |
| Red Hat JBoss Web Server 3 for RHEL 7 | tomcat-native-0:1.2.23-23.redhat_23.ep7.el7 | Fixed | RHSA-2021:0489 |
| Red Hat JBoss Web Server 3.1 | openssl | Fixed | RHSA-2021:0491 |
| Red Hat JBoss Web Server 5 | openssl | Fixed | RHSA-2021:0495 |
| Red Hat JBoss Web Server 5.4 on RHEL 7 | jws5-tomcat-0:9.0.36-9.redhat_8.1.el7jws | Fixed | RHSA-2021:0494 |
| Red Hat JBoss Web Server 5.4 on RHEL 7 | jws5-tomcat-native-0:1.2.25-3.redhat_3.el7jws | Fixed | RHSA-2021:0494 |
| Red Hat JBoss Web Server 5.4 on RHEL 8 | jws5-tomcat-0:9.0.36-9.redhat_8.1.el8jws | Fixed | RHSA-2021:0494 |
| Red Hat JBoss Web Server 5.4 on RHEL 8 | jws5-tomcat-native-0:1.2.25-3.redhat_3.el8jws | Fixed | RHSA-2021:0494 |
| Red Hat OpenShift Do | openshiftdo/odo-init-image-rhel7:1.1.3-2 | Fixed | RHSA-2021:0949 |
| Red Hat Enterprise Linux 5 | openssl | Out of support scope | n/a |
| Red Hat Enterprise Linux 5 | openssl097a | Not affected | n/a |
| Red Hat Enterprise Linux 6 | openssl098e | Not affected | n/a |
| Red Hat Enterprise Linux 7 | openssl098e | Not affected | n/a |
| Red Hat Enterprise Linux 8 | compat-openssl10 | Will not fix | n/a |
| Red Hat Enterprise Linux 9 | openssl | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat 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 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.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed May 29, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (26 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 7.05% (0.07051) | 94.01th | v5 (v2026.06.15) |
| Jun 15, 2026 | 7.20% (0.07201) | 93.48th | v5 (v2026.06.15) |
| Nov 21, 2025 | 0.34% (0.00345) | 56.42th | v4 (v2025.03.14) |
| Nov 18, 2025 | 9.59% (0.09588) | 92.05th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.27% (0.00274) | 48.80th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.44% (0.00437) | 75.57th | v3 (v2023.03.01) |
| Feb 15, 2024 | 0.43% (0.00425) | 73.67th | v3 (v2023.03.01) |
| Jan 11, 2024 | 0.43% (0.00425) | 71.65th | v3 (v2023.03.01) |
| Nov 8, 2023 | 0.40% (0.00404) | 70.77th | v3 (v2023.03.01) |
| Jul 15, 2023 | 0.37% (0.00374) | 69.05th | v3 (v2023.03.01) |
| Jun 19, 2023 | 0.36% (0.00363) | 68.39th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.32% (0.00318) | 65.70th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.72% (0.04720) | 89.23th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.72% (0.04720) | 88.14th | v2 (v2022.01.01) |
| Feb 4, 2022 | 35.45% (0.35455) | 96.81th | v2 (v2022.01.01) |
| Feb 3, 2022 | 22.21% (0.22206) | 94.78th | v1 |
| Jan 6, 2022 | 22.21% (0.22206) | 94.72th | v1 |
| Oct 21, 2021 | 5.98% (0.05981) | 89.73th | v1 |
| Sep 15, 2021 | 5.75% (0.05745) | 89.11th | v1 |
| Sep 1, 2021 | 5.51% (0.05507) | 88.54th | v1 |
| Jul 21, 2021 | 5.51% (0.05507) | 0.00th | v1 |
| Jun 15, 2021 | 5.27% (0.05268) | 0.00th | v1 |
| Jun 3, 2021 | 5.03% (0.05028) | 0.00th | v1 |
| May 14, 2021 | 4.79% (0.04787) | 0.00th | v1 |
| May 12, 2021 | 4.54% (0.04545) | 0.00th | v1 |
| Apr 14, 2021 | 4.30% (0.04302) | 0.00th | v1 |
References (30)
- http://www.openwall.com/lists/oss-security/2021/09/14/2 mailing-listMailing ListThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2020-1971 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1903409 Issue Tracking
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf Third Party Advisory
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2154ab83e14ede338d2ede9bbe5cdfce5d5a6c9e
- https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=f960d81215ebf3f65e03d4d5d857fb9b666d6920
- https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44676 Third Party Advisory
- https://lists.apache.org/thread.html/r63c6f2dd363d9b514d0a4bcf624580616a679898cc14c109a49b750c%40%3Cdev.tomcat.apache.org%3E mailing-list
- https://lists.apache.org/thread.html/rbb769f771711fb274e0a4acb1b5911c8aab544a6ac5e8c12d40c5143%40%3Ccommits.pulsar.apache.org%3E mailing-list
- https://lists.debian.org/debian-lts-announce/2020/12/msg00020.html mailing-listMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/12/msg00021.html mailing-listMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DGSI34Y5LQ5RYXN4M2I5ZQT65LFVDOUU/ vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PWPSSZNZOBJU2YR6Z4TGHXKYW3YP5QG7/ vendor-advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-1971
- https://security.FreeBSD.org/advisories/FreeBSD-SA-20:33.openssl.asc vendor-advisoryThird Party Advisory
- https://security.gentoo.org/glsa/202012-13 vendor-advisoryThird Party Advisory
- https://security.netapp.com/advisory/ntap-20201218-0005/ Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210513-0002/ Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240621-0006/
- https://www.cve.org/CVERecord?id=CVE-2020-1971
- https://www.debian.org/security/2020/dsa-4807 vendor-advisoryThird Party Advisory
- https://www.openssl.org/news/secadv/20201208.txt Vendor Advisory
- https://www.oracle.com//security-alerts/cpujul2021.html PatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuApr2021.html PatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.html PatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpujan2021.html Third Party Advisory
- https://www.oracle.com/security-alerts/cpuoct2021.html Third Party Advisory
- https://www.tenable.com/security/tns-2020-11 Third Party Advisory
- https://www.tenable.com/security/tns-2021-09 Third Party Advisory
- https://www.tenable.com/security/tns-2021-10 Third Party Advisory
Change history (0)
No recorded changes yet.