Advisory

GO-2021-0053

Also known as: BIT-consul-2021-3121, BIT-protobuf-2021-3121, CVE-2021-3121, GHSA-c3h9-896r-86jm

Summary

Panic due to improper input validation in github.com/gogo/protobuf

Details

Due to improper bounds checking, maliciously crafted input to generated Unmarshal methods can cause an out-of-bounds panic. If parsing messages from untrusted parties, this may be used as a denial of service vector.

Severity

Not rated by the source.

Dates

Published
2021-04-14 20:04 UTC
Modified
2026-02-04 03:28 UTC

Affected packages and fixes

github.com/gogo/protobuf

Go · All systems

Affected

  • introduced 0, fixed 1.3.2 (semver)

Fixed versions

1.3.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences