llamaCVEVulnerability Intelligence
/
Advisory · GitHub · npm · undici

GHSA-F72V-6W45-Q472

undici vulnerable to Subresource Integrity bypass via non-lowercase algorithm tokens

Parche disponible
Descargar PNG JSON
CVSS
—
medium
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a -8 d de la divulgación
Exposición27 dDesde la divulgación, 23 oct 2026, 5:12 p. m.
Detección24 dDesde la divulgación hasta su ingreso al índice
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +1
Explotación
Remediación
Parche 7.30.1 +1
Monitoreo
Detectada
15 oct 26
23 oct 26
17 nov 26
19 nov 26
15 oct 26
24 oct 26
2 nov 26
11 nov 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 7.30.1 undici · -8 d desde divulgación
Remediación Parche 8.12.2 undici · -8 d desde divulgación
Divulgación Publicada GHSA-F72V-6W45-Q472 divulgada
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Impact

undici's `fetch()` verifies Subresource Integrity (SRI) metadata by looking up the algorithm token in a lowercase-only set, but the SRI specification defines a valid token by its ASCII-lowercase form. A correct but non-lowercase token such as `SHA256-...` or `Sha256-...` is therefore treated as unknown and skipped. When no recognized algorithm remains, undici treats the integrity list as empty and accepts the response, so a server that returns a body different from the pinned digest passes the check.

An application that pins a response with a valid uppercase or mixed-case SRI token receives attacker-controlled bytes with no integrity error. The attacker needs only to control the response body, not the application's integrity metadata. The issue affects response integrity only. The regression was introduced in undici 7.15.0; releases 7.14.0 and earlier lowercase the token and are not affected.

Patches

Upgrade to `7.30.1` or `8.12.2`. undici now normalizes the algorithm token to ASCII lowercase before validating it and before selecting the strongest algorithm, so case variants of SHA-256, SHA-384, and SHA-512 are verified correctly.

Workarounds

Use lowercase algorithm tokens (`sha256`, `sha384`, `sha512`) in `integrity` metadata.

Versiones

Rangos afectados

Afectada Corregida Última
undici≥ 7.15.0 < 7.30.1
undici≥ 8.0.0 < 8.12.2
7.15.0
7.30.1
8.0.0
8.12.2
8.12.4
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npmundici
Corregida 7.30.1, 8.12.2 -8 d · -8 d 8.12.4 no afectada
Versiones corregidas7.30.18.12.2
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-109841
Otrahttps://github.com/nodejs/undici/security/advisories/GHSA-f72v-6w45-q472
Otrahttps://github.com/nodejs/undici/commit/18bc8a1e09d15bc45815154a289dcf6fd5254d00
Otrahttps://github.com/nodejs/undici/commit/4f7ef6806e532ab9e29ccd6229b1b9d241e1b1f0
Otrahttps://cna.openjsf.org/security-advisories.html
Otrahttps://github.com/nodejs/undici
Otrahttps://github.com/nodejs/undici/releases/tag/v7.30.1
Otrahttps://github.com/nodejs/undici/releases/tag/v8.12.2

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.