{"id":"CVE-2020-36440","aliases":["RUSTSEC-2020-0120"],"url":"https://o3.security/vulnerability/CVE-2020-36440","summary":"Data races in libsbc","details":"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>`.","published":"2021-08-25T20:59:02Z","modified":"2023-11-08T04:03:44.964292Z","cvss":{"score":8.1,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"crates.io","name":"libsbc","fixedVersion":"0.1.5"}],"fix":{"url":"https://github.com/mvertescher/libsbc-rs/commit/a34d6e1","label":"mvertescher/libsbc-rs@a34d6e1"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-36440"},{"type":"WEB","url":"https://github.com/mvertescher/libsbc-rs/commit/a34d6e1"},{"type":"PACKAGE","url":"https://github.com/mvertescher/libsbc-rs"},{"type":"WEB","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/libsbc/RUSTSEC-2020-0120.md"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2020-0120.html"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2023-11-08T04:03:44.964292Z"}}