Vulnerabilities

2 via 2 paths

Dependencies

1

Source

GitHub

Find, fix and prevent vulnerabilities in your code.

Severity
  • 2
Status
  • 2
  • 0
  • 0

high severity

Uncontrolled Recursion

  • Vulnerable module: protobuf
  • Introduced through: protobuf@4.24.4

Detailed paths

  • Introduced through: mramshaw/protobufs@mramshaw/protobufs protobuf@4.24.4
    Remediation: Upgrade to protobuf@4.25.8.

Overview

protobuf is a Google’s data interchange format

Affected versions of this package are vulnerable to Uncontrolled Recursion when parsing untrusted Protocol Buffers data containing an excessive number of recursive groups, recursive messages, or a series of SGROUP tags. An attacker can provide crafted input that will corrupt the backend by exceeding the Python recursion limit and result in denial of service by crashing the application with a RecursionError.

Note: This problem impacts only the pure-Python implementation of the protobuf-python backend and does not influence the CPython PyPi wheels, which, by default, do not utilize pure Python.

Remediation

Upgrade protobuf to version 4.25.8, 5.29.5, 6.31.1 or higher.

References

high severity

Uncontrolled Recursion

  • Vulnerable module: protobuf
  • Introduced through: protobuf@4.24.4

Detailed paths

  • Introduced through: mramshaw/protobufs@mramshaw/protobufs protobuf@4.24.4
    Remediation: Upgrade to protobuf@5.29.6.

Overview

protobuf is a Google’s data interchange format

Affected versions of this package are vulnerable to Uncontrolled Recursion in the ParseDict() function, when handling deeply nested google.protobuf.Any messages. An attacker can bypass max_recursion_depth to exhaust the recursion stack and trigger a RecursionError.

Remediation

Upgrade protobuf to version 5.29.6, 6.33.5 or higher.

References