Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-3121

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-3121
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:57 UTC · Revision 1

Source evidence

CVE-2021-3121

core-osv · Original source

Published 11 Jan 2021, 06:15 UTC

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.

osv:CVE-2021-3121
Complete source record
{
  "id": "a44c5ed6298510fb6a1e629bb615857aefe5c817722502c71489de0a231714c6",
  "url": "https://osv.dev/vulnerability/CVE-2021-3121",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-3121",
    "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.",
    "evidence": "osv:CVE-2021-3121",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-3121",
      "aliases": [
        "BIT-consul-2021-3121",
        "BIT-protobuf-2021-3121",
        "CVE-2021-3121",
        "GHSA-c3h9-896r-86jm",
        "GO-2021-0053"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gogo/protobuf",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "b03c65ea87cdc3521ede29f62fe3ce239267c1bc"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:golang:protobuf:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.3.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "b03c65ea87cdc3521ede29f62fe3ce239267c1bc"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.3.1",
            "v1.3.0",
            "v1.2.1",
            "v1.2.0",
            "v1.1.1",
            "v1.1.0",
            "v1.0.0",
            "v0.5",
            "v0.4",
            "v0.3",
            "v0.2",
            "v0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3121.json"
          }
        },
        {
          "ranges": [
            {
              "repo": "https://github.com/hashicorp/consul",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "a4f67ec2bffec430e6677dc5a449e89b9b56aa13"
                },
                {
                  "introduced": "a417fe51040a33039d3282e31c6c6b6f4fd1f886"
                },
                {
                  "fixed": "b0906b5bb0b6df6149aa1645d331030f5e85be30"
                },
                {
                  "introduced": "27de64da7095570012e9f8f7aec16aaf66d2a773"
                },
                {
                  "fixed": "3cb6eeedbda90aad6b387b89917971086d6cf6b5"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.8.15"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.8.15"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "1.9.0"
                      },
                      {
                        "fixed": "1.9.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.9.0"
                      },
                      {
                        "fixed": "1.9.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:*:*:*:*:-:*:*:*",
                    "range": [
                      {
                        "introduced": "1.10.0"
                      },
                      {
                        "fixed": "1.10.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:hashicorp:consul:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "1.10.0"
                      },
                      {
                        "fixed": "1.10.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.10.1",
            "v1.9.8",
            "v1.8.14",
            "v1.10.1-beta1",
            "api/v1.9.1",
            "v1.8.13",
            "v1.9.7",
            "v1.10.0-rc2",
            "v1.10.0-rc",
            "v1.10.0-beta4",
            "v1.9.6",
            "v1.8.12",
            "v1.8.11-beta2",
            "v1.10.0-beta2",
            "v1.10.0-beta1",
            "v1.9.5",
            "v1.8.10",
            "v1.9.4",
            "v1.8.9",
            "v1.8.9-beta1",
            "v1.9.2",
            "v1.9.1",
            "api/v1.8.1",
            "v1.8.7",
            "v1.8.7-beta1",
            "v1.8.4",
            "api/v1.7.0",
            "v1.8.3",
            "sdk/v0.6.0",
            "v1.8.0-beta2",
            "v1.8.0-beta1",
            "v1.7.0",
            "sdk/v0.4.0",
            "api/v1.4.0",
            "v1.7.0-beta3",
            "v1.7.0-beta2",
            "v1.7.0-beta1",
            "v1.6.1",
            "v1.6.0",
            "api/v1.2.0",
            "sdk/v0.2.0",
            "v1.5.3",
            "v1.5.2",
            "v1.5.1",
            "v1.4.4",
            "v1.5.0",
            "api/v1.1.0",
            "sdk/v0.1.1",
            "api/v1.0.1",
            "sdk/v0.1.0",
            "api/v1.0.0",
            "internal/v0.1.0",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.2.3",
            "v1.1.0",
            "v1.0.7",
            "v0.9.3",
            "v1.4.0",
            "v1.4.0-rc1",
            "v1.2.2",
            "v1.2.1",
            "v1.2.0",
            "v1.0.6",
            "v1.0.5",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.1-rc1",
            "v1.0.0",
            "v1.0.0-beta2",
            "v1.0.0-beta1",
            "v0.9.3-rc2",
            "v0.9.3-rc1",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.9.0-rc1",
            "v0.8.5",
            "v0.8.4",
            "v0.8.2",
            "v0.8.1",
            "v0.8.0",
            "v0.8.0-rc1",
            "v0.7.4",
            "v0.7.3",
            "v0.7.2",
            "v0.7.2-rc1",
            "v0.7.1",
            "v0.7.0",
            "v0.7.0-rc2",
            "v0.7.0-rc1",
            "v0.6.4",
            "v0.6.4-rc3",
            "v0.6.3",
            "v0.6.1",
            "v0.6.0",
            "v0.6.0-rc2",
            "v0.6.0-rc1",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.5.0rc1",
            "v0.4.1",
            "v0.4.0",
            "v0.3.1",
            "v0.3.0",
            "v0.2.1",
            "v0.2.0",
            "v0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-3121.json"
          }
        }
      ],
      "modified": "2026-10-24T10:51:24.925534389Z",
      "provider": "osv",
      "references": [
        "https://lists.apache.org/thread.html/r68032132c0399c29d6cdc7bd44918535da54060a10a12b1591328bff%40%3Cnotifications.skywalking.apache.org%3E",
        "https://lists.apache.org/thread.html/r88d69555cb74a129a7bf84838073b61259b4a3830190e05a3b87994e%40%3Ccommits.pulsar.apache.org%3E",
        "https://lists.apache.org/thread.html/rc1e9ff22c5641d73701ba56362fb867d40ed287cca000b131dcf4a44%40%3Ccommits.pulsar.apache.org%3E",
        "https://discuss.hashicorp.com/t/hcsec-2021-23-consul-exposed-to-denial-of-service-in-gogo-protobuf-dependency/29025",
        "https://security.netapp.com/advisory/ntap-20210219-0006/",
        "https://github.com/gogo/protobuf/commit/b03c65ea87cdc3521ede29f62fe3ce239267c1bc",
        "https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-3121",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442602,
  "published_at": "2021-01-11T06:15:13.46+00:00"
}