{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-37298","published":"2024-07-01T19:15:04.283000Z","last_modified":"2026-06-17T07:38:05.733000Z","status":"Deferred","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-770"],"cpes":[],"cpes_truncated":false,"vendors":["gorilla"],"products":["gorilla/schema"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.01371,"percentile":0.72126,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-3669-72x9-r9p3","ecosystem":"Go","name":"github.com/gorilla/schema","purl":"pkg:golang/github.com/gorilla/schema","ranges":[{"introduced":"0","fixed":"1.4.1"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-2958","ecosystem":"Go","name":"github.com/gorilla/schema","purl":"pkg:golang/github.com/gorilla/schema","ranges":[{"introduced":"0","fixed":"1.4.1"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2024-37298/","html_en":"/en/cve/CVE-2024-37298/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-37298","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-37298"},"untrusted":{"vendor_name":"gorilla","product_name":"schema","desc_en":"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.","affected":[{"untrusted_vendor":"gorilla","untrusted_product":"schema","versions":[]},{"untrusted_vendor":"gorillatoolkit","untrusted_product":"schema","versions":[]}],"references":[{"url":"https://github.com/gorilla/schema/blob/main/decoder.go#L223","tags":[]},{"url":"https://github.com/gorilla/schema/commit/cd59f2f12cbdfa9c06aa63e425d1fe4a806967ff","tags":[]},{"url":"https://github.com/gorilla/schema/security/advisories/GHSA-3669-72x9-r9p3","tags":[]}]}}