ADVISORIES

Debian Security Tracker

DEBIAN-CVE-2024-7254

Details

Any 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.

Affected packages

EcosystemPackageAffected versions
Debian:12protobuf
All versions before 3.21.12-3+deb12u1 (fixed in 3.21.12-3+deb12u1)
Debian:13protobuf
All versions before 3.21.12-11+deb13u1 (fixed in 3.21.12-11+deb13u1)
Debian:14protobuf
All versions before 3.21.12-12 (fixed in 3.21.12-12)

References