1. Archivio CVE
  2. 2020
  3. CVE-2020-1971

CVE-2020-1971

5.9 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H 5.9 – Media

Descrizione

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).

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
debian debian linux 9.0 –
debian debian linux 10.0 –
fedoraproject fedora 32 –
fedoraproject fedora 33 –
netapp active iq unified manager tutte vmware_vsphere
netapp active iq unified manager tutte windows
netapp aff a250 firmware tutte –
netapp clustered data ontap antivirus connector tutte –
netapp data ontap tutte 7-mode
netapp e-series santricity os controller >= 11.0.0 <= 11.60.3 –
netapp ef600a firmware tutte –
netapp hci compute node tutte –
netapp hci management node tutte –
netapp hci storage node tutte –
netapp manageability software development kit tutte –
netapp oncommand insight tutte –
netapp oncommand workflow automation tutte –
netapp plug-in for symantec netbackup tutte –
netapp santricity smi-s provider tutte –
netapp snapcenter tutte –
netapp solidfire tutte –
nodejs node.js >= 10.0.0 <= 10.12.0 –
nodejs node.js >= 10.13.0 < 10.23.1 –
nodejs node.js >= 12.0.0 <= 12.12.0 –
nodejs node.js >= 12.13.0 < 12.20.1 –
nodejs node.js >= 14.0.0 <= 14.14.0 –
nodejs node.js >= 14.15.0 < 14.15.4 –
nodejs node.js >= 15.0.0 < 15.5.0 –
openssl openssl >= 1.0.2 < 1.0.2x –
openssl openssl >= 1.1.1 < 1.1.1i –
oracle api gateway 11.1.2.4.0 –
oracle business intelligence 5.5.0.0.0 –
oracle business intelligence 5.9.0.0.0 –
oracle business intelligence 12.2.1.3.0 –
oracle business intelligence 12.2.1.4.0 –
oracle communications cloud native core network function cloud native environment 1.10.0 –
oracle communications diameter intelligence hub >= 8.0.0 <= 8.1.0 –
oracle communications diameter intelligence hub >= 8.2.0 <= 8.2.3 –
oracle communications session border controller cz8.2 –
oracle communications session border controller cz8.3 –
oracle communications session border controller cz8.4 –
oracle communications session router cz8.2 –
oracle communications session router cz8.3 –
oracle communications session router cz8.4 –
oracle communications subscriber-aware load balancer cz8.2 –
oracle communications subscriber-aware load balancer cz8.3 –
oracle communications subscriber-aware load balancer cz8.4 –
oracle communications unified session manager scz8.2.5 –
oracle enterprise communications broker pcz3.1 –
oracle enterprise communications broker pcz3.2 –
oracle enterprise communications broker pcz3.3 –
oracle enterprise manager base platform 13.3.0.0 –
oracle enterprise manager base platform 13.4.0.0 –
oracle enterprise manager for storage management 13.4.0.0 –
oracle enterprise manager ops center 12.4.0.0 –
oracle enterprise session border controller cz8.2 –
oracle enterprise session border controller cz8.3 –
oracle enterprise session border controller cz8.4 –
oracle essbase 21.2 –
oracle graalvm 19.3.4 –
oracle graalvm 20.3.0 –
oracle http server 12.2.1.4.0 –
oracle jd edwards enterpriseone tools < 9.2.5.3 –
oracle jd edwards world security a9.4 –
oracle mysql <= 8.0.22 –
oracle mysql server <= 5.7.32 –
oracle mysql server >= 8.0.15 <= 8.0.22 –
oracle peoplesoft enterprise peopletools 8.56 –
oracle peoplesoft enterprise peopletools 8.57 –
oracle peoplesoft enterprise peopletools 8.58 –
siemens sinec infrastructure network services < 1.0.1.1 –
tenable log correlation engine < 6.0.9 –
tenable nessus network monitor < 5.13.1 –
Tutte le 340 vulnerabilità di Openssl

Tipo di vulnerabilità

CWE-476 Dereferenziazione di un puntatore NULL

Il prodotto usa un puntatore che si aspetta valido ma che in realtà è NULL, di solito causando un arresto anomalo.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: arresto o riavvio
Integrità, Riservatezza Eseguire codice o comandi non autorizzati, Leggere la memoria, Modificare la memoria

Come si previene

Sviluppo For any pointers that could have been modified or provided from a function that can return NULL, check the pointer for NULL before use. When working with a multithreaded or otherwise asynchronous environment, ensure that proper locking APIs are used to lock before the check, and unlock when it has finished.
Requisiti Select a programming language that is not susceptible to these issues.
Sviluppo Check the results of all functions that return a value and verify that the value is non-null before acting upon it.
Architettura e progettazione Identify all variables and data stores that receive information from external sources, and apply input validation to make sure that they are only initialized to expected values.
Sviluppo Explicitly initialize all variables and other data stores, either during declaration or just before the first usage.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 5.802 CVE di tipo CWE-476, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org