{"id":"CVE-2020-36435","aliases":["CVE-2020-36435","GHSA-fqq2-xp7m-xvm8","RUSTSEC-2020-0115"],"related":[],"kind":"vulnerability","state":"published","title":"Data race in ruspiro-singleton","summary":"An issue was discovered in the ruspiro-singleton crate before 0.4.1 for Rust. In Singleton, Send and Sync do not have bounds checks.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the ruspiro-singleton crate before 0.4.1 for Rust. In Singleton, Send and Sync do not have bounds checks.","source":"cvelist"},{"lang":"en","text":"`Singleton<T>` is meant to be a static object that can be initialized lazily. In\norder to satisfy the requirement that `static` items must implement `Sync`,\n`Singleton` implemented both `Sync` and `Send` unconditionally.\n\nThis allows for a bug where non-`Sync` types such as `Cell` can be used in\nsingletons and cause data races in concurrent programs.\n\nThe flaw was corrected in commit `b0d2bd20e` by adding trait bounds, requiring\nthe contaiend type to implement `Sync`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado un problema en la crate ruspiro-singleton versiones anteriores a 0.4.1 para Rust. En Singleton, Send y Sync no presenten comprobaciones de límites","source":"nvd"}],"published":"2020-11-16T12:00:00.000Z","modified":"2026-06-17T03:15:29.177Z","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-119","CWE-362"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.1"}],"ecosystem":"crates.io","package":"ruspiro-singleton","purl":"pkg:cargo/ruspiro-singleton","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.4.1"}],"ecosystem":"crates.io","package":"ruspiro-singleton","purl":"pkg:cargo/ruspiro-singleton","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.4.1"}],"vendor":"ruspiro-singleton_project","product":"ruspiro-singleton","cpe":"cpe:2.3:a:ruspiro-singleton_project:ruspiro-singleton:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0115.html","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/ruspiro-singleton/RUSTSEC-2020-0115.md","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36435","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/RusPiRo/ruspiro-singleton/issues/10","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/RusPiRo/ruspiro-singleton/pull/11","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/RusPiRo/ruspiro-singleton/commit/b0d2bd20eb40b9cbc2958b981ba2dcd9e6f9396e","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/RusPiRo/ruspiro-singleton","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/ruspiro-singleton","tags":["package"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36435","url":"https://www.cve.org/CVERecord?id=CVE-2020-36435","licence":"CVE Terms of Use","modified":"2024-08-04T17:30:07.413Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fqq2-xp7m-xvm8","url":"https://github.com/advisories/GHSA-fqq2-xp7m-xvm8","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:44.661Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0115","url":"https://rustsec.org/advisories/RUSTSEC-2020-0115.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:44.661Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36435","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36435","licence":"Public domain","modified":"2026-06-17T03:15:29.177Z"}],"updatedAt":"2026-11-25T22:57:58.282Z","epss":{"score":0.00766,"percentile":0.56678,"date":"2026-12-01T12:00:22.000Z"}}