{"id":"GHSA-xr7r-88qv-q7hm","summary":"Out of bounds write in serde_cbor","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 (\u003c 1 kB) CBOR documents that cause a stack overflow. The flaw was corrected by limiting the allowed number of nested tags.","aliases":["CVE-2019-25001","RUSTSEC-2019-0025"],"modified":"2023-11-01T04:50:53.749293Z","published":"2021-08-25T20:45:51Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-08-19T21:20:43Z","nvd_published_at":null,"cwe_ids":["CWE-787"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25001"},{"type":"WEB","url":"https://github.com/pyfisch/cbor/pull/153"},{"type":"WEB","url":"https://github.com/pyfisch/cbor/commit/1aec4f9d71855dbfb223fa61ca60260400cc5d5f"},{"type":"PACKAGE","url":"https://github.com/pyfisch/cbor"},{"type":"WEB","url":"https://github.com/pyfisch/cbor/releases/tag/v0.10.2"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2019-0025.html"}],"affected":[{"package":{"name":"serde_cbor","ecosystem":"crates.io","purl":"pkg:cargo/serde_cbor"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.10.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-xr7r-88qv-q7hm/GHSA-xr7r-88qv-q7hm.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}