Allocation of Resources Without Limits or Throttling Affecting protobuf package, versions <3.7.2


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-PROTOBUF-9376700
  • published9 Mar 2025
  • disclosed7 Mar 2025
  • creditUnknown

Introduced: 7 Mar 2025

CVE NOT AVAILABLE CWE-20  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade protobuf to version 3.7.2 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via the protobuf::coded_input_stream::CodedInputStream::skip_group function due to improper handling of unknown fields when parsing user-supplied input. An attacker can cause a stack overflow by sending specially crafted messages that trigger uncontrolled recursion.

References

CVSS Base Scores

version 4.0
version 3.1