CVE-2021-3121Golang Protobuf
High 8.6 No auth needed
Follow: this CVE · Golang · Golang Protobuf We alert you by email or Slack (account required).
- Priority
- 67
- CVSS 3.1
- 8.6
- EPSS
- 3.5% probability of exploitation in 30 days · percentile 90
- Auth required
- No
- Published
- Jan 11, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-129
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
What happens
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.
What to do
- Apply the vendor's security update for Protobuf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/gogo/protobuf |
< 1.3.2 |
1.3.2 |
go get github.com/gogo/protobuf@v1.3.2 |
| Go | github.com/gogo/protobuf |
< 1.3.2 |
1.3.2 |
go get github.com/gogo/protobuf@v1.3.2 |
Per OSV / GitHub Advisories (GHSA-c3h9-896r-86jm, GO-2021-0053). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | protobuf | < 1.3.2 |
| hashicorp | consul | < 1.8.15 |
| hashicorp | consul | < 1.8.15 |
| hashicorp | consul | ≥ 1.9.0 < 1.9.9 |
| hashicorp | consul | ≥ 1.9.0 < 1.9.9 |
| hashicorp | consul | ≥ 1.10.0 < 1.10.2 |
| hashicorp | consul | ≥ 1.10.0 < 1.10.2 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.apache.org
- lists.apache.org
- lists.apache.org
- security.netapp.com Third Party Advisory