Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| google.golang.org/protobuf / google.golang.org/protobuf/encoding/protojson | affected 0 before 1.33.0 |
| google.golang.org/protobuf / google.golang.org/protobuf/internal/encoding/json | affected 0 before 1.33.0 |
CWE
No CWE identifiers supplied.
References
- https://go.dev/cl/569356
- https://pkg.go.dev/vuln/GO-2024-2611
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU/
- http://www.openwall.com/lists/oss-security/2024/03/08/4
- https://security.netapp.com/advisory/ntap-20240517-0002/
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.