{"id":"CVE-2020-36203","aliases":["CVE-2020-36203","GHSA-39xg-8p43-h76x","RUSTSEC-2020-0094"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in reffers","summary":"An issue was discovered in the reffers crate through 2020-12-01 for Rust. ARefss can contain a !Send,!Sync object, leading to a data race and memory corruption.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the reffers crate through 2020-12-01 for Rust. ARefss can contain a !Send,!Sync object, leading to a data race and memory corruption.","source":"cvelist"},{"lang":"en","text":"ARefss<'a, V> is a type that is assumed to contain objects that are Send + Sync.\n\nIn the affected versions of this crate, Send/Sync traits are unconditionally implemented for ARefss<'a, V>.\n\nBy using the ARefss::map() API, we can insert a !Send or !Sync object into ARefss<'a, V>. After that, it is possible to create a data race to the inner object of ARefss<'a, V>, which can lead to undefined behavior & memory corruption.\n\nThe flaw was corrected in commit `6dd7ca0` by adding trait bound V: Send + Sync to ARefss::map() API.","format":"markdown","source":"ghsa"},{"lang":"en","text":"`ARefss<'a, V>` is a type that is assumed to contain objects that are `Send + Sync`.\n\nIn the affected versions of this crate,\n`Send`/`Sync` traits are unconditionally implemented for `ARefss<'a, V>`.\n\nBy using the `ARefss::map()` API, we can insert a `!Send` or `!Sync` object into `ARefss<'a, V>`. After that, it is possible to create a data race to the inner object of `ARefss<'a, V>`, which can lead to undefined behavior & memory corruption.\n\nThe flaw was corrected in commit 6dd7ca0 (https://github.com/diwic/reffers-rs/commit/6dd7ca0d50f2464df708975cdafcfaeeb6d41c66) by adding trait bound `V: Send + Sync` to `ARefss::map()` API.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se detectó un problema en la crate reffers hasta 01-12-2020 para Rust.&#xa0;ARefss puede contener un objeto !Send,!Sync conllevando a una carrera de datos y una corrupción de la memoria","source":"nvd"}],"published":"2020-12-01T12:00:00.000Z","modified":"2026-06-17T03:15:00.030Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:M/Au:N/C:N/I:N/A:P","score":1.9,"rating":"LOW"}],"cwes":["CWE-362","CWE-787"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.6.1"}],"ecosystem":"crates.io","package":"reffers","purl":"pkg:cargo/reffers","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.6.1"}],"ecosystem":"crates.io","package":"reffers","purl":"pkg:cargo/reffers","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"2020-12-01"}],"vendor":"reffers_project","product":"reffers","cpe":"cpe:2.3:a:reffers_project:reffers:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0094.html","tags":["advisory","exploit","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36203","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/diwic/reffers-rs/issues/7","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/diwic/reffers-rs/commit/6dd7ca0d50f2464df708975cdafcfaeeb6d41c66","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/diwic/reffers-rs","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/reffers","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36203","url":"https://www.cve.org/CVERecord?id=CVE-2020-36203","licence":"CVE Terms of Use","modified":"2024-08-04T17:23:09.590Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-39xg-8p43-h76x","url":"https://github.com/advisories/GHSA-39xg-8p43-h76x","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:41.295Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0094","url":"https://rustsec.org/advisories/RUSTSEC-2020-0094.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:41.295Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36203","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36203","licence":"Public domain","modified":"2026-06-17T03:15:00.030Z"}],"updatedAt":"2026-11-25T22:57:57.189Z","epss":{"score":0.00245,"percentile":0.09493,"date":"2026-11-30T12:00:22.000Z"}}