CVE-2021-3121
HIGH 8.6CVSS 3.1Improper Input Validation in GoGo Protobuf
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.
- Published
- 11 Jan 2021
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-129CWE-20
- Also known as
- BIT-consul-2021-3121BIT-protobuf-2021-3121GHSA-c3h9-896r-86jmGO-2021-0053
- Sources
- NVDJSONOSV GHSA-c3h9-896r-86jmJSONOSV GO-2021-0053JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | golang | protobufcpe:2.3:a:golang:protobuf:*:*:*:*:*:*:*:* |
< 1.3.2 | 1.3.2 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
< 1.8.15 | 1.8.15 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
< 1.8.15 | 1.8.15 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
>= 1.9.0, < 1.9.9 | 1.9.9 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.9.0, < 1.9.9 | 1.9.9 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:* |
>= 1.10.0, < 1.10.2 | 1.10.2 |
| NVD | hashicorp | consulcpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:* |
>= 1.10.0, < 1.10.2 | 1.10.2 |
| OSV | Go | github.com/gogo/protobuf | < 1.3.2 | 1.3.2 |
References
- https://discuss.hashicorp.com/t/hcsec-2021-23-consul-exposed-to-denial-of-service-in-gogo-protobuf-dependency/29025 · Third Party Advisory, WEB
- https://github.com/gogo/protobuf/commit/b03c65ea87cdc3521ede29f62fe3ce239267c1bc · Patch, Third Party Advisory, WEB, FIX
- https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2 · Patch, Third Party Advisory, WEB
- https://lists.apache.org/thread.html/r68032132c0399c29d6cdc7bd44918535da54060a10a12b1591328bff%40%3Cnotifications.skywalking.apache.org%3E
- https://lists.apache.org/thread.html/r88d69555cb74a129a7bf84838073b61259b4a3830190e05a3b87994e%40%3Ccommits.pulsar.apache.org%3E
- https://lists.apache.org/thread.html/rc1e9ff22c5641d73701ba56362fb867d40ed287cca000b131dcf4a44%40%3Ccommits.pulsar.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210219-0006/ · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3121 · ADVISORY
- https://github.com/gogo/protobuf · PACKAGE
- https://lists.apache.org/thread.html/r68032132c0399c29d6cdc7bd44918535da54060a10a12b1591328bff@%3Cnotifications.skywalking.apache.org%3E · WEB
- https://lists.apache.org/thread.html/r88d69555cb74a129a7bf84838073b61259b4a3830190e05a3b87994e@%3Ccommits.pulsar.apache.org%3E · WEB
- https://lists.apache.org/thread.html/rc1e9ff22c5641d73701ba56362fb867d40ed287cca000b131dcf4a44@%3Ccommits.pulsar.apache.org%3E · WEB
- https://pkg.go.dev/vuln/GO-2021-0053 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Jan 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 14 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Mar 2022)