GO-2024-2611

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

En bref

Publiée
Mise à jour
CVE
CVE-2024-24786
Alias
GHSA-8r3f-844c-mc37

Description

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.

Paquets affectés

PaquetVersions
Go · google.golang.org/protobufintroduced 0, fixed 1.33.0

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database