GO-2023-1631

Source
https://pkg.go.dev/vuln/GO-2023-1631
Import Source
https://vuln.go.dev/ID/GO-2023-1631.json
Aliases
Published
2023-03-14T16:47:00Z
Modified
2023-11-08T04:11:47.045934Z
Details

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.

References

Affected packages

Go / google.golang.org/protobuf

Affected ranges

Type
SEMVER
Events
Introduced
1.29.0
Fixed
1.29.1

Ecosystem specific

{
    "imports": [
        {
            "path": "google.golang.org/protobuf/encoding/prototext",
            "symbols": [
                "Unmarshal",
                "UnmarshalOptions.Unmarshal",
                "UnmarshalOptions.unmarshal"
            ]
        },
        {
            "path": "google.golang.org/protobuf/internal/encoding/text",
            "symbols": [
                "Decoder.Peek",
                "Decoder.Read",
                "parseNumber"
            ]
        }
    ]
}