CVE-2024-7254 Affecting protobuf package, versions <3.21.12-9ubuntu1.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.14% (36th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2410-PROTOBUF-8189860
  • published15 Apr 2025
  • disclosed19 Sept 2024

Introduced: 19 Sep 2024

CVE-2024-7254  (opens in a new tab)

How to fix?

Upgrade Ubuntu:24.10 protobuf to version 3.21.12-9ubuntu1.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream protobuf package and not the protobuf package as distributed by Ubuntu. See How to fix? for Ubuntu:24.10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1