[ { "id": "RUSTSEC-2019-0018", "modified": "2023-06-13T13:10:24Z", "published": "2019-09-02T12:00:00Z", "aliases": [ "CVE-2019-16142", "GHSA-vhfr-v4w9-45v8" ], "related": [], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "crates.io", "name": "renderdoc", "purl": "pkg:cargo/renderdoc" }, "ecosystem_specific": { "affects": { "arch": [], "os": [], "functions": [ "renderdoc::api::RenderDocV110::trigger_multi_frame_capture", "renderdoc::api::RenderDocV120::set_capture_file_comments" ] }, "affected_functions": null }, "database_specific": { "categories": [], "cvss": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "informational": null }, "ranges": [ { "type": "SEMVER", "events": [ { "introduced": "0.0.0-0" }, { "fixed": "0.5.0" } ] } ], "versions": [] } ], "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" } ], "database_specific": { "license": "CC0-1.0" } } ]