{"id":"CVE-2020-35882","aliases":["CVE-2020-35882","GHSA-8q2v-67v7-6vc6","RUSTSEC-2020-0028"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in rocket","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"The affected version of rocket contains a Clone trait implementation of LocalRequest that reuses the pointer to inner Request object. This causes data race in rare combinations of APIs if the original and the cloned objects are modified at the same time.","format":"markdown","source":"ghsa"},{"lang":"en","text":"The affected version of `rocket` contains a `Clone` trait implementation of\n`LocalRequest` that reuses the pointer to inner `Request` object.\nThis causes data race in rare combinations of APIs if the original and the\ncloned objects are modified at the same time.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate rocket versiones anteriores a 0.4.5 para Rust.&#xa0;La función LocalRequest::clone crea más de una referencia mutable al mismo objeto, posiblemente causando una carrera de datos.","source":"nvd"}],"published":"2020-05-27T12:00:00.000Z","modified":"2026-06-17T03:14:31.680Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.4.0","status":"affected","fixed":"0.4.5"}],"ecosystem":"crates.io","package":"rocket","purl":"pkg:cargo/rocket","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.4.0","status":"affected","fixed":"0.4.5"}],"ecosystem":"crates.io","package":"rocket","purl":"pkg:cargo/rocket","source":"rustsec"},{"ranges":[{"status":"affected","introduced":"0.4.0","fixed":"0.4.5"}],"vendor":"rocket","product":"rocket","cpe":"cpe:2.3:a:rocket:rocket:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0028.html","tags":["advisory","exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35882","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/SergioBenitez/Rocket/issues/1312","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/SergioBenitez/Rocket","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/rocket","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-35882","url":"https://www.cve.org/CVERecord?id=CVE-2020-35882","licence":"CVE Terms of Use","modified":"2024-08-04T17:16:13.163Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8q2v-67v7-6vc6","url":"https://github.com/advisories/GHSA-8q2v-67v7-6vc6","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:37.315Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0028","url":"https://rustsec.org/advisories/RUSTSEC-2020-0028.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:37.315Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-35882","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-35882","licence":"Public domain","modified":"2026-06-17T03:14:31.680Z"}],"updatedAt":"2026-11-25T22:57:56.690Z","epss":{"score":0.00969,"percentile":0.6292,"date":"2026-12-02T12:00:21.000Z"}}