llamaCVEVulnerability Intelligence
/
@fastify/oauth2

CVE-2023-31999

All versions of @fastify/oauth2 used a statically generated state parameter at startup time and were used across all requests for all users

Parche disponible
Descargar PNG JSON
CVSS 3.1
8.8
Alta
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Fuente: NVD
ExplotaciónPoC públicaSSVC: poc · no figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a -1 d de la divulgación
Exposición1.233 dDesde la divulgación, 4 jul 2023, 11:29 a. m.
Detección1.217 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCSeguir de cerca
Monitorear y programar la remediación
Existe PoC pública, no automatizable e impacto técnico total. Hay versiones corregidas disponibles.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Evaluación SSVC +1
Explotación
Remediación
Parche 7.2.0
Monitoreo
Detectada
Verificada
3 jul 23
4 jul 23
26 nov 24
3 nov 26
13 nov 26
19 nov 26
3 jul 23
7 may 24
12 mar 25
14 ene 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 7.2.0 @fastify/oauth2 · -1 d desde divulgación
Divulgación Publicada CVE-2023-31999 divulgada · CVSS 8.8 (NVD)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen

All versions of @fastify/oauth2 used a statically generated state parameter at startup time and were used across all requests for all users. The purpose of the Oauth2 state parameter is to prevent Cross-Site-Request-Forgery attacks. As such, it should be unique per user and should be connected to the user's session in some way that will allow the server to validate it. v7.2.0 changes the default behavior to store the state in a cookie with the http-only and same-site=lax attributes set. The state is now by default generated for every user. Note that this contains a breaking change in the checkStateFunction function, which now accepts the full Request object.

Vector CVSS 3.1

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · NVD
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:R
NingunaRequerida
AlcanceS:U
CambiadoSin cambio
ConfidencialidadC:H
AltoBajoNinguno
IntegridadI:H
AltoBajoNinguno
DisponibilidadA:H
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
@fastify/oauth2< 7.2.0
@fastify/oauth2≥ v7.2.0 < v7.2.0
7.2.0
v7.2.0
8.3.2
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
npm@fastify/oauth2
Corregida 7.2.0 -1 d 8.3.2 no afectada
Versiones corregidasv7.2.07.2.0
Explotación

Arsenal público

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

Referencias
Otrahttps://hackerone.com/reports/2020418
Otrahttps://auth0.com/docs/secure/attack-protection/state-parameters
Otrahttps://github.com/fastify/fastify-oauth2/releases/tag/v7.2.0

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