{"id":"RUSTSEC-2019-0018","summary":"Internally mutating methods take immutable ref self","details":"Affected versions of this crate exposed several methods which took `self` by\nimmutable reference, despite the requesting the RenderDoc API to set a mutable\nvalue internally.\n\nThis is technically unsound and calling these methods from multiple threads\nwithout synchronization could lead to unexpected and unpredictable behavior.\n\nThe flaw was corrected in release 0.5.0.","aliases":["CVE-2019-16142","GHSA-vhfr-v4w9-45v8"],"modified":"2023-11-08T04:01:16.345435Z","published":"2019-09-02T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/renderdoc"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2019-0018.html"},{"type":"WEB","url":"https://github.com/ebkalderon/renderdoc-rs/pull/32"}],"affected":[{"package":{"name":"renderdoc","ecosystem":"crates.io","purl":"pkg:cargo/renderdoc"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.5.0"}]}],"ecosystem_specific":{"affects":{"functions":["renderdoc::api::RenderDocV110::trigger_multi_frame_capture","renderdoc::api::RenderDocV120::set_capture_file_comments"],"arch":[],"os":[]},"affected_functions":null},"database_specific":{"informational":null,"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2019-0018.json","categories":[]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}