CVE-2021-3121
Improper Input Validation in GoGo Protobuf
Record from NVD · Published January 11, 2021
github.com/gogo/protobuf/protoc-gen-gofast is fixed in 1.3.2 (Go Modules)
An issue was discovered in GoGo Protobuf before 1.3.2. plugin/unmarshal/unmarshal.go lacks certain index validation, aka the "skippy peanut butter" issue.
EPSS 3.52% · 89.5th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/gogo/protobuf/protoc-gen-gofast | Go Modules | 1.3.2 |
| github.com/gogo/protobuf/types | Go Modules | v1.3.2 |
| github.com/gogo/protobuf/test | Go Modules | 1.3.2 |
| github.com/gogo/protobuf | Go Modules | 1.3.2 |
| github.com/gogo/protobuf/vanity/test | Go Modules | 1.3.2 |
| protobuf-c | Alpine | 1.3.2-r0 |
| kubeflow | Chainguard | 1.10.0-r3 |
| kubeflow-fips | Chainguard | 1.10.0-r2 |
| ctop | Chainguard | 0.7.7-r13 |
| protobuf | golang | 1.3.2 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| golang | protobuf | 0 |
| hashicorp | consul | 0, 1.9.0, 1.10.0 |
Timeline
- Jan 11, 2021 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 20, 2026 Security Advisory (10 in total, the first dated here)
- Mar 24, 2026 Distribution Patch (8 in total, the first dated here)
- Aug 2, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3121
vulnetix vdb fixes CVE-2021-3121
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3121/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://discuss.hashicorp.com/t/hcsec-2021-23-consul-exposed-to-denial-of-service-in-gogo-protobuf-dependency/29025 advisory
- https://lists.apache.org/thread.html/r68032132c0399c29d6cdc7bd44918535da54060a10a12b1591328bff%40%3Cnotifications.skywalking.apache.org%3E technical
- https://lists.apache.org/thread.html/r88d69555cb74a129a7bf84838073b61259b4a3830190e05a3b87994e%40%3Ccommits.pulsar.apache.org%3E technical
- https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2 patch
- https://github.com/gogo/protobuf/commit/b03c65ea87cdc3521ede29f62fe3ce239267c1bc fix
- https://security.netapp.com/advisory/ntap-20210219-0006/ advisory
- https://lists.apache.org/thread.html/rc1e9ff22c5641d73701ba56362fb867d40ed287cca000b131dcf4a44%40%3Ccommits.pulsar.apache.org%3E technical