Skip to content

protobuf 5.29.5 reported as vulnerable #740

@Arima-dei

Description

@Arima-dei

Description of the bug:

Any project that uses Protobuf Pure-Python backend to parse untrusted Protocol Buffers data containing an arbitrary number of recursive groups, recursive messages or a series of SGROUP tags can be corrupted by exceeding the Python recursion limit. This can result in a Denial of service by crashing the application with a RecursionError. We recommend upgrading to version =>6.31.1 or beyond commit 17838beda2943d08b8a9d4df5b68f5f04f26d901

Actual vs expected behavior:

as per https://nvd.nist.gov/vuln/detail/CVE-2025-4565 , the protobuf 5.29.5 that comes as transitive dependecy has high vulnerability.
CVSS-B [8.2 HIGH].
the fix version suggested by them is protobuf 6.31.1 which is not supprted by the google-generativeai .

Any other information you'd like to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions