ADVISORIES

Ubuntu CVE Tracker

UBUNTU-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
Ubuntu:Pro:14.04:LTSprotobuf
All versions, no fix listed
Ubuntu:Pro:16.04:LTSprotobuf
All versions before 2.6.1-1.3ubuntu0.1~esm4 (fixed in 2.6.1-1.3ubuntu0.1~esm4)
Ubuntu:Pro:18.04:LTSprotobuf
All versions before 3.0.0-9.1ubuntu1.1+esm3 (fixed in 3.0.0-9.1ubuntu1.1+esm3)
Ubuntu:Pro:20.04:LTSprotobuf
All versions before 3.6.1.3-2ubuntu5.2+esm2 (fixed in 3.6.1.3-2ubuntu5.2+esm2)
Ubuntu:22.04:LTSprotobuf
All versions before 3.12.4-1ubuntu7.22.04.2 (fixed in 3.12.4-1ubuntu7.22.04.2)
Ubuntu:24.04:LTSprotobuf
All versions before 3.21.12-8.2ubuntu0.1 (fixed in 3.21.12-8.2ubuntu0.1)

References