HistoryEditJSON (OSV)

RUSTSEC-2019-0025

Flaw in CBOR deserializer allows stack overflow

Reported
Issued
Package
serde_cbor (crates.io)
Type
Vulnerability
Categories
Keywords
#stack-overflow #crash #denial-of-service
Aliases
References
CVSS Score
7.5 HIGH
CVSS Details
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Patched
  • >=0.10.2

Description

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.

Advisory available under CC0-1.0 license.