Amenazas en vivo

Todas las CVE / Hapijs

CVE-2015-9236Hapijs Hapi

Media 5.3 Sin autenticación

Prioridad
47
CVSS 3.0
5.3
EPSS
1.5%
probabilidad de explotación en 30 días · percentil 74
Requiere autenticación
No
Publicada
31 may 2018
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-284, CWE-200
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Qué pasa

Hapi versions less than 11.0.0 implement CORS incorrectly and allowed for configurations that at best returned inconsistent headers and at worst allowed cross-origin activities that were expected to be forbidden. If the connection has CORS enabled but one route has it off, and the route is not GET, the OPTIONS prefetch request will return the default CORS headers and then the actual request will go through and return no CORS headers. This defeats the purpose of turning CORS on the route.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Hapi.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
npm hapi < 11.0.0 11.0.0 npm install hapi@11.0.0

Según OSV / GitHub Advisories (GHSA-vwrf-r5r4-7775). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
hapijshapi< 11.0.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.