CVE-2020-36458
HIGH 8.1CVSS 3.1Data races in lexer
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.
- Published
- 8 Aug 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-362CWE-77
- Also known as
- GHSA-f997-8gxg-r354RUSTSEC-2020-0138
- Sources
- NVDJSONOSV GHSA-f997-8gxg-r354JSONOSV RUSTSEC-2020-0138JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lexer_project | lexercpe:2.3:a:lexer_project:lexer:*:*:*:*:*:rust:*:* |
<= 2020-11-10 | |
| OSV | crates.io | lexer | <= 0.1.16 | |
| OSV | crates.io | lexer | >= 0.0.0-0 |
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/lexer/RUSTSEC-2020-0138.md · Third Party Advisory, WEB
- https://rustsec.org/advisories/RUSTSEC-2020-0138.html · Exploit, Issue Tracking, Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-36458 · ADVISORY
- https://gitlab.com/nathanfaucett/rs-lexer · PACKAGE
- https://gitlab.com/nathanfaucett/rs-lexer/-/issues/2 · WEB, REPORT
- https://crates.io/crates/lexer · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 8 Aug 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Nov 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)