GHSA-8r3f-844c-mc37

    Dashboard / Vulnerabilities / GHSA-8r3f-844c-mc37

    GHSA-8r3f-844c-mc37

    Published: 6 Mar 2024Last Modified: 10 Sept 2026

    Summary: Golang protojson.Unmarshal function infinite loop when unmarshaling certain forms of invalid JSON

    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