{"id":"GHSA-mpg5-fvwp-42m2","aliases":["GHSA-mpg5-fvwp-42m2","RUSTSEC-2022-0002"],"related":[],"kind":"vulnerability","state":"published","title":"Unsoundness in `dashmap` references","summary":"Reference returned by some methods of `Ref` (and similar types) may outlive the `Ref` and escape the lock.\nThis causes undefined behavior and may result in a segfault.\n\nMore information in [`dashmap#167`](https://github.com/xacrimon/dashmap/issues/167) issue.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"Reference returned by some methods of `Ref` (and similar types) may outlive the `Ref` and escape the lock.\nThis causes undefined behavior and may result in a segfault.\n\nMore information in [`dashmap#167`](https://github.com/xacrimon/dashmap/issues/167) issue.","format":"markdown","source":"ghsa"}],"published":"2022-01-10T12:00:00.000Z","modified":"2023-11-08T04:21:12.292Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.1.0"}],"ecosystem":"crates.io","package":"dashmap","purl":"pkg:cargo/dashmap","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"5.0.0","status":"affected","fixed":"5.1.0"}],"ecosystem":"crates.io","package":"dashmap","purl":"pkg:cargo/dashmap","source":"rustsec"}],"references":[{"url":"https://github.com/xacrimon/dashmap/issues/167","tags":["report","web"],"sources":["ghsa","rustsec"]},{"url":"https://github.com/xacrimon/dashmap","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2022-0002.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/dashmap","tags":["package"],"sources":["rustsec"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mpg5-fvwp-42m2","url":"https://github.com/advisories/GHSA-mpg5-fvwp-42m2","licence":"CC-BY-4.0","modified":"2023-11-08T04:21:12.292Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2022-0002","url":"https://rustsec.org/advisories/RUSTSEC-2022-0002.html","licence":"CC0-1.0","modified":"2023-11-08T04:21:12.292Z"}],"updatedAt":"2026-11-25T22:56:43.089Z"}