1. Archivio CVE
  2. 2026
  3. CVE-2026-61741

CVE-2026-61741

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

Descrizione

http4s-scala-xml provides `EntityDecoder[F, scala.xml.Elem]` instances that parse XML message bodies. Prior to versions 0.24.1 and 1.0.0-M39, these decoders used a `javax.xml.parsers.SAXParserFactory` obtained from `SAXParserFactory.newInstance` without any security configuration. With the JDK's default settings, the parser resolves DOCTYPE declarations, external general and parameter entities, and external DTDs.An application that uses these decoders to parse untrusted XML is vulnerable to XML External Entity (XXE) attacks. An attacker can craft a request that discloses local files readable by the service process, performs server-side request forgery (SSRF) against internal network resources, and/or causes denial of service through entity expansion. Versions 0.24.1 and 1.0.0-M39 fix the issue.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
http4s http4s-scala-xml < 0.24.1 –
http4s http4s-scala-xml >= 1.0.0-M1, < 1.0.0-M39 –

Tipo di vulnerabilità

CWE-611 XML External Entity (XXE): riferimenti a entità esterne non limitati

Il prodotto elabora documenti XML che possono contenere entità che puntano a risorse esterne, finendo per includere nel risultato file o contenuti che non dovrebbe raggiungere.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione, Leggere file o cartelle
Integrità Aggirare i meccanismi di protezione
Disponibilità Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria

Come si previene

Sviluppo · Configurazione del sistema Many XML parsers and validators can be configured to disable external entity expansion.

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

Tutte le 1.386 CVE di tipo CWE-611, con andamento e prevenzione

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