Improper Input Validation Affecting protobuf-lite-devel package, versions <0:2.5.0-8.amzn2.0.5


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (12th 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-AMZN2-PROTOBUFLITEDEVEL-8382757
  • published16 Nov 2024
  • disclosed19 Sept 2024

Introduced: 19 Sep 2024

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

How to fix?

Upgrade Amazon-Linux:2 protobuf-lite-devel to version 0:2.5.0-8.amzn2.0.5 or higher.
This issue was patched in ALAS2-2024-2693.

NVD Description

Note: Versions mentioned in the description apply only to the upstream protobuf-lite-devel package and not the protobuf-lite-devel package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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 Scores

version 3.1