{"id":"CVE-2021-3121","details":"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.","aliases":["BIT-consul-2021-3121","BIT-protobuf-2021-3121","GHSA-c3h9-896r-86jm","GO-2021-0053"],"modified":"2026-03-20T04:08:23.046318Z","published":"2021-01-11T06:15:13.460Z","related":["CGA-chjc-g5p9-27p3","SUSE-SU-2025:02977-1","openSUSE-SU-2024:10902-1","openSUSE-SU-2024:10903-1","openSUSE-SU-2024:10904-1","openSUSE-SU-2024:10905-1","openSUSE-SU-2024:11553-1","openSUSE-SU-2024:11554-1"],"references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/r68032132c0399c29d6cdc7bd44918535da54060a10a12b1591328bff%40%3Cnotifications.skywalking.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r88d69555cb74a129a7bf84838073b61259b4a3830190e05a3b87994e%40%3Ccommits.pulsar.apache.org%3E"},{"type":"WEB","url":"https://lists.apache.org/thread.html/rc1e9ff22c5641d73701ba56362fb867d40ed287cca000b131dcf4a44%40%3Ccommits.pulsar.apache.org%3E"},{"type":"ADVISORY","url":"https://discuss.hashicorp.com/t/hcsec-2021-23-consul-exposed-to-denial-of-service-in-gogo-protobuf-dependency/29025"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210219-0006/"},{"type":"FIX","url":"https://github.com/gogo/protobuf/commit/b03c65ea87cdc3521ede29f62fe3ce239267c1bc"},{"type":"FIX","url":"https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/gogo/protobuf","events":[{"introduced":"0"},{"fixed":"b03c65ea87cdc3521ede29f62fe3ce239267c1bc"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.3.2"}]}},{"type":"GIT","repo":"https://github.com/hashicorp/consul","events":[{"introduced":"0"},{"fixed":"a4f67ec2bffec430e6677dc5a449e89b9b56aa13"},{"introduced":"0"},{"fixed":"a4f67ec2bffec430e6677dc5a449e89b9b56aa13"},{"introduced":"a417fe51040a33039d3282e31c6c6b6f4fd1f886"},{"fixed":"b0906b5bb0b6df6149aa1645d331030f5e85be30"},{"introduced":"a417fe51040a33039d3282e31c6c6b6f4fd1f886"},{"fixed":"b0906b5bb0b6df6149aa1645d331030f5e85be30"},{"introduced":"27de64da7095570012e9f8f7aec16aaf66d2a773"},{"fixed":"3cb6eeedbda90aad6b387b89917971086d6cf6b5"},{"introduced":"27de64da7095570012e9f8f7aec16aaf66d2a773"},{"fixed":"3cb6eeedbda90aad6b387b89917971086d6cf6b5"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"1.8.15"},{"introduced":"0"},{"fixed":"1.8.15"},{"introduced":"1.9.0"},{"fixed":"1.9.9"},{"introduced":"1.9.0"},{"fixed":"1.9.9"},{"introduced":"1.10.0"},{"fixed":"1.10.2"},{"introduced":"1.10.0"},{"fixed":"1.10.2"}]}}],"versions":["api/v1.8.1","api/v1.9.1","v0.1","v0.2","v0.3","v0.4","v0.5","v1.0.0","v1.1.0","v1.1.1","v1.10.0","v1.10.1","v1.10.1-beta1","v1.2.0","v1.2.1","v1.3.0","v1.3.1","v1.9.0","v1.9.1","v1.9.2","v1.9.3","v1.9.4","v1.9.5","v1.9.6","v1.9.7","v1.9.8"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3121.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"}]}