{"answers":{"affected":"5 open source packages ship an affected version, including github.com/gogo/protobuf, consul and protobuf. It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-3121 in the wild and no public exploit code.","fix":"Upgrade github.com/gogo/protobuf to 1.3.2 or later.","what":"CVE-2021-3121 is a high-severity memory corruption vulnerability in n/a, published on 11 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-3121 and fix it if it is affected.\n\nWhat it is: CVE-2021-3121 is a high-severity memory corruption vulnerability in n/a, published on 11 Jan 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-3121 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/gogo/protobuf (Go): affected all versions; fixed in 1.3.2\n- github.com/gogo/protobuf (Go): affected all versions; fixed in 1.3.2\n- github.com/gogo/protobuf (Go): affected all versions; fixed in 1.3.2\n- consul (Bitnami): affected all versions; fixed in 1.8.15, 1.9.9, 1.10.2\n- protobuf (Bitnami): affected all versions; fixed in 1.3.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-3121/ (Markdown: https://insights.sbomify.com/CVE-2021-3121/index.md)","id":"CVE-2021-3121","markdown":"https://insights.sbomify.com/CVE-2021-3121/index.md","name":"CVE-2021-3121","record":{"aliases":["ALPINE-CVE-2021-3121","BIT-consul-2021-3121","BIT-protobuf-2021-3121","CLEANSTART-2025-UP04115","CLEANSTART-2026-DT87304","DEBIAN-CVE-2021-3121","GHSA-c3h9-896r-86jm","GO-2021-0053","SUSE-SU-2025:02977-1","UBUNTU-CVE-2021-3121","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"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"GoGo Protobuf library","requires_auth":"none","summary":"Attackers can exploit missing index validation in GoGo Protobuf to cause memory corruption, potentially leading to code execution or denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"protobuf","vendor":"golang"},{"product":"consul","vendor":"hashicorp"}],"cvss":{"score":8.6,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H","version":"3.1"},"cwes":[{"id":"CWE-129","name":"Improper Validation of Array Index"}],"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.","ecosystems":["Bitnami","Go","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","openSUSE:Leap 15.6","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Improper Input Validation in GoGo Protobuf","id":"CVE-2021-3121","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"memory_corruption","year":"2021"},"n_packages":20,"n_references":7,"next":{"headline":"Command injection in n/a","id":"CVE-2021-3122"},"packages":[{"ecosystem":"Bitnami","fixed":["1.8.15","1.9.9","1.10.2"],"introduced":["0","1.9.0","1.10.0"],"last_affected":[],"package":"consul","purl":"pkg:bitnami/consul","source":"BIT-consul-2021-3121"},{"ecosystem":"Bitnami","fixed":["1.3.2"],"introduced":["0"],"last_affected":[],"package":"protobuf","purl":"pkg:bitnami/protobuf","source":"BIT-protobuf-2021-3121"},{"ecosystem":"Go","fixed":["1.3.2"],"introduced":["0"],"last_affected":[],"package":"github.com/gogo/protobuf","purl":null,"source":"GHSA-c3h9-896r-86jm"},{"ecosystem":"Go","fixed":["1.3.2"],"introduced":["0"],"last_affected":[],"package":"github.com/gogo/protobuf","purl":"pkg:golang/github.com/gogo/protobuf","source":"GHSA-c3h9-896r-86jm"},{"ecosystem":"Go","fixed":["1.3.2"],"introduced":["0"],"last_affected":[],"package":"github.com/gogo/protobuf","purl":"pkg:golang/github.com/gogo/protobuf","source":"GO-2021-0053"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["1.18.20-150200.5.25.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.18","purl":"pkg:rpm/suse/kubernetes1.18\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2025:02977-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["1.18.20-150200.5.25.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.18","purl":"pkg:rpm/suse/kubernetes1.18\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2025:02977-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","fixed":["1.18.20-150200.5.25.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.18","purl":"pkg:rpm/suse/kubernetes1.18\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOS","source":"SUSE-SU-2025:02977-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","fixed":["1.18.20-150200.5.25.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.18","purl":"pkg:rpm/suse/kubernetes1.18\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSS","source":"SUSE-SU-2025:02977-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["1.18.20-150200.5.25.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.18","purl":"pkg:rpm/suse/kubernetes1.18\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2025:02977-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP4-LTSS","fixed":["1.18.20-150200.5.25.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.18","purl":"pkg:rpm/suse/kubernetes1.18\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSS","source":"SUSE-SU-2025:02977-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["1.18.20-150200.5.25.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.18","purl":"pkg:rpm/suse/kubernetes1.18\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2025:02977-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP4","fixed":["1.18.20-150200.5.25.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.18","purl":"pkg:rpm/suse/kubernetes1.18\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4","source":"SUSE-SU-2025:02977-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["1.18.20-150200.5.25.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.18","purl":"pkg:rpm/opensuse/kubernetes1.18\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2025:02977-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.18.20-1.2"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.18","purl":"pkg:rpm/opensuse/kubernetes1.18\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:10902-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.19.15-1.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.19","purl":"pkg:rpm/opensuse/kubernetes1.19\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:10903-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.20.11-1.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.20","purl":"pkg:rpm/opensuse/kubernetes1.20\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:10904-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.21.5-1.1"],"introduced":["0"],"last_affected":[],"package":"kubernetes1.21","purl":"pkg:rpm/opensuse/kubernetes1.21\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:10905-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.7.0-1.1"],"introduced":["0"],"last_affected":[],"package":"velero","purl":"pkg:rpm/opensuse/velero\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11553-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["1.3.0-1.1"],"introduced":["0"],"last_affected":[],"package":"velero-plugin-for-aws","purl":"pkg:rpm/opensuse/velero-plugin-for-aws\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11554-1"}],"prev":{"headline":"File upload in n/a","id":"CVE-2021-3120"},"products":["n/a"],"published":"2021-01-11","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers can exploit missing index validation in GoGo Protobuf to cause memory corruption, potentially leading to code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2021-3121/"}