Skip to main content
← All vulnerabilities
CVE-2024-24786GO-2024-2611GHSA-8R3F-844C-MC37

Infinite loop in JSON unmarshaling in google.golang.org/protobuf

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.33.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • google.golang.org/protobuf/encoding/protojson

    fixed in 1.33.0

  • google.golang.org/protobuf/internal/encoding/json

    fixed in 1.33.0

  • google.golang.org/protobufGo

    fixed in 1.33.0

  • google.golang.org/protobuf/encoding/protojsonGo

    fixed in 1.33.0

  • google.golang.org/protobuf/internal/encoding/jsonGo

    fixed in 1.33.0

References 5

go.dev

pkg.go.dev

lists.fedoraproject.org

openwall.com

security.netapp.com