CVE Catalog

CVE-2024-24786

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.26%

68th percentile - higher than 68% of all known CVEs

Summary

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

Risk Assessment

An infinite loop can cause application hangs or resource exhaustion, potentially leading to denial of service.

Recommendation

Update the protobuf library to a patched version and avoid using the DiscardUnknown option if possible.

Other vulnerabilities in Google protobuf

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS