GitHub Advisoryadvisory · crates.io

GHSA-xr7r-88qv-q7hm Out of bounds write in serde_cbor

HIGH Published 2021-08-25 Modified 2023-06-13 Official page ↗
Aliases
CVE-2019-25001
Ecosystem
crates.io
Packages
serde_cbor
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-787
Reviewed
2021-08-19

Affected packages

• crates.io serde_cbor: < 0.10.2 → fixed in 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.

Related

Alias · CVE (1)

  • CVE-2019-25001 An issue was discovered in the serde_cbor crate before 0.10.2 for Rust. vulnerability

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References