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.
References10
- www.openwall.com/lists/oss-security/2024/03/08/4
- go.dev/cl/569356
- lists.fedoraproject.org/archives/list/[email protected]…
- pkg.go.dev/vuln/GO-2024-2611
- security.netapp.com/advisory/ntap-20240517-0002/
- www.openwall.com/lists/oss-security/2024/03/08/4
- go.dev/cl/569356
- lists.fedoraproject.org/archives/list/[email protected]…
- pkg.go.dev/vuln/GO-2024-2611
- security.netapp.com/advisory/ntap-20240517-0002/
Metrics
- CVSS 3.1
-
7.5
HIGH
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - EPSS — exploit probability
- 1% percentile: 70 · as of 5 November 2026
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.