Advisory

RUSTSEC-2019-0018

Also known as: CVE-2019-16142, GHSA-vhfr-v4w9-45v8

Summary

Internally mutating methods take immutable ref self

Details

Affected versions of this crate exposed several methods which took self by
immutable reference, despite the requesting the RenderDoc API to set a mutable
value internally.

This is technically unsound and calling these methods from multiple threads
without synchronization could lead to unexpected and unpredictable behavior.

The flaw was corrected in release 0.5.0.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2019-09-02 12:00 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

renderdoc

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.5.0 (semver)

Fixed versions

0.5.0

Fix

  • Fixed version 0.5.0
    cargo update -p renderdoc --precise 0.5.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences