{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-35889","id":"CVE-2020-35889","title":"Memory safety violation in crayon","description":"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.","descriptionLong":"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.","published":"2020-12-31T08:24:52.000Z","updated":"2026-10-24T10:30:23.331817548Z","reserved":"2020-12-31T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"crayon","purl":"pkg:cargo/crayon","ranges":["<=0.7.1",">=0.0.0-0"],"fixed":[],"advisory":"GHSA-m833-jv95-mfjh"}],"cwes":["CWE-367"],"aliases":["GHSA-m833-jv95-mfjh","RUSTSEC-2020-0037"],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0037.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35889","tags":["advisory"]},{"url":"https://github.com/shawnscode/crayon/issues/87","tags":["web","report"]},{"url":"https://github.com/shawnscode/crayon","tags":["package"]},{"url":"https://crates.io/crates/crayon","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00881,"epssPercentile":0.59821,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-35889","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35889","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-35889","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-m833-jv95-mfjh","ok":true,"note":"GHSA-m833-jv95-mfjh"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-35889","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}