CVE-2024-37298gorilla schema
Alta 7.5 Sin autenticación
Seguir: esta CVE · gorilla · gorilla schema Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.4% probabilidad de explotación en 30 días · percentil 72
- Requiere autenticación
- No
- Publicada
- 1 jul 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-770
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
gorilla/schema converts structs to and from form values. Prior to version 1.4.1 Running `schema.Decoder.Decode()` on a struct that has a field of type `[]struct{...}` opens it up to malicious attacks regarding memory allocations, taking advantage of the sparse slice functionality. Any use of `schema.Decoder.Decode()` on a struct with arrays of other structs could be vulnerable to this memory exhaustion vulnerability. Version 1.4.1 contains a patch for the issue.
Qué hacer
- Aplica la actualización de seguridad del fabricante para schema.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| Go | github.com/gorilla/schema |
< 1.4.1 |
1.4.1 |
go get github.com/gorilla/schema@v1.4.1 |
| Go | github.com/gorilla/schema |
< 1.4.1 |
1.4.1 |
go get github.com/gorilla/schema@v1.4.1 |
Según OSV / GitHub Advisories (GHSA-3669-72x9-r9p3, GO-2024-2958). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- gorilla · schema
- gorillatoolkit · schema
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.