{"id":"RUSTSEC-2020-0028","summary":"`LocalRequest::clone` creates multiple mutable references to the same object","details":"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.","aliases":["CVE-2020-35882","GHSA-8q2v-67v7-6vc6"],"modified":"2023-11-08T04:03:37.315505Z","published":"2020-05-27T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/rocket"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0028.html"},{"type":"REPORT","url":"https://github.com/SergioBenitez/Rocket/issues/1312"}],"affected":[{"package":{"name":"rocket","ecosystem":"crates.io","purl":"pkg:cargo/rocket"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.4.0"},{"fixed":"0.4.5"}]}],"ecosystem_specific":{"affects":{"arch":[],"functions":["rocket::local::LocalRequest::clone"],"os":[]},"affected_functions":null},"database_specific":{"informational":"unsound","categories":[],"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0028.json","cvss":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}