Vulnerabilities · 2021 · Golang
CVE-2021-3121
Golang Protobuf vulnerability
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.
Affected products
Protobuf, Consul. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Golang Protobuf runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gogo/protobuf/commit/b03c65ea87cdc3521ede29f62fe3ce239267c1bc · Patch
- github.com/gogo/protobuf/compare/v1.3.1...v1.3.2 · Patch
- discuss.hashicorp.com/t/hcsec-2021-23-consul-exposed-to-denial-of-service-in-gogo-protobuf · Third Party Advisory
- security.netapp.com/advisory/ntap-20210219-0006/ · Third Party Advisory
- lists.apache.org/thread.html/r68032132c0399c29d6cdc7bd44918535da54060a10a12b1591328bff%40%
- lists.apache.org/thread.html/r88d69555cb74a129a7bf84838073b61259b4a3830190e05a3b87994e%40%
- lists.apache.org/thread.html/rc1e9ff22c5641d73701ba56362fb867d40ed287cca000b131dcf4a44%40%
- nvd.nist.gov/vuln/detail/CVE-2021-3121
- cve.org/CVERecord?id=CVE-2021-3121
More vulnerabilities in Golang products
CVE-2026-42506CVE-2026-42502CVE-2026-27136CVE-2026-25681CVE-2026-25680CVE-2025-68121CVE-2025-68119CVE-2025-61732All 172
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.