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...
- https://bugs.mageia.org/show_bug.cgi?id=27791
- https://openssl-library.org/news/secadv/20201208.txt
- https://lists.debian.org/debian-security-announce/2020/msg00214.html
- https://ubuntu.com/security/notices/USN-4662-1
- https://www.cve.org/CVERecord?id=CVE-2020-1971
- 7/core/openssl-1.1.0l-1.2.mga7
Get the latest Linux and open source security news straight to your inbox.