{"id":"GHSA-8r3f-844c-mc37","revision":"b958aaf64e07456a9d3e17d9e66d7290","records":[{"revision":"b958aaf64e07456a9d3e17d9e66d7290","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-8r3f-844c-mc37","aliases":["CVE-2024-24786","GO-2024-2611"],"title":"Golang protojson.Unmarshal function infinite loop when unmarshaling certain forms of invalid JSON","description":"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.","state":0,"publishedAt":"2024-03-06T00:31:27+00:00","modifiedAt":"2026-09-10T03:50:00.2439239+00:00","affected":[{"ecosystem":"Go","name":"google.golang.org/protobuf","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.33.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"google.golang.org/protobuf/encoding/protojson","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.33.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"Go","name":"google.golang.org/protobuf/internal/encoding/json","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.33.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-24786","https://github.com/protocolbuffers/protobuf-go/commit/f01a588e5810b90996452eec4a28f22a0afae023","https://github.com/protocolbuffers/protobuf-go","https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.33.0","https://go.dev/cl/569356","https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU","https://pkg.go.dev/vuln/GO-2024-2611","https://security.netapp.com/advisory/ntap-20240517-0002","http://www.openwall.com/lists/oss-security/2024/03/08/4"],"sourceUrl":"https://github.com/advisories/GHSA-8r3f-844c-mc37","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-8r3f-844c-mc37","identifiers":["GHSA-8r3f-844c-mc37","CVE-2024-24786","GO-2024-2611"]},"retained":false,"historicalAffected":[]}],"coverage":[]}