GitHub Advisoryadvisory · crates.io
GHSA-xr7r-88qv-q7hm Out of bounds write in serde_cbor
HIGH
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
- https://nvd.nist.gov/vuln/detail/CVE-2019-25001 advisory
- https://github.com/pyfisch/cbor/pull/153 web
- https://github.com/pyfisch/cbor/commit/1aec4f9d71855dbfb223fa61ca60260400cc5d5f web
- https://github.com/pyfisch/cbor package
- https://github.com/pyfisch/cbor/releases/tag/v0.10.2 web
- https://rustsec.org/advisories/RUSTSEC-2019-0025.html web