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

CVE-2021-39185

9.1 Gravità critica CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N 9.1 – Critica

Descrizione

Http4s is a minimal, idiomatic Scala interface for HTTP services. In http4s versions 0.21.26 and prior, 0.22.0 through 0.22.2, 0.23.0, 0.23.1, and 1.0.0-M1 through 1.0.0-M24, the default CORS configuration is vulnerable to an origin reflection attack. The middleware is also susceptible to a Null Origin Attack. The problem is fixed in 0.21.27, 0.22.3, 0.23.2, and 1.0.0-M25. The original `CORS` implementation and `CORSConfig` are deprecated. See the GitHub GHSA for more information, including code examples and workarounds.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
typelevel http4s <= 0.21.26 –
typelevel http4s >= 0.22.0 <= 0.22.2 –
typelevel http4s 0.23.0 –
typelevel http4s 0.23.1 –
typelevel http4s 1.0.0 milestone1 –
typelevel http4s 1.0.0 milestone10 –
typelevel http4s 1.0.0 milestone11 –
typelevel http4s 1.0.0 milestone12 –
typelevel http4s 1.0.0 milestone13 –
typelevel http4s 1.0.0 milestone14 –
typelevel http4s 1.0.0 milestone15 –
typelevel http4s 1.0.0 milestone16 –
typelevel http4s 1.0.0 milestone17 –
typelevel http4s 1.0.0 milestone18 –
typelevel http4s 1.0.0 milestone19 –
typelevel http4s 1.0.0 milestone2 –
typelevel http4s 1.0.0 milestone20 –
typelevel http4s 1.0.0 milestone21 –
typelevel http4s 1.0.0 milestone22 –
typelevel http4s 1.0.0 milestone23 –
typelevel http4s 1.0.0 milestone24 –
typelevel http4s 1.0.0 milestone3 –
typelevel http4s 1.0.0 milestone4 –
typelevel http4s 1.0.0 milestone5 –
typelevel http4s 1.0.0 milestone6 –
typelevel http4s 1.0.0 milestone7 –
typelevel http4s 1.0.0 milestone8 –
typelevel http4s 1.0.0 milestone9 –

Tipo di vulnerabilità

CWE-346 Errore di validazione dell’origine

Il prodotto non verifica correttamente che la fonte dei dati o della comunicazione sia legittima.

Impatto sui sistemi

AmbitoImpatto
Controllo degli accessi, Altro Ottenere privilegi o assumere un’altra identità, Dipende dal contesto

Tutte le 829 CVE di tipo CWE-346, con andamento e prevenzione

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