Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWYzbXEtOTlqci13dzRy

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.

Permalink: https://github.com/advisories/GHSA-f3mq-99jr-ww4r
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWYzbXEtOTlqci13dzRy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 10 months 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

Identifiers: GHSA-f3mq-99jr-ww4r, CVE-2020-36467
References: Repository: https://github.com/playXE/cgc
Blast Radius: 1.0

Affected Packages

cargo:cgc
Dependent packages: 0
Dependent repositories: 0
Downloads: 4,632 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