blob: 77a28b668205b5319c64f8e88a216169c614a86b [file] [log] [blame]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2023-24535"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "Panic when parsing invalid messages in google.golang.org/protobuf",
"descriptions": [
{
"lang": "en",
"value": "Parsing invalid messages can panic. Parsing a text-format message which contains a potential number consisting of a minus sign, one or more characters of whitespace, and no further input will cause a panic."
}
],
"affected": [
{
"vendor": "google.golang.org/protobuf",
"product": "google.golang.org/protobuf/encoding/prototext",
"collectionURL": "https://pkg.go.dev",
"packageName": "google.golang.org/protobuf/encoding/prototext",
"versions": [
{
"version": "1.29.0",
"lessThan": "1.29.1",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "UnmarshalOptions.unmarshal"
},
{
"name": "Unmarshal"
},
{
"name": "UnmarshalOptions.Unmarshal"
}
],
"defaultStatus": "unaffected"
},
{
"vendor": "google.golang.org/protobuf",
"product": "google.golang.org/protobuf/internal/encoding/text",
"collectionURL": "https://pkg.go.dev",
"packageName": "google.golang.org/protobuf/internal/encoding/text",
"versions": [
{
"version": "1.29.0",
"lessThan": "1.29.1",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "parseNumber"
},
{
"name": "Decoder.Peek"
},
{
"name": "Decoder.Read"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-125: Out-of-bounds Read"
}
]
}
],
"references": [
{
"url": "https://go.dev/cl/475995"
},
{
"url": "https://github.com/golang/protobuf/issues/1530"
},
{
"url": "https://pkg.go.dev/vuln/GO-2023-1631"
}
]
}
}
}