Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXB3aGYtNzQyNy05dnYy
Non-atomic writes in cgc
Ptr
in cgc
Multiple soundness issues in Affected versions of this crate have the following issues:
-
Ptr
implementsSend
andSync
for all types, this can lead to data
races by sending non-thread safe types across threads. -
Ptr::get
violates mutable alias rules by returning multiple mutable
references to the same object. -
Ptr::write
uses non-atomic writes to the underlying pointer. This means
that when used across threads it can lead to data races.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXB3aGYtNzQyNy05dnYy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 3 years ago
Updated: over 1 year ago
CVSS Score: 5.9
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Percentage: 0.00101
EPSS Percentile: 0.42608
Identifiers: GHSA-pwhf-7427-9vv2, CVE-2020-36468
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-36468
- https://github.com/playXE/cgc/issues/5
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/cgc/RUSTSEC-2020-0148.md
- https://rustsec.org/advisories/RUSTSEC-2020-0148.html
- https://github.com/advisories/GHSA-pwhf-7427-9vv2
Blast Radius: 1.0
Affected Packages
cargo:cgc
Dependent packages: 0Dependent repositories: 0
Downloads: 9,728 total
Affected Version Ranges: <= 0.4.0
No known fixed version
All affected versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.5, 0.2.6, 0.3.0, 0.4.0