Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS04cjNmLTg0NGMtbWMzN84AA5yO

Golang protojson.Unmarshal function infinite loop when unmarshaling certain forms of invalid JSON

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.

Permalink: https://github.com/advisories/GHSA-8r3f-844c-mc37
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04cjNmLTg0NGMtbWMzN84AA5yO
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: 9 months ago
Updated: 24 days ago


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

Identifiers: GHSA-8r3f-844c-mc37, CVE-2024-24786
References: Repository: https://github.com/protocolbuffers/protobuf-go
Blast Radius: 38.8

Affected Packages

go:google.golang.org/protobuf/internal/encoding/json
Dependent packages: 0
Dependent repositories: 0
Downloads:
Affected Version Ranges: < 1.33.0
Fixed in: 1.33.0
All affected versions:
All unaffected versions:
go:google.golang.org/protobuf/encoding/protojson
Dependent packages: 0
Dependent repositories: 0
Downloads:
Affected Version Ranges: < 1.33.0
Fixed in: 1.33.0
All affected versions:
All unaffected versions:
go:google.golang.org/protobuf
Dependent packages: 86,079
Dependent repositories: 148,671
Downloads:
Affected Version Ranges: < 1.33.0
Fixed in: 1.33.0
All affected versions: 1.20.0, 1.20.1, 1.21.0, 1.22.0, 1.23.0, 1.24.0, 1.25.0, 1.26.0, 1.27.0, 1.27.1, 1.28.0, 1.28.1, 1.29.0, 1.29.1, 1.30.0, 1.31.0, 1.32.0
All unaffected versions: 1.33.0, 1.34.0, 1.34.1, 1.34.2, 1.35.0, 1.35.1, 1.35.2