Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/gogo/protobuf/protoc-gen-gofast
  4. ›
  5. CVE-2021-3121

CVE-2021-3121: Improper Validation of Array Index

January 11, 2021 (updated November 7, 2023)

An issue was discovered in GoGo Protobuf plugin/unmarshal/unmarshal.go lacks certain index validation.

References

  • nvd.nist.gov/vuln/detail/CVE-2021-3121

Code Behaviors & Features

Detect and mitigate CVE-2021-3121 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.2

Fixed versions

  • v1.3.2

Solution

Upgrade to version 1.3.2 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H

Learn more about CVSS

Weakness

  • CWE-129: Improper Validation of Array Index

Source file

go/github.com/gogo/protobuf/protoc-gen-gofast/CVE-2021-3121.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:38 +0000.