{"id":"RUSTSEC-2019-0025","summary":"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.\n\nThis allows an attacker to craft small (\u003c 1 kB) CBOR documents that cause a stack overflow.\n \nThe flaw was corrected by limiting the allowed number of nested tags.","aliases":["CVE-2019-25001","GHSA-xr7r-88qv-q7hm"],"modified":"2023-11-01T04:50:53.749293Z","published":"2019-10-03T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/serde_cbor"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2019-0025.html"},{"type":"WEB","url":"https://github.com/pyfisch/cbor/releases/tag/v0.10.2"}],"affected":[{"package":{"name":"serde_cbor","ecosystem":"crates.io","purl":"pkg:cargo/serde_cbor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.10.2"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"os":[],"functions":[],"arch":[]}},"database_specific":{"categories":["crypto-failure"],"informational":null,"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0025.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}