CVE-2024-7254

NameCVE-2024-7254
DescriptionAny project that parses untrusted Protocol Buffers data containing an arbitrary number of nested groups / series of SGROUP tags can corrupted by exceeding the stack limit i.e. StackOverflow. Parsing nested groups as unknown fields with DiscardUnknownFieldsParser or Java Protobuf Lite parser, or against Protobuf map fields, creates unbounded recursions that can be abused by an attacker.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1082381

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
protobuf (PTS)jessie, jessie (lts)2.6.1-1+deb8u1fixed
stretch (lts), stretch3.0.0-9+deb9u1fixed
buster (security), buster, buster (lts)3.6.1.3-2+deb10u1fixed
bullseye3.12.4-1+deb11u1vulnerable
bookworm3.21.12-3vulnerable
sid, trixie3.21.12-10vulnerable

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
protobufsourcejessie(not affected)
protobufsourcestretch(not affected)
protobufsourcebuster(not affected)
protobufsource(unstable)(unfixed)1082381

Notes

[bookworm] - protobuf <no-dsa> (Minor issue)
[bullseye] - protobuf <postponed> (Minor issue)
https://github.com/protocolbuffers/protobuf/commit/cc8b3483a5584b3301e3d43d17eb59704857ffaa
[buster] - protobuf <not-affected> (Vulnerable class and method were introduced later)
[stretch] - protobuf <not-affected> (Vulnerable class and method were introduced later)
[jessie] - protobuf <not-affected> (Vulnerable class and method were introduced later)

Search for package or bug name: Reporting problems