Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. crayon
  4. ›
  5. CVE-2020-35889

CVE-2020-35889: Memory safety violation in crayon

August 25, 2021

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.

References

  • github.com/advisories/GHSA-m833-jv95-mfjh
  • github.com/shawnscode/crayon
  • github.com/shawnscode/crayon/issues/87
  • nvd.nist.gov/vuln/detail/CVE-2020-35889
  • rustsec.org/advisories/RUSTSEC-2020-0037.html

Code Behaviors & Features

Detect and mitigate CVE-2020-35889 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 0.7.1

Solution

Unfortunately, there is no solution available yet.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition

Source file

cargo/crayon/CVE-2020-35889.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:30 +0000.