Skip to main content
No exploitation reportedFix available

CVE-2024-24786

No exploitation reported by the sources we read.

  • Published2024-03-05
  • Fixed in1.33.0

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2024-03-0523:15CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-24786?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-24786?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

OSV
google.golang.org/protobuf
BranchAffectedFixed in
1.33< 1.33.01.33.0
google.golang.org/protobuf/encoding/protojson
BranchAffectedFixed in
1.33< 1.33.01.33.0
google.golang.org/protobuf/internal/encoding/json
BranchAffectedFixed in
1.33< 1.33.01.33.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • aardvark-dnsRocky Linux:8all versions · fixed in 2:1.10.0-1.module+el8.10.0+1815+5fe7415e
  • aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.10.0-1.module_el8.10.0+3792+03eaed9c
  • aardvark-dnsAlmaLinux:8all versions · fixed in 2:1.10.0-1.module_el8.10.0+3858+6ad51f9f
  • buildahRocky Linux:9all versions · fixed in 2:1.33.7-1.el9_4
  • buildahRocky Linux:8all versions · fixed in 2:1.33.7-1.module+el8.10.0+1825+623b0c20
  • buildahAlmaLinux:9all versions · fixed in 2:1.33.7-1.el9_4and 1 other package
  • buildahAlmaLinux:8all versions · fixed in 2:1.33.7-1.module_el8.10.0+3845+87b84552and 1 other package
  • buildahAlmaLinux:8all versions · fixed in 2:1.33.8-1.module_el8.10.0+3862+c5a22a8dand 1 other package

55 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-24786 Red Hat Product Security2,347 products fixed · 115 known affected

    google.golang.org/protobuf: golang-protobuf: Denial of Service via infinite loop when unmarshaling invalid JSON

    openshift-builds/openshift-builds-waiters-rhel8 as a component of Builds for Red Hat OpenShift · migration-toolkit-virtualization/mtv-validation-rhel9 as a component of Migration Toolkit for Virtualization · multicluster-engine/addon-manager-rhel8 as a component of Multicluster Engine for Kubernetes · +112 more

  • RHSA-2026:80693 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

  • RHSA-2026:80686 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

  • RHSA-2026:80683 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

  • RHSA-2026:80682 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

  • RHSA-2026:80677 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

120 more advisories

Full record on NVD

Fix

  1. Update google.golang.org/protobuf to 1.33.0
  2. Vendor fix Red Hat Product Security RHSA-2026:80693 · 13 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
  3. Workaround from the vendor Red Hat Product Security RHSA-2026:80693 · 13 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2024-03-05
Last Modified
2026-09-23
NVD status
Deferred

Frequently asked questions

What is CVE-2024-24786?

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.

Is CVE-2024-24786 actively exploited?

Active exploitation of CVE-2024-24786 has not been confirmed. Its EPSS score was 1.3% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-24786?

CVE-2024-24786 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running google.golang.org/protobuf? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month