{"id":"CVE-2024-37298","sourceIdentifier":"security-advisories@github.com","published":"2024-07-01T19:15:04.283","lastModified":"2026-06-17T07:38:05.733","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"gorilla/schema convierte estructuras hacia y desde valores de formulario. Antes de la versión 1.4.1 La ejecución de `schema.Decoder.Decode()` en una estructura que tiene un campo de tipo `[]struct{...}` la abre a ataques maliciosos relacionados con las asignaciones de memoria, aprovechando la escasez de memoria. funcionalidad de corte. Cualquier uso de `schema.Decoder.Decode()` en una estructura con matrices de otras estructuras podría ser vulnerable a esta vulnerabilidad de agotamiento de la memoria. La versión 1.4.1 contiene un parche para el problema."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"gorilla","product":"schema","versions":[{"version":"< 1.4.1","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"gorillatoolkit","product":"schema","defaultStatus":"unknown","cpes":["cpe:2.3:a:gorillatoolkit:schema:*:*:*:*:*:*:*:*"],"versions":[{"version":"0","lessThan":"1.4.1","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-07-02T14:16:14.834696Z","id":"CVE-2024-37298","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-770"}]}],"references":[{"url":"https://github.com/gorilla/schema/blob/main/decoder.go#L223","source":"security-advisories@github.com"},{"url":"https://github.com/gorilla/schema/commit/cd59f2f12cbdfa9c06aa63e425d1fe4a806967ff","source":"security-advisories@github.com"},{"url":"https://github.com/gorilla/schema/security/advisories/GHSA-3669-72x9-r9p3","source":"security-advisories@github.com"},{"url":"https://github.com/gorilla/schema/blob/main/decoder.go#L223","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/gorilla/schema/commit/cd59f2f12cbdfa9c06aa63e425d1fe4a806967ff","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/gorilla/schema/security/advisories/GHSA-3669-72x9-r9p3","source":"af854a3a-2127-422b-91ae-364da2661108"}]}