ghsa-8r3f-844c-mc37
Vulnerability from github
Published
2024-03-06 00:31
Modified
2024-11-07 19:19
Severity ?
7.5 (High) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
6.6 (Medium) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
6.6 (Medium) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
Summary
Golang protojson.Unmarshal function infinite loop when unmarshaling certain forms of invalid JSON
Details
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.
{ "affected": [ { "package": { "ecosystem": "Go", "name": "google.golang.org/protobuf" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.33.0" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "google.golang.org/protobuf/encoding/protojson" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.33.0" } ], "type": "ECOSYSTEM" } ] }, { "package": { "ecosystem": "Go", "name": "google.golang.org/protobuf/internal/encoding/json" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.33.0" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-24786" ], "database_specific": { "cwe_ids": [ "CWE-835" ], "github_reviewed": true, "github_reviewed_at": "2024-03-13T21:01:28Z", "nvd_published_at": "2024-03-05T23:15:07Z", "severity": "MODERATE" }, "details": "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.", "id": "GHSA-8r3f-844c-mc37", "modified": "2024-11-07T19:19:40Z", "published": "2024-03-06T00:31:27Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-24786" }, { "type": "WEB", "url": "https://github.com/protocolbuffers/protobuf-go/commit/f01a588e5810b90996452eec4a28f22a0afae023" }, { "type": "PACKAGE", "url": "https://github.com/protocolbuffers/protobuf-go" }, { "type": "WEB", "url": "https://github.com/protocolbuffers/protobuf-go/releases/tag/v1.33.0" }, { "type": "WEB", "url": "https://go.dev/cl/569356" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JDMBHAVSDU2FBDZ45U3A2VLSM35OJ2HU" }, { "type": "WEB", "url": "https://pkg.go.dev/vuln/GO-2024-2611" }, { "type": "WEB", "url": "https://security.netapp.com/advisory/ntap-20240517-0002" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2024/03/08/4" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U", "type": "CVSS_V4" } ], "summary": "Golang protojson.Unmarshal function infinite loop when unmarshaling certain forms of invalid JSON" }
Loading...
Loading...
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.