{"id":"AZL-43083","summary":"CVE-2024-37298 affecting package telegraf for versions less than 1.31.0-2","details":"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.","modified":"2026-04-01T05:14:58.785055Z","published":"2024-07-01T19:15:04Z","upstream":["CVE-2024-37298"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-37298"}],"affected":[{"package":{"name":"telegraf","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/telegraf"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.31.0-2"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-43083.json"}}],"schema_version":"1.7.5"}