GHSA-vhfr-v4w9-45v8

Suggest an improvement
Source
https://github.com/advisories/GHSA-vhfr-v4w9-45v8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-vhfr-v4w9-45v8/GHSA-vhfr-v4w9-45v8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vhfr-v4w9-45v8
Aliases
Published
2021-08-25T20:44:51Z
Modified
2023-11-08T04:01:16.345435Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Improper Input Validation in renderdoc
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.

Database specific
{
    "nvd_published_at": "2019-09-09T12:15:00Z",
    "cwe_ids": [
        "CWE-20"
    ],
    "severity": "CRITICAL",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-19T21:22:34Z"
}
References

Affected packages

crates.io / renderdoc

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.5.0

Ecosystem specific

{
    "affected_functions": [
        "renderdoc::api::RenderDocV110::trigger_multi_frame_capture",
        "renderdoc::api::RenderDocV120::set_capture_file_comments"
    ]
}