SecurityContext

CVE-2020-1971: OpenSSL - Null Pointer Dereference

  • Cve: CVE-2020-1971
  • Name: OpenSSL - Null Pointer Dereference
  • 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).
  • Impact: Attackers can cause a crash in OpenSSL, resulting in a denial of service condition.
  • Remediation: Update to OpenSSL 1.1.1i or 1.0.2x to fix the issue.
  • Vulnerability type: null_pointer_dereference
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.9
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.06994
  • Epss percentile: 0.94306
  • Assignee: [email protected]
  • Published at: 2020-12-08T16:15:11Z
  • Age in days: 2177
  • Modified at: 2026-06-17T03:02:44Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 26
  • Products total: 44
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-1971
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-476NULL Pointer Dereference

Public exploits

UrlSourceAdded date
https://github.com/MBHudson/CVE-2020-1971poc-in-github2020-12-09

References

Same in every row:

  • Source: nvd
UrlTags
https://www.oracle.com//security-alerts/cpujul2021.htmlPatch, Third Party Advisory
https://www.oracle.com/security-alerts/cpuApr2021.htmlPatch, Third Party Advisory
https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
https://www.openssl.org/news/secadv/20201208.txtVendor Advisory
http://www.openwall.com/lists/oss-security/2021/09/14/2Mailing List, Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdfThird Party Advisory
https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44676Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/12/msg00020.htmlMailing List, Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/12/msg00021.htmlMailing List, Third Party Advisory
https://security.FreeBSD.org/advisories/FreeBSD-SA-20:33.openssl.ascThird Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
openssl:openssl>= 1.1.1, < 1.1.1i; >= 1.0.2, < 1.0.2x/v1/products/openssl/openssl
debian:debian_linux= 10.0, = 9.0/v1/products/debian/debian_linux
fedoraproject:fedora= 33, = 32/v1/products/fedoraproject/fedora
oracle:mysql<= 8.0.22/v1/products/oracle/mysql
netapp:oncommand_insightall versions/v1/products/netapp/oncommand_insight
netapp:active_iq_unified_managerall versions/v1/products/netapp/active_iq_unified_manager
netapp:oncommand_workflow_automationall versions/v1/products/netapp/oncommand_workflow_automation
netapp:snapcenterall versions/v1/products/netapp/snapcenter
oracle:peoplesoft_enterprise_peopletools= 8.58, = 8.57, = 8.56/v1/products/oracle/peoplesoft_enterprise_peopletools
oracle:mysql_server>= 8.0.15, <= 8.0.22; <= 5.7.32/v1/products/oracle/mysql_server

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-12-09
  • Remote: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports