GO-2021-0053

Source
https://pkg.go.dev/vuln/GO-2021-0053
Import Source
https://vuln.go.dev/ID/GO-2021-0053.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0053
Aliases
Published
2021-04-14T20:04:52Z
Modified
2024-05-20T16:03:47Z
Summary
Panic due to improper input validation in github.com/gogo/protobuf
Details

Due to improper bounds checking, maliciously crafted input to generated Unmarshal methods can cause an out-of-bounds panic. If parsing messages from untrusted parties, this may be used as a denial of service vector.

References

Affected packages

Go / github.com/gogo/protobuf

Package

Name
github.com/gogo/protobuf
View open source insights on deps.dev
Purl
pkg:golang/github.com/gogo/protobuf

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.2

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/gogo/protobuf/plugin/unmarshal",
            "symbols": [
                "unmarshal.Generate",
                "unmarshal.field"
            ]
        }
    ]
}