1. Archivio CVE
  2. 2023
  3. CVE-2023-28321

CVE-2023-28321

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:H/A:N 5.9 – Media

Descrizione

An improper certificate validation vulnerability exists in curl <v8.1.0 in the way it supports matching of wildcard patterns when listed as "Subject Alternative Name" in TLS server certificates. curl can be built to use its own name matching function for TLS rather than one provided by a TLS library. This private wildcard matching function would match IDN (International Domain Name) hosts incorrectly and could as a result accept patterns that otherwise should mismatch. IDN hostnames are converted to puny code before used for certificate checks. Puny coded names always start with `xn--` and should not be allowed to pattern match, but the wildcard check in curl could still check for `x*`, which would match even though the IDN name most likely contained nothing even resembling an `x`.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apple macos >= 11.0 < 11.7.9 –
apple macos >= 12.0 < 12.6.8 –
apple macos >= 13.0 < 13.5 –
debian debian linux 10.0 –
fedoraproject fedora 37 –
fedoraproject fedora 38 –
haxx curl < 8.1.0 –
netapp clustered data ontap tutte –
netapp h300s firmware tutte –
netapp h410s firmware tutte –
netapp h500s firmware tutte –
netapp h700s firmware tutte –
netapp ontap antivirus connector tutte –
Tutte le 169 vulnerabilità di Haxx Curl

Tipo di vulnerabilità

CWE-295 Validazione impropria del certificato

Il prodotto non verifica, o verifica in modo errato, un certificato digitale, esponendo le comunicazioni a intercettazioni.

Impatto sui sistemi

AmbitoImpatto
Integrità, Autenticazione Aggirare i meccanismi di protezione, Ottenere privilegi o assumere un’altra identità

Come si previene

Architettura e progettazione · Sviluppo Certificates should be carefully managed and checked to assure that data are encrypted with the intended owner's public key.
Sviluppo If certificate pinning is being used, ensure that all relevant properties of the certificate are fully validated before the certificate is pinned, including the hostname.

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

Tutte le 1.817 CVE di tipo CWE-295, con andamento e prevenzione

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