{"id":"CVE-2024-24786","aliases":["CVE-2024-24786","GHSA-8r3f-844c-mc37","GO-2024-2611"],"related":["RHSA-2024:0043","RHSA-2024:0045","RHSA-2024:1456","RHSA-2024:1461","RHSA-2024:1563","RHSA-2024:1574","RHSA-2024:1874","RHSA-2024:2548","RHSA-2024:2549","RHSA-2024:2550","RHSA-2024:3254","RHSA-2024:3634","RHSA-2024:3635","RHSA-2024:3636","RHSA-2024:3715","RHSA-2024:4246","RHSA-2024:4597","RHSA-2026:72489","RHSA-2026:72493","RHSA-2026:72496","RHSA-2026:72570","RHSA-2026:76430","RHSA-2026:76448","RHSA-2026:76677","RHSA-2026:76876","RHSA-2026:77895","RHSA-2026:80632","RHSA-2026:80634","RHSA-2026:80637","RHSA-2026:80643","RHSA-2026:80646","RHSA-2026:80647","RHSA-2026:80649","RHSA-2026:80650","RHSA-2026:80651","RHSA-2026:80652","RHSA-2026:80653","RHSA-2026:80654","RHSA-2026:80656","RHSA-2026:80657","RHSA-2026:80658","RHSA-2026:80659","RHSA-2026:80660","RHSA-2026:80661","RHSA-2026:80666","RHSA-2026:80668","RHSA-2026:80670","RHSA-2026:80671","RHSA-2026:80672","RHSA-2026:80673","RHSA-2026:80676","RHSA-2026:80677","RHSA-2026:80682","RHSA-2026:80683","RHSA-2026:80686","RHSA-2026:80693"],"kind":"vulnerability","state":"published","title":"Infinite loop in JSON unmarshaling in google.golang.org/protobuf","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La función protojson.Unmarshal puede entrar en un bucle infinito al descomponer ciertas formas de JSON no válido. Esta condición puede ocurrir al descomponer en un mensaje que contiene un valor google.protobuf.Any, o cuando la opción UnmarshalOptions.DiscardUnknown está configurada.","source":"nvd"}],"published":"2024-03-05T20:24:05.000Z","modified":"2026-11-23T21:12:30.023Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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":"MEDIUM"}],"cwes":["CWE-835","CWE-1286"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.33.0","status":"affected"}],"vendor":"google.golang.org/protobuf","product":"google.golang.org/protobuf/encoding/protojson","package":"google.golang.org/protobuf/encoding/protojson","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"1.33.0","status":"affected"}],"vendor":"google.golang.org/protobuf","product":"google.golang.org/protobuf/internal/encoding/json","package":"google.golang.org/protobuf/internal/encoding/json","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.33.0"}],"ecosystem":"Go","package":"google.golang.org/protobuf","purl":"pkg:golang/google.golang.org/protobuf","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.33.0"}],"ecosystem":"Go","package":"google.golang.org/protobuf/encoding/protojson","purl":"pkg:golang/google.golang.org/protobuf/encoding/protojson","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.33.0"}],"ecosystem":"Go","package":"google.golang.org/protobuf/internal/encoding/json","purl":"pkg:golang/google.golang.org/protobuf/internal/encoding/json","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.33.0"}],"ecosystem":"Go","package":"google.golang.org/protobuf","purl":"pkg:golang/google.golang.org/protobuf","source":"go"}],"references":[{"url":"https://go.dev/cl/569356","tags":["fix","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://pkg.go.dev/vuln/GO-2024-2611","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2024/03/08/4","tags":["web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20240517-0002/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24786","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/protocolbuffers/protobuf-go/commit/f01a588e5810b90996452eec4a28f22a0afae023","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/protocolbuffers/protobuf-go","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.33.0","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20240517-0002","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"Go","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-11-07T16:22:27.828Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-24786","url":"https://www.cve.org/CVERecord?id=CVE-2024-24786","licence":"CVE Terms of Use","modified":"2026-09-23T13:51:15.891Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8r3f-844c-mc37","url":"https://github.com/advisories/GHSA-8r3f-844c-mc37","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:00.243Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-2611","url":"https://pkg.go.dev/vuln/GO-2024-2611","licence":"CC-BY-4.0","modified":"2026-11-23T21:12:30.023Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-24786","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-24786","licence":"Public domain","modified":"2026-09-23T14:17:06.307Z"}],"updatedAt":"2026-11-25T22:58:37.287Z","epss":{"score":0.01262,"percentile":0.7047,"date":"2026-12-01T12:00:22.000Z"}}