Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926531 (CVE-2024-2478) - dev-go/protobuf-go: infinite loop with certain forms of invalid JSON
Summary: dev-go/protobuf-go: infinite loop with certain forms of invalid JSON
Status: CONFIRMED
Alias: CVE-2024-2478
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal trivial (vote)
Assignee: Gentoo Security
URL: https://groups.google.com/g/golang-an...
Whiteboard: ~3 [ebuild]
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-08 22:25 UTC by Christopher Fore
Modified: 2024-03-08 22:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Fore 2024-03-08 22:25:17 UTC
CVE-2024-24786:

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.



The above is fixed in 1.33.0