Katalog CVE

CVE-2023-0286

WysokieCVSS 7.4
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Bardzo wysokie ryzyko
61.98%

Percentyl 99 - wyżej niż 99% wszystkich znanych CVE

Streszczenie

W OpenSSL występuje podatność typu type confusion związana z przetwarzaniem adresów X.400 wewnątrz X.509 GeneralName. Adresy X.400 są parsowane jako ASN1_STRING, ale publiczna definicja struktury GENERAL_NAME błędnie określa typ pola x400Address jako ASN1_TYPE, co jest następnie interpretowane przez funkcję GENERAL_NAME_cmp jako ASN1_TYPE zamiast ASN1_STRING. Gdy włączone jest sprawdzanie CRL (flaga X509_V_FLAG_CRL_CHECK), atakujący może przekazać dowolne wskaźniki do wywołania memcmp, umożliwiając odczyt pamięci lub odmowę usługi.

Ocena ryzyka

Aplikacje korzystające ze sprawdzania CRL mogą być narażone na odczyt pamięci lub odmowę usługi, co może prowadzić do wycieku danych lub niedostępności usługi.

Rekomendacja

Zaktualizuj OpenSSL do wersji zawierającej poprawkę; jeśli aktualizacja nie jest możliwa, rozważ wyłączenie sprawdzania CRL, o ile nie jest wymagane.

Inne podatności w OpenSSL

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

There is a type confusion vulnerability relating to X.400 address processing inside an X.509 GeneralName. X.400 addresses were parsed as an ASN1_STRING but the public structure definition for GENERAL_NAME incorrectly specified the type of the x400Address field as ASN1_TYPE. This field is subsequently interpreted by the OpenSSL function GENERAL_NAME_cmp as an ASN1_TYPE rather than an ASN1_STRING. When CRL checking is enabled (i.e. the application sets the X509_V_FLAG_CRL_CHECK flag), this vulnerability may allow an attacker to pass arbitrary pointers to a memcmp call, enabling them to read memory contents or enact a denial of service. In most cases, the attack requires the attacker to provide both the certificate chain and CRL, neither of which need to have a valid signature. If the attacker only controls one of these inputs, the other input must already contain an X.400 address as a CRL distribution point, which is uncommon. As such, this vulnerability is most likely to only affect applications which have implemented their own functionality for retrieving CRLs over a network.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS