RUSTSEC-2019-0025
Dashboard / Vulnerabilities / RUSTSEC-2019-0025
RUSTSEC-2019-0025
Published: 3 Oct 2019Last Modified: 8 Nov 2023
Aliases:
Summary: Flaw in CBOR deserializer allows stack overflow
Details: Affected versions of this crate did not properly check if semantic tags were nested excessively during deserialization. This allows an attacker to craft small (< 1 kB) CBOR documents that cause a stack overflow. The flaw was corrected by limiting the allowed number of nested tags.
References: https://crates.io/crates/serde_cbor, https://rustsec.org/advisories/RUSTSEC-2019-0025.html, https://github.com/pyfisch/cbor/releases/tag/v0.10.2
Affected packages
Package
Name: serde_cbor
Purl: pkg:cargo/serde_cbor
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.0-0
Fixed -0.10.2
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
