CVE-2024-24786 Affecting golang-google-protobuf package, versions <1.33.0-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.24% (47th 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-DEBIANUNSTABLE-GOLANGGOOGLEPROTOBUF-6405976
  • published7 Mar 2024
  • disclosed5 Mar 2024

Introduced: 5 Mar 2024

CVE-2024-24786  (opens in a new tab)

How to fix?

Upgrade Debian:unstable golang-google-protobuf to version 1.33.0-1 or higher.

NVD Description

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

The protojson.Unmarshal function can enter an infinite loop when unmarshaling certain forms of invalid JSON. This condition can occur when unmarshaling into a message which contains a google.protobuf.Any value, or when the UnmarshalOptions.DiscardUnknown option is set.

CVSS Base Scores

version 3.1