CVE-2020-36467 – cgc
Package
Manager: cargo
Name: cgc
Vulnerable Version: >=0 <=0.4.0
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
EPSS: 0.0028 pctl0.50984
Details
Multiple soundness issues in cgc Affected versions of this crate have the following issues: 1. `Ptr` implements `Send` and `Sync` for all types, this can lead to data races by sending non-thread safe types across threads. 2. `Ptr::get` violates mutable alias rules by returning multiple mutable references to the same object. 3. `Ptr::write` uses non-atomic writes to the underlying pointer. This means that when used across threads it can lead to data races.
Metadata
Created: 2021-08-25T20:56:16Z
Modified: 2023-06-13T16:55:13Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-f3mq-99jr-ww4r/GHSA-f3mq-99jr-ww4r.json
CWE IDs: ["CWE-657"]
Alternative ID: GHSA-f3mq-99jr-ww4r
Finding: F138
Auto approve: 1