blob: d23a86b2fa48ca9d7059cb3e902d20d3658e298e [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2024-2611",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2024-24786"
],
"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": [
{
"package": {
"name": "google.golang.org/protobuf",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.33.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "google.golang.org/protobuf/encoding/protojson",
"symbols": [
"Unmarshal",
"UnmarshalOptions.Unmarshal",
"UnmarshalOptions.unmarshal"
]
},
{
"path": "google.golang.org/protobuf/internal/encoding/json",
"symbols": [
"Decoder.Peek",
"Decoder.Read"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/569356"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2024-2611"
}
}