GO-2024-2611

    Dashboard / Vulnerabilities / GO-2024-2611

    GO-2024-2611

    Published: 5 Mar 2024Last Modified: 4 Apr 2026

    Summary: Infinite loop in JSON unmarshaling in google.golang.org/protobuf

    Details: The protojson.Unmarshal function can enter an infinite loop when unmarshaling certain forms of invalid JSON. This condition can occur when unmarshaling into a message which contains a google.protobuf.Any value, or when the UnmarshalOptions.DiscardUnknown option is set.

    Affected packages

    Package

    Name: google.golang.org/protobuf

    Purl: pkg:golang/google.golang.org/protobuf

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.33.0

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High