ADVISORIES

RustSec Advisory Database

RUSTSEC-2019-0025

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.

Affected packages

EcosystemPackageAffected versions
crates.ioserde_cbor
From 0.0.0-0 before 0.10.2 (fixed in 0.10.2)

References