google.golang.org/protobuf
Affected
- introduced
0, fixed1.33.0(semver)
Fixed versions
1.33.0
Fix
- Fixed version
1.33.0go get google.golang.org/[email protected]
Advisory
Also known as: CVE-2024-24786, GO-2024-2611
Golang protojson.Unmarshal function infinite loop when unmarshaling certain forms of invalid JSON
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.
Medium Basis: The source's own band: MODERATE
0, fixed 1.33.0 (semver)1.33.0
1.33.0go get google.golang.org/[email protected]0, fixed 1.33.0 (semver)1.33.0
1.33.0go get google.golang.org/protobuf/encoding/[email protected]0, fixed 1.33.0 (semver)1.33.0
1.33.0go get google.golang.org/protobuf/internal/encoding/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0