1. Archivio CVE
  2. 2021
  3. CVE-2021-23841

CVE-2021-23841

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 OpenSSL public API function X509_issuer_and_serial_hash() attempts to create a unique hash value based on the issuer and serial number data contained within an X509 certificate. However it fails to correctly handle any errors that may occur while parsing the issuer field (which might occur if the issuer field is maliciously constructed). This may subsequently result in a NULL pointer deref and a crash leading to a potential denial of service attack. The function X509_issuer_and_serial_hash() is never directly called by OpenSSL itself so applications are only vulnerable if they use this function directly and they use it on certificates that may have been obtained from untrusted sources. OpenSSL versions 1.1.1i and below are affected by this issue. Users of these versions should upgrade to OpenSSL 1.1.1j. OpenSSL versions 1.0.2x and below are affected by this issue. However OpenSSL 1.0.2 is out of support and no longer receiving public updates. Premium support customers of OpenSSL 1.0.2 should upgrade to 1.0.2y. Other users should upgrade to 1.1.1j. Fixed in OpenSSL 1.1.1j (Affected 1.1.1-1.1.1i). Fixed in OpenSSL 1.0.2y (Affected 1.0.2-1.0.2x).

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apple ipados < 14.6 –
apple iphone os < 14.6 –
apple macos >= 11.1 < 11.4 –
apple safari < 14.1.1 –
debian debian linux 10.0 –
netapp oncommand insight tutte –
netapp oncommand workflow automation tutte –
netapp snapcenter tutte –
openssl openssl >= 1.0.2 < 1.0.2y –
openssl openssl >= 1.1.1 < 1.1.1j –
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 policy 1.15.0 –
oracle enterprise manager for storage management 13.4.0.0 –
oracle enterprise manager ops center 12.4.0.0 –
oracle essbase 21.2 –
oracle graalvm 19.3.5 –
oracle graalvm 20.3.1.2 –
oracle graalvm 21.0.0.2 –
oracle jd edwards world security a9.4 –
oracle mysql enterprise monitor < 8.0.23 –
oracle mysql server < 5.7.33 –
oracle mysql server >= 8.0.15 < 8.0.23 –
oracle peoplesoft enterprise peopletools 8.57 –
oracle peoplesoft enterprise peopletools 8.58 –
oracle peoplesoft enterprise peopletools 8.59 –
oracle zfs storage appliance kit 8.8 –
siemens sinec ins < 1.0 –
siemens sinec ins 1.0 –
siemens sinec ins 1.0 sp1 –
tenable nessus network monitor 5.11.0 –
tenable nessus network monitor 5.11.1 –
tenable nessus network monitor 5.12.0 –
tenable nessus network monitor 5.12.1 –
tenable nessus network monitor 5.13.0 –
tenable tenable.sc >= 5.13.0 <= 5.17.0 –
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.818 CVE di tipo CWE-476, con andamento e prevenzione

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