Improper Validation of Array Index Affecting protobuf-c package, versions <1.3.2-r0


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
3.43% (89th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE324-PROTOBUFC-17297944
  • published11 Jun 2026
  • disclosed11 Jan 2021

Introduced: 11 Jan 2021

CVE-2021-3121  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade Alpine:3.24 protobuf-c to version 1.3.2-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream protobuf-c package and not the protobuf-c package as distributed by Alpine. See How to fix? for Alpine:3.24 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1