{"id":"CVE-2024-24786","aliases":["GHSA-8r3f-844c-mc37","GO-2024-2611"],"url":"https://o3.security/vulnerability/CVE-2024-24786","summary":"Golang protojson.Unmarshal function infinite loop when unmarshaling certain forms of invalid JSON","details":"The protojson.Unmarshal function can enter an infinite loop when unmarshaling certain forms of invalid JSON. This condition can occur when unmarshaling into a message which contains a google.protobuf.Any value, or when the UnmarshalOptions.DiscardUnknown option is set.","published":"2024-03-05T23:15:07Z","modified":"2026-04-10T05:09:53.623074Z","cvss":{"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"},"epss":{"score":0.01262,"percentile":0.66902,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"google.golang.org/protobuf","fixedVersion":"1.33.0"},{"ecosystem":"Go","name":"google.golang.org/protobuf/encoding/protojson","fixedVersion":"1.33.0"},{"ecosystem":"Go","name":"google.golang.org/protobuf/internal/encoding/json","fixedVersion":"1.33.0"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20240517-0002/"},{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2024/03/08/4"},{"type":"WEB","url":"https://go.dev/cl/569356"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU/"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2024-2611"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-04-10T05:09:53.623074Z"}}