CVE-2024-24786
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| google.golang.org/protobuf | google.golang.org/protobuf/encoding/protojson | 0 < 1.33.0 | affected |
| google.golang.org/protobuf | google.golang.org/protobuf/internal/encoding/json | 0 < 1.33.0 | affected |
Weaknesses
- CWE-1286: Improper Validation of Syntactic Correctness of Input
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
CVE Program Container
Additional 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/
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/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.