# CVE-2021-3121: Improper Input Validation in GoGo Protobuf

- Severity: High 8.6 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.52%, higher than 89% of CVEs (2026-12-01)
- Published: 2021-01-11T05:57:18.000Z
- Modified: 2026-09-10T03:49:28.264Z
- Also known as: GHSA-c3h9-896r-86jm, BIT-CONSUL-2021-3121, BIT-PROTOBUF-2021-3121, GO-2021-0053
- Related: CGA-chjc-g5p9-27p3
- Weaknesses: CWE-20, CWE-129
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/gogo/protobuf (Go): before 1.3.2
- golang protobuf: before 1.3.2
- hashicorp consul: before 1.8.15; from 1.9.0 before 1.9.9; from 1.10.0 before 1.10.2
- consul (Bitnami): before 1.8.15; from 1.9.0 before 1.9.9; from 1.10.0 before 1.10.2
- protobuf (Bitnami): before 1.3.2

## Every score

- GitHub: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/gogo/protobuf/commit/b03c65ea87cdc3521ede29f62fe3ce239267c1bc> (advisory, fix, patch, third-party-advisory, web)
- <https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2> (advisory, patch, third-party-advisory, web)
- <https://lists.apache.org/thread.html/r88d69555cb74a129a7bf84838073b61259b4a3830190e05a3b87994e%40%3Ccommits.pulsar.apache.org%3E> (mailing-list, web)
- <https://lists.apache.org/thread.html/rc1e9ff22c5641d73701ba56362fb867d40ed287cca000b131dcf4a44%40%3Ccommits.pulsar.apache.org%3E> (mailing-list, web)
- <https://security.netapp.com/advisory/ntap-20210219-0006/> (advisory, third-party-advisory)
- <https://discuss.hashicorp.com/t/hcsec-2021-23-consul-exposed-to-denial-of-service-in-gogo-protobuf-dependency/29025> (advisory, third-party-advisory, web)
- <https://lists.apache.org/thread.html/r68032132c0399c29d6cdc7bd44918535da54060a10a12b1591328bff%40%3Cnotifications.skywalking.apache.org%3E> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3121> (advisory, web)
- <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)
- <https://security.netapp.com/advisory/ntap-20210219-0006> (web)

## Sources

- CVE List: [CVE-2021-3121](https://www.cve.org/CVERecord?id=CVE-2021-3121), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-c3h9-896r-86jm](https://github.com/advisories/GHSA-c3h9-896r-86jm), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2021-0053](https://pkg.go.dev/vuln/GO-2021-0053), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2021-3121](https://nvd.nist.gov/vuln/detail/CVE-2021-3121), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-CONSUL-2021-3121](https://osv.dev/vulnerability/BIT-CONSUL-2021-3121), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-PROTOBUF-2021-3121](https://osv.dev/vulnerability/BIT-PROTOBUF-2021-3121), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2021-3121 · Whole record: https://cve.day/CVE-2021-3121.json · Rebuilt by cve.day 2026-11-25T22:57:59.166Z
