{"id":"CVE-2020-36440","aliases":["CVE-2020-36440","GHSA-f6g6-54hm-fhxv","RUSTSEC-2020-0120"],"related":[],"kind":"vulnerability","state":"published","title":"Data races in libsbc","summary":"An issue was discovered in the libsbc crate before 0.1.5 for Rust. For Decoder<R>, it implements Send for any R: Read.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in the libsbc crate before 0.1.5 for Rust. For Decoder<R>, it implements Send for any R: Read.","source":"cvelist"},{"lang":"en","text":"Affected versions of this crate implements `Send` for `Decoder<R>` for any `R: Read`. This allows `Decoder<R>` to contain `R: !Send` and carry (move) it to another thread.\n\nThis can result in undefined behavior such as memory corruption from data race on `R`, or dropping `R = MutexGuard<_>` from a thread that didn't lock the mutex.\n\nThe flaw was corrected in commit a34d6e1 by adding trait bound `R: Send` to the `Send` impl for `Decoder<R>`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se ha detectado un problema en la crate libsbc versiones anteriores a 0.1.5 para Rust. Para la función Decoder(R), implementa Send para cualquier R: Read","source":"nvd"}],"published":"2020-11-10T12:00:00.000Z","modified":"2026-06-17T03:15:29.817Z","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.1.5"}],"ecosystem":"crates.io","package":"libsbc","purl":"pkg:cargo/libsbc","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.1.5"}],"ecosystem":"crates.io","package":"libsbc","purl":"pkg:cargo/libsbc","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.1.5"}],"vendor":"libsbc_project","product":"libsbc","cpe":"cpe:2.3:a:libsbc_project:libsbc:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2020-0120.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/libsbc/RUSTSEC-2020-0120.md","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36440","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mvertescher/libsbc-rs/commit/a34d6e1","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/mvertescher/libsbc-rs","tags":["package"],"sources":["ghsa"]},{"url":"https://crates.io/crates/libsbc","tags":["package"],"sources":["rustsec"]},{"url":"https://github.com/mvertescher/libsbc-rs/issues/4","tags":["report"],"sources":["rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-36440","url":"https://www.cve.org/CVERecord?id=CVE-2020-36440","licence":"CVE Terms of Use","modified":"2024-08-04T17:30:07.897Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-f6g6-54hm-fhxv","url":"https://github.com/advisories/GHSA-f6g6-54hm-fhxv","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:44.964Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2020-0120","url":"https://rustsec.org/advisories/RUSTSEC-2020-0120.html","licence":"CC0-1.0","modified":"2023-11-08T04:03:44.964Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-36440","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36440","licence":"Public domain","modified":"2026-06-17T03:15:29.817Z"}],"updatedAt":"2026-11-25T22:57:58.284Z","epss":{"score":0.00766,"percentile":0.51842,"date":"2026-11-30T12:00:22.000Z"}}