CVE-2020-36467
mediumpriority · track · 24EPSS 0.010 · 62 %ileEUUSEPSS · scored 2026-10-27
An issue was discovered in the cgc crate through 2020-12-10 for Rust. Ptr::get returns more than one mutable reference to the same object.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- GHSA-f3mq-99jr-ww4rMultiple soundness issues in cgc2021-08-25ghsa · osvUS
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.
- GHSA-f9xr-3m55-5q2vData races in cgc2021-08-25ghsa · osvUS
An issue was discovered in the cgc crate through 2020-12-10 for Rust. Ptr implements Send and Sync for all types
- GHSA-pwhf-7427-9vv2Non-atomic writes in cgc2021-08-25ghsa · osvUS
# Multiple soundness issues in `Ptr` 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.
- RUSTSEC-2020-0148Multiple soundness issues in `Ptr`2020-12-10vendor · osvUS
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.
also known as (7)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/cgc/RUSTSEC-2020-0148.mdcnnvd
- https://rustsec.org/advisories/RUSTSEC-2020-0148.htmlcnnvd
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/cgc/RUSTSEC-2020-0148.mdenisa_euvd
- https://rustsec.org/advisories/RUSTSEC-2020-0148.htmlenisa_euvd
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/cgc/RUSTSEC-2020-0148.mdThird Party Advisorynvd
- https://rustsec.org/advisories/RUSTSEC-2020-0148.htmlExploitIssue TrackingPatchThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan