{"id":"GHSA-m833-jv95-mfjh","summary":"Memory safety violation in crayon","details":"An issue was discovered in the crayon crate through 2020-08-31 for Rust. A TOCTOU issue has a resultant memory safety violation via HandleLike.","aliases":["CVE-2020-35889","RUSTSEC-2020-0037"],"modified":"2023-11-08T04:03:37.746760Z","published":"2021-08-25T20:48:50Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-08-19T20:56:31Z","nvd_published_at":null,"cwe_ids":["CWE-367"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35889"},{"type":"WEB","url":"https://github.com/shawnscode/crayon/issues/87"},{"type":"PACKAGE","url":"https://github.com/shawnscode/crayon"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0037.html"}],"affected":[{"package":{"name":"crayon","ecosystem":"crates.io","purl":"pkg:cargo/crayon"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.7.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-m833-jv95-mfjh/GHSA-m833-jv95-mfjh.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}