{"id":"ALPINE-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.","modified":"2025-12-03T22:44:25.277275Z","published":"2021-01-11T06:15:13.460Z","upstream":["CVE-2021-3121"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-3121"}],"affected":[{"package":{"name":"protobuf-c","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/protobuf-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-r0"}]}],"versions":["0.15-r0","1.0.0-r0","1.0.1-r0","1.0.2-r0","1.1.0-r0","1.1.1-r0","1.2.1-r0","1.2.1-r1","1.3.0-r0","1.3.0-r1","1.3.0-r2","1.3.0-r3","1.3.0-r4","1.3.0-r5","1.3.0-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3121.json"}},{"package":{"name":"protobuf-c","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/protobuf-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-r0"}]}],"versions":["0.15-r0","1.0.0-r0","1.0.1-r0","1.0.2-r0","1.1.0-r0","1.1.1-r0","1.2.1-r0","1.2.1-r1","1.3.0-r0","1.3.0-r1","1.3.0-r2","1.3.0-r3","1.3.0-r4","1.3.0-r5","1.3.0-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3121.json"}},{"package":{"name":"protobuf-c","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/protobuf-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-r0"}]}],"versions":["0.15-r0","1.0.0-r0","1.0.1-r0","1.0.2-r0","1.1.0-r0","1.1.1-r0","1.2.1-r0","1.2.1-r1","1.3.0-r0","1.3.0-r1","1.3.0-r2","1.3.0-r3","1.3.0-r4","1.3.0-r5","1.3.0-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3121.json"}},{"package":{"name":"protobuf-c","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/protobuf-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-r0"}]}],"versions":["0.15-r0","1.0.0-r0","1.0.1-r0","1.0.2-r0","1.1.0-r0","1.1.1-r0","1.2.1-r0","1.2.1-r1","1.3.0-r0","1.3.0-r1","1.3.0-r2","1.3.0-r3","1.3.0-r4","1.3.0-r5","1.3.0-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3121.json"}},{"package":{"name":"protobuf-c","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/protobuf-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-r0"}]}],"versions":["0.15-r0","1.0.0-r0","1.0.1-r0","1.0.2-r0","1.1.0-r0","1.1.1-r0","1.2.1-r0","1.2.1-r1","1.3.0-r0","1.3.0-r1","1.3.0-r2","1.3.0-r3","1.3.0-r4","1.3.0-r5","1.3.0-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3121.json"}},{"package":{"name":"protobuf-c","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/protobuf-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-r0"}]}],"versions":["0.15-r0","1.0.0-r0","1.0.1-r0","1.0.2-r0","1.1.0-r0","1.1.1-r0","1.2.1-r0","1.2.1-r1","1.3.0-r0","1.3.0-r1","1.3.0-r2","1.3.0-r3","1.3.0-r4","1.3.0-r5","1.3.0-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3121.json"}},{"package":{"name":"protobuf-c","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/protobuf-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-r0"}]}],"versions":["0.15-r0","1.0.0-r0","1.0.1-r0","1.0.2-r0","1.1.0-r0","1.1.1-r0","1.2.1-r0","1.2.1-r1","1.3.0-r0","1.3.0-r1","1.3.0-r2","1.3.0-r3","1.3.0-r4","1.3.0-r5","1.3.0-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3121.json"}},{"package":{"name":"protobuf-c","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/protobuf-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-r0"}]}],"versions":["0.15-r0","1.0.0-r0","1.0.1-r0","1.0.2-r0","1.1.0-r0","1.1.1-r0","1.2.1-r0","1.2.1-r1","1.3.0-r0","1.3.0-r1","1.3.0-r2","1.3.0-r3","1.3.0-r4","1.3.0-r5","1.3.0-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3121.json"}},{"package":{"name":"protobuf-c","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/protobuf-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-r0"}]}],"versions":["0.15-r0","1.0.0-r0","1.0.1-r0","1.0.2-r0","1.1.0-r0","1.1.1-r0","1.2.1-r0","1.2.1-r1","1.3.0-r0","1.3.0-r1","1.3.0-r2","1.3.0-r3","1.3.0-r4","1.3.0-r5","1.3.0-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3121.json"}},{"package":{"name":"protobuf-c","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/protobuf-c?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.2-r0"}]}],"versions":["0.15-r0","1.0.0-r0","1.0.1-r0","1.0.2-r0","1.1.0-r0","1.1.1-r0","1.2.1-r0","1.2.1-r1","1.3.0-r0","1.3.0-r1","1.3.0-r2","1.3.0-r3","1.3.0-r4","1.3.0-r5","1.3.0-r6"],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-3121.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"}]}