{"id":"CVE-2021-3121","aliases":["CVE-2021-3121","GHSA-c3h9-896r-86jm","BIT-CONSUL-2021-3121","BIT-PROTOBUF-2021-3121","GO-2021-0053"],"related":["CGA-chjc-g5p9-27p3"],"kind":"vulnerability","state":"published","title":"Improper Input Validation in GoGo Protobuf","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Due to improper bounds checking, maliciously crafted input to generated Unmarshal methods can cause an out-of-bounds panic. If parsing messages from untrusted parties, this may be used as a denial of service vector.","format":"markdown","source":"go"},{"lang":"es","text":"Se detectó un problema en GoGo Protobuf versiones anteriores a 1.3.2.&#xa0;El archivo plugin/unmarshal/unmarshal.go carece de determinada comprobación de índice, también se conoce como el problema \"skippy peanut butter\"","source":"nvd"}],"published":"2021-01-11T05:57:18.000Z","modified":"2026-09-10T03:49:28.264Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-20","CWE-129"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.2"}],"ecosystem":"Go","package":"github.com/gogo/protobuf","purl":"pkg:golang/github.com/gogo/protobuf","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.2"}],"ecosystem":"Go","package":"github.com/gogo/protobuf","purl":"pkg:golang/github.com/gogo/protobuf","source":"go"},{"ranges":[{"status":"affected","fixed":"1.3.2"}],"vendor":"golang","product":"protobuf","cpe":"cpe:2.3:a:golang:protobuf:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"1.8.15"},{"status":"affected","fixed":"1.8.15"},{"status":"affected","introduced":"1.9.0","fixed":"1.9.9"},{"status":"affected","introduced":"1.9.0","fixed":"1.9.9"},{"status":"affected","introduced":"1.10.0","fixed":"1.10.2"},{"status":"affected","introduced":"1.10.0","fixed":"1.10.2"}],"vendor":"hashicorp","product":"consul","cpe":"cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.8.15"},{"type":"semver","introduced":"1.9.0","status":"affected","fixed":"1.9.9"},{"type":"semver","introduced":"1.10.0","status":"affected","fixed":"1.10.2"}],"ecosystem":"Bitnami","package":"consul","purl":"pkg:bitnami/consul","source":"bitnami"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.3.2"}],"ecosystem":"Bitnami","package":"protobuf","purl":"pkg:bitnami/protobuf","source":"bitnami"}],"references":[{"url":"https://github.com/gogo/protobuf/commit/b03c65ea87cdc3521ede29f62fe3ce239267c1bc","tags":["advisory","fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2","tags":["advisory","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r88d69555cb74a129a7bf84838073b61259b4a3830190e05a3b87994e%40%3Ccommits.pulsar.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/rc1e9ff22c5641d73701ba56362fb867d40ed287cca000b131dcf4a44%40%3Ccommits.pulsar.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.netapp.com/advisory/ntap-20210219-0006/","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://discuss.hashicorp.com/t/hcsec-2021-23-consul-exposed-to-denial-of-service-in-gogo-protobuf-dependency/29025","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://lists.apache.org/thread.html/r68032132c0399c29d6cdc7bd44918535da54060a10a12b1591328bff%40%3Cnotifications.skywalking.apache.org%3E","tags":["mailing-list","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3121","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/gogo/protobuf","tags":["package"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r68032132c0399c29d6cdc7bd44918535da54060a10a12b1591328bff@%3Cnotifications.skywalking.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/r88d69555cb74a129a7bf84838073b61259b4a3830190e05a3b87994e@%3Ccommits.pulsar.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://lists.apache.org/thread.html/rc1e9ff22c5641d73701ba56362fb867d40ed287cca000b131dcf4a44@%3Ccommits.pulsar.apache.org%3E","tags":["web"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2021-0053","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20210219-0006","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-3121","url":"https://www.cve.org/CVERecord?id=CVE-2021-3121","licence":"CVE Terms of Use","modified":"2024-08-03T16:45:51.251Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c3h9-896r-86jm","url":"https://github.com/advisories/GHSA-c3h9-896r-86jm","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:28.264Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2021-0053","url":"https://pkg.go.dev/vuln/GO-2021-0053","licence":"CC-BY-4.0","modified":"2026-02-04T03:28:45.369Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-3121","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-3121","licence":"Public domain","modified":"2026-06-17T04:04:42.213Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-CONSUL-2021-3121","url":"https://osv.dev/vulnerability/BIT-CONSUL-2021-3121","licence":"Apache-2.0","modified":"2026-09-08T08:45:58.236Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-PROTOBUF-2021-3121","url":"https://osv.dev/vulnerability/BIT-PROTOBUF-2021-3121","licence":"Apache-2.0","modified":"2026-09-08T08:48:18.686Z"}],"updatedAt":"2026-11-25T22:57:59.166Z","epss":{"score":0.03521,"percentile":0.89525,"date":"2026-12-01T12:00:22.000Z"}}