CVE-2020-35889 Memory safety violation in crayon

High 8.1 Published Updated

A time-of-check time-of-use race condition in the crayon crate can lead to memory safety violations and potential code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2020-35889?

CVE-2020-35889 is a high-severity vulnerability in n/a, published on 31 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-367

Which versions are affected by CVE-2020-35889?

3 open source packages ship an affected version, including crayon. It affects 1 product.

PackageAffectedFixed in
crayon crates.ioAll versions to 0.7.1None
crayon crates.ioAll versions to 0.7.1None
crayon crates.ioFrom 0.0.0-0None

Products include Crayon Project Crayon.

How do I fix CVE-2020-35889?

No fix has been published for CVE-2020-35889 yet. Limit exposure of the affected software until one is available.

Is CVE-2020-35889 being exploited?

There is no known exploitation of CVE-2020-35889 in the wild and no public exploit code.

Sources

Also known as GHSA-m833-jv95-mfjh, RUSTSEC-2020-0037.

Is CVE-2020-35889 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free