CVE-2020-1971
openssl: EDIPARTYNAME NULL pointer de-reference
Overview
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).
Source: OX vulnerability database
Severity
5.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-476
Affected packages · 5
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | node | >=10.13.0, <10.23.1>=12.13.0, <12.20.1>=14.15.0, <14.15.4>=15.0.0, <15.5.0 | 10.23.112.20.114.15.415.5.0 |
| Bitnami | node-min | >=10.0.0, <10.12.1>=10.13.0, <10.23.1>=12.0.0, <12.12.1>=12.13.0, <12.20.1>=14.15.0, <14.15.4+2 more | 10.12.110.23.112.12.112.20.114.15.4 |
| Conan (C/C++) | openssl | >=1.0.2 <=1.0.2w||>=1.1.1 <=1.1.1h | 1.1.0k1.1.1i |
| Julia | Openresty_jll | <1.19.9+0 | 1.19.9+0 |
| Julia | OpenSSL_jll | <1.1.10+0 | 1.1.10+0 |
Open a package to see all its vulnerabilities.
Operating systems · 69 fixes
Oracle Linux 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +4 | 1:1.0.2k-21.el7_9 |
| 7 | openssl +4 | 1:1.0.2k-21.ksplice1.el7_9 |
| 8 | openssl +3 | 1:1.1.1g-12.el8_3 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | mysql +2 | 8.0.23-1.ph4 |
Red Hat 2 releases · 17 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | jbcs-httpd24-openssl-pkcs11 | 0:0.4.10-18.jbcs.el7 | RHSA-2021:0486 |
| 7 | jbcs-httpd24-openssl-chil | 0:1.0.0-3.jbcs.el7 | RHSA-2021:0486 |
| 7 | jbcs-httpd24-brotli +1 | 0:1.0.6-40.jbcs.el7 | RHSA-2021:0486 |
| 7 | jbcs-httpd24-mod-http2 | 0:1.15.7-12.jbcs.el7 | RHSA-2021:0486 |
| 7 | tomcat-native | 0:1.2.23-23.redhat_23.ep7.el7 | RHSA-2021:0489 |
| 7 | jws5-tomcat-native | 0:1.2.25-3.redhat_3.el7jws | RHSA-2021:0494 |
22 more rows
SUSE Linux Enterprise 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libopenssl-1-0-0-devel +6 | 1.0.2p-3.30.1 | SUSE-SU-2020:3732-1 |
| 12.5 | libopenssl-1-1-devel +4 | 1.1.1d-2.27.1 | SUSE-SU-2020:3740-1 |
alpine 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 1.1.1i-r0 |
| 3.22 | libressl | 3.1.5-r0 |
| 3.23 | openssl | 1.1.1i-r0 |
| 3.23 | libressl | 3.1.5-r0 |
| 3.24 | openssl | 1.1.1i-r0 |
| 3.24 | libressl | 3.1.5-r0 |
2 more rows
chainguard 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| mysql-8-0 | 8.0.38-r0 |
debian 6 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssl | 1.1.1d-0+deb10u4 |
| 11 | openssl | 1.1.1i-1 |
| 12 | openssl | 1.1.1i-1 |
| 13 | openssl | 1.1.1i-1 |
| 14 | openssl | 1.1.1i-1 |
| 9 | openssl1-0 | 1.0.2u-1~deb9u3 |
1 more row
echo 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-1-0-1g | 1.0.1g+e1 | |
| openssl-1-1-1c | 1.1.1c+e1 | |
| openssl-1-1-1g | 1.1.1g+e1 | |
| openssl | 1.1.1i-1 |
openSUSE 1 release · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-1-0-0-devel +11 | 1.0.2u-12.1 | openSUSE-SU-2024:12687-1 |
| Tumbleweed | libopenssl-1-1-devel +6 | 1.1.1l-1.2 | openSUSE-SU-2024:11127-1 |
| Tumbleweed | matrix-synapse | 1.43.0-1.1 | openSUSE-SU-2024:11041-1 |
| Tumbleweed | libopenssl-3-devel +5 | 3.0.1-1.1 | openSUSE-SU-2024:11797-1 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 1.1.1i-r0 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openssl | 1.1.1i-1 |
| 12 | rootio-openssl | 1.1.1i-1 |
seal Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
ubuntu 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | openssl1-0 | 1.0.2n-1ubuntu5.5 |
| 18.04 | openssl | 1.1.1-1ubuntu2.1~18.04.7 |
| 18.04-ESM | openssl1-0 | 1.0.2n-1ubuntu5.5 |
| 18.04-ESM | openssl | 1.1.1-1ubuntu2.1~18.04.7 |
| 20.04 | openssl | 1.1.1f-1ubuntu2.1 |
| 20.04-ESM | openssl | 1.1.1f-1ubuntu2.1 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2021/09/14/2
- access.redhat.com https://access.redhat.com/security/cve/CVE-2020-1971
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git%3Ba=commitdiff%3Bh=2154ab83e14ede338d2ede9bbe5cdfce5d5a6c9e
- git.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;a=commitdiff;h=2154ab83e14ede338d2ede9bbe5cdfce5d5a6c9e
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=f960d81215ebf3f65e03d4d5d857fb9b666d6920
- github.com https://github.com/advisories/GHSA-whf2-mq76-2fhv
- kb.pulsesecure.net https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44676
- linux.oracle.com https://linux.oracle.com/cve/CVE-2020-1971.html
Show all 45 references
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2021-9150.html
- lists.apache.org https://lists.apache.org/thread.html/r63c6f2dd363d9b514d0a4bcf624580616a679898cc14c109a49b750c%40%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r63c6f2dd363d9b514d0a4bcf624580616a679898cc14c109a49b750c@%3Cdev.tomcat.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rbb769f771711fb274e0a4acb1b5911c8aab544a6ac5e8c12d40c5143%40%3Ccommits.pulsar.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rbb769f771711fb274e0a4acb1b5911c8aab544a6ac5e8c12d40c5143@%3Ccommits.pulsar.apache.org%3E
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/12/msg00020.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2020/12/msg00021.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DGSI34Y5LQ5RYXN4M2I5ZQT65LFVDOUU
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DGSI34Y5LQ5RYXN4M2I5ZQT65LFVDOUU/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PWPSSZNZOBJU2YR6Z4TGHXKYW3YP5QG7
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PWPSSZNZOBJU2YR6Z4TGHXKYW3YP5QG7/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DGSI34Y5LQ5RYXN4M2I5ZQT65LFVDOUU
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PWPSSZNZOBJU2YR6Z4TGHXKYW3YP5QG7
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2020-1971
- security.FreeBSD.org https://security.FreeBSD.org/advisories/FreeBSD-SA-20:33.openssl.asc
- security.gentoo.org https://security.gentoo.org/glsa/202012-13
- security.netapp.com https://security.netapp.com/advisory/ntap-20201218-0005
- security.netapp.com https://security.netapp.com/advisory/ntap-20201218-0005/
- security.netapp.com https://security.netapp.com/advisory/ntap-20210513-0002
- security.netapp.com https://security.netapp.com/advisory/ntap-20210513-0002/
- security.netapp.com https://security.netapp.com/advisory/ntap-20240621-0006
- security.netapp.com https://security.netapp.com/advisory/ntap-20240621-0006/
- ubuntu.com https://ubuntu.com/security/notices/USN-4662-1
- ubuntu.com https://ubuntu.com/security/notices/USN-4745-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2020-1971
- www.debian.org https://www.debian.org/security/2020/dsa-4807
- www.openssl.org https://www.openssl.org/news/secadv/20201208.txt
- www.oracle.com https://www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuApr2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujan2021.html
- www.oracle.com https://www.oracle.com/security-alerts/cpuoct2021.html
- www.tenable.com https://www.tenable.com/security/tns-2020-11
- www.tenable.com https://www.tenable.com/security/tns-2021-09
- www.tenable.com https://www.tenable.com/security/tns-2021-10
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.