CVE-2024-24786GO-2024-2611GHSA-8R3F-844C-MC37
Infinite loop in JSON unmarshaling in google.golang.org/protobuf
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 1.33.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
CISA's decision points: whether it is exploited, whether attacks can be automated, and how much control an attacker gets. Assessed (SSVC 2.0.3).What do these mean? →
- Exploitation: none
- Automatable: yes
- Technical impact: partial
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- google.golang.org/protobuf/encoding/protojson
fixed in 1.33.0
- google.golang.org/protobuf/internal/encoding/json
fixed in 1.33.0
- google.golang.org/protobufGo
fixed in 1.33.0
- google.golang.org/protobuf/encoding/protojsonGo
fixed in 1.33.0
- google.golang.org/protobuf/internal/encoding/jsonGo
fixed in 1.33.0