{"id":"GHSA-ppqp-78xx-3r38","summary":"Out of bounds write in calamine","details":"An issue was discovered in the calamine crate before 0.17.0 for Rust. It allows attackers to overwrite heap-memory locations because Vec::set_len is used without proper memory claiming, and this uninitialized memory is used for a user-provided Read operation, as demonstrated by Sectors::get.","aliases":["CVE-2021-26951","RUSTSEC-2021-0015"],"modified":"2023-11-08T04:05:22.828925Z","published":"2021-08-25T20:53:25Z","database_specific":{"cwe_ids":["CWE-787"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2021-08-19T17:35:56Z","nvd_published_at":"2021-02-09T23:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-26951"},{"type":"WEB","url":"https://github.com/tafia/calamine/issues/199"},{"type":"PACKAGE","url":"https://github.com/tafia/calamine"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0015.html"}],"affected":[{"package":{"name":"calamine","ecosystem":"crates.io","purl":"pkg:cargo/calamine"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.17.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-ppqp-78xx-3r38/GHSA-ppqp-78xx-3r38.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:H/I:H/A:H"}]}