PT-2019-16418 · Rust · Serde Cbor
Published
2019-10-03
·
Updated
2021-08-25
·
CVE-2019-25001
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
serde cbor crate versions prior to 0.10.2
Description
An issue in the CBOR deserializer can cause stack consumption via nested semantic tags, allowing an attacker to craft small CBOR documents that cause a stack overflow. The flaw was corrected by limiting the allowed number of nested tags.
Recommendations
For versions prior to 0.10.2, update to version 0.10.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the CBOR deserializer to minimize the risk of exploitation. Avoid using the CBOR deserializer with untrusted input until the issue is resolved.
Exploit
Fix
Memory Corruption
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Serde Cbor