stepancheg/rust-protobuf · Security
Crash due to uncontrolled recursion in protobuf crate
- GHSA ID
- GHSA-2gh3-rmm4-6rq5
- CVE ID
- CVE-2025-53605
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.6 · 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
Description
Affected version of this crate did not properly parse unknown fields when parsing a user-supplied input.
This allows an attacker to cause a stack overflow when parsing the message on untrusted data.
CWEs
- CWE-20 · Improper Input Validation
- CWE-770 · Allocation of Resources Without Limits or Throttling
References
- https://github.com/stepancheg/rust-protobuf/issues/749 ↗
- https://rustsec.org/advisories/RUSTSEC-2024-0437.html ↗
- https://github.com/stepancheg/rust-protobuf/commit/f06992f46771c0a092593b9ebf7afd48740b3ed6 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2025-53605 ↗
- https://github.com/advisories/GHSA-2gh3-rmm4-6rq5 ↗