CVE-2024-24786

NameCVE-2024-24786
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1065684

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
golang-google-protobuf (PTS)bullseye1.25.0+git20201208.160c747-1vulnerable
bookworm1.28.1-3vulnerable
trixie, sid1.33.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
golang-google-protobufsource(unstable)1.33.0-11065684

Notes

[bookworm] - golang-google-protobuf <no-dsa> (Minor issue)
[bullseye] - golang-google-protobuf <no-dsa> (Minor issue)
https://go-review.googlesource.com/c/protobuf/+/569356

Search for package or bug name: Reporting problems