CVE-2020-36458 Data races in lexer

High 8.1 Published Updated

Incorrect Sync implementation in the Rust lexer crate allows potential data races, requiring a patch to ensure thread safety.

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-36458?

CVE-2020-36458 is a high-severity vulnerability in n/a, published on 8 Aug 2021. 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 lexer crate through 2020-11-10 for Rust. For ReaderResult<T, E>, there is an implementation of Sync with a trait bound of T: Send, E: Send.

Weakness: CWE-362

Which versions are affected by CVE-2020-36458?

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

PackageAffectedFixed in
lexer crates.ioAll versions to 0.1.16None
lexer crates.ioAll versions to 0.1.16None
lexer crates.ioFrom 0.0.0-0None

Products include Lexer Project Lexer.

How do I fix CVE-2020-36458?

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

Is CVE-2020-36458 being exploited?

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

Sources

Also known as GHSA-f997-8gxg-r354, RUSTSEC-2020-0138.

Is CVE-2020-36458 in your software?

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

Check your SBOMs for free