{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-24786","id":"CVE-2024-24786","title":"Infinite loop in JSON unmarshaling in google.golang.org/protobuf","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.","descriptionLong":"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-05T22:22:35.299Z","updated":"2026-09-23T14:17:06.307Z","reserved":"2024-01-30T16:05:14.757Z","status":"Deferred","rejected":false,"assigner":"Go","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["google.golang.org/protobuf/encoding/protojson","google.golang.org/protobuf/internal/encoding/json"],"affectedProducts":[{"vendor":"google.golang.org/protobuf","product":"google.golang.org/protobuf/encoding/protojson","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.33.0","status":"affected","versionType":"semver"}],"platforms":[]},{"vendor":"google.golang.org/protobuf","product":"google.golang.org/protobuf/internal/encoding/json","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"1.33.0","status":"affected","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"google.golang.org/protobuf","purl":"pkg:golang/google.golang.org/protobuf","ranges":["<1.33.0"],"fixed":["1.33.0"],"advisory":"GHSA-8r3f-844c-mc37"},{"ecosystem":"Go","name":"google.golang.org/protobuf/encoding/protojson","purl":"pkg:golang/google.golang.org/protobuf/encoding/protojson","ranges":["<1.33.0"],"fixed":["1.33.0"],"advisory":"GHSA-8r3f-844c-mc37"},{"ecosystem":"Go","name":"google.golang.org/protobuf/internal/encoding/json","purl":"pkg:golang/google.golang.org/protobuf/internal/encoding/json","ranges":["<1.33.0"],"fixed":["1.33.0"],"advisory":"GHSA-8r3f-844c-mc37"}],"cwes":["CWE-1286","CWE-835"],"aliases":["GHSA-8r3f-844c-mc37","GO-2024-2611"],"references":[{"url":"https://go.dev/cl/569356","tags":["x_transferred","web","fix"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2611","tags":["x_transferred","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU/","tags":["x_transferred","web"]},{"url":"http://www.openwall.com/lists/oss-security/2024/03/08/4","tags":["x_transferred","web"]},{"url":"https://security.netapp.com/advisory/ntap-20240517-0002/","tags":["x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24786","tags":["advisory"]},{"url":"https://github.com/protocolbuffers/protobuf-go/commit/f01a588e5810b90996452eec4a28f22a0afae023","tags":["web"]},{"url":"https://github.com/protocolbuffers/protobuf-go","tags":["package"]},{"url":"https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.33.0","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20240517-0002","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01262,"epssPercentile":0.70265,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-24786","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24786","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-24786","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8r3f-844c-mc37","ok":true,"note":"GHSA-8r3f-844c-mc37"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-24786","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":["go"],"critical":[],"attention":null}