GO-2024-2611
Infinite loop in JSON unmarshaling in google.golang.org/protobuf
At a glance
- Published
- Updated
- CVE
- CVE-2024-24786
- Aliases
- GHSA-8r3f-844c-mc37
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.
Affected packages
| Package | Versions |
|---|---|
| Go · google.golang.org/protobuf | introduced 0, fixed 1.33.0 |
References
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |