CVE-2020-36458 Data races in lexer
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.
| Package | Affected | Fixed in |
|---|---|---|
lexer crates.io | All versions to 0.1.16 | None |
lexer crates.io | All versions to 0.1.16 | None |
lexer crates.io | From 0.0.0-0 | None |
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.