CVE-2020-35882
HIGH 8.1CVSS 3.1Data races in rocket
An issue was discovered in the rocket crate before 0.4.5 for Rust. LocalRequest::clone creates more than one mutable references to the same object, possibly causing a data race.
- Published
- 31 Dec 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-362
- Also known as
- GHSA-8q2v-67v7-6vc6RUSTSEC-2020-0028
- Sources
- NVDJSONOSV GHSA-8q2v-67v7-6vc6JSONOSV RUSTSEC-2020-0028JSON
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 | rocket | rocketcpe:2.3:a:rocket:rocket:*:*:*:*:*:rust:*:* |
>= 0.4.0, < 0.4.5 | 0.4.5 |
| OSV | crates.io | rocket | >= 0.4.0, < 0.4.5 | 0.4.5 |
References
- https://rustsec.org/advisories/RUSTSEC-2020-0028.html · Exploit, Patch, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-35882 · ADVISORY
- https://github.com/SergioBenitez/Rocket/issues/1312 · WEB, REPORT
- https://github.com/SergioBenitez/Rocket · PACKAGE
- https://crates.io/crates/rocket · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Dec 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 May 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)