Skip to content
OpenAdvisories
High · 7.5 CVE-2019-25001 EUVD-2021-1940GHSA-xr7r-88qv-q7hmRUSTSEC-2019-0025

Out of bounds write in serde_cbor

Published Dec 31, 2020 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in the serde_cbor crate before 0.10.2 for Rust. The CBOR deserializer can cause stack consumption via nested semantic tags.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-serde-cbor No fix yet —
Ubuntu 26.04 LTS rust-serde-cbor No fix yet —
Ubuntu 25.10 rust-serde-cbor No fix yet —
Ubuntu 24.04 LTS rust-serde-cbor No fix yet —
Ubuntu 22.04 LTS rust-serde-cbor No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io serde_cbor < 0.10.2 0.10.2 GHSA-xr7r-88qv-q7hm
crates.io serde_cbor >= 0.0.0-0, < 0.10.2 0.10.2 RUSTSEC-2019-0025

References