{"id":"CVE-2020-36461","aliases":["CVE-2020-36461","GHSA-wxjf-9f4g-3v44","RUSTSEC-2020-0141"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in noise_search","summary":"An issue was discovered in the noise_search crate through 2020-12-10 for Rust. There are unconditional implementations of Send and Sync for MvccRwLock.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the noise_search crate through 2020-12-10 for Rust. There are unconditional implementations of Send and Sync for MvccRwLock.","source":"cvelist"},{"lang":"en","text":"Affected versions of the `noise_search` crate unconditionally implement Send/Sync for `MvccRwLock`.\nThis can lead to data races when types that are either `!Send` or `!Sync` (e.g. `Rc<T>`, `Arc<Cell<_>>`) are contained inside `MvccRwLock` and sent across thread boundaries. The data races can potentially lead to memory corruption (as demonstrated in the PoC from the original report issue).\n\nAlso, safe APIs of `MvccRwLock` allow aliasing violations by allowing `&T` and `LockResult<MutexGuard<Box<T>>>` to co-exist in conflicting lifetime regions. The APIs of `MvccRwLock` should either be marked as `unsafe` or `MbccRwLock` should be changed to private or pub(crate).","format":"markdown","source":"ghsa"},{"lang":"en","text":"Affected versions of this crate unconditionally implement Send/Sync for `MvccRwLock`.\nThis can lead to data races when types that are either `!Send` or `!Sync` (e.g. `Rc<T>`, `Arc<Cell<_>>`) are contained inside `MvccRwLock` and sent across thread boundaries. The data races can potentially lead to memory corruption (as demonstrated in the PoC from the original report issue).\n\nAlso, safe APIs of `MvccRwLock` allow aliasing violations by allowing `&T` and `LockResult<MutexGuard<Box<T>>>` to co-exist in conflicting lifetime regions. The APIs of `MvccRwLock` should either be marked as `unsafe` or `MbccRwLock` should be changed to private or pub(crate).","format":"markdown","source":"rustsec"},{"lang":"es","text":"Se ha detectado un problema en la crate noise_search hasta el 10-12-2020 para Rust. Se presentan implementaciones incondicionales de Send y Sync para MvccRwLock","source":"nvd"}],"published":"2020-12-10T12:00:00.000Z","modified":"2026-06-17T03:15:32.490Z","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":"MEDIUM"},{"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-77","CWE-362"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.7.0"}],"ecosystem":"crates.io","package":"noise_search","purl":"pkg:cargo/noise_search","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected"}],"ecosystem":"crates.io","package":"noise_search","purl":"pkg:cargo/noise_search","source":"rustsec"},{"ranges":[{"status":"affected","lastAffected":"2020-12-10"}],"vendor":"noise_search_project","product":"noise_search","cpe":"cpe:2.3:a:noise_search_project:noise_search:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0141.html","tags":["advisory","exploit","issue-tracking","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/noise_search/RUSTSEC-2020-0141.md","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36461","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pipedown/noise/issues/72","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/pipedown/noise","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/noise_search","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36461","url":"https://www.cve.org/CVERecord?id=CVE-2020-36461","licence":"CVE Terms of Use","modified":"2024-08-04T17:30:08.044Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wxjf-9f4g-3v44","url":"https://github.com/advisories/GHSA-wxjf-9f4g-3v44","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:46.256Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0141","url":"https://rustsec.org/advisories/RUSTSEC-2020-0141.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:46.256Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36461","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36461","licence":"Public domain","modified":"2026-06-17T03:15:32.490Z"}],"updatedAt":"2026-11-25T22:57:58.292Z","epss":{"score":0.0124,"percentile":0.69999,"date":"2026-12-01T12:00:22.000Z"}}