CVE-2020-36467: Multiple soundness issues in cgc
5.9
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.51056%
CWE
Published
8/25/2021
Updated
6/13/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
cgc | rust | <= 0.4.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
- The Send/Sync implementations are explicitly shown in code snippets to be unconditional, violating thread safety requirements.
- Ptr::get's implementation of returning &mut T through raw pointer dereference directly creates multiple mutable aliases.
- Ptr::set's use of raw pointer write() without atomic operations is explicitly called out in vulnerability descriptions.
- All issues are corroborated by multiple sources including GitHub issue reproduction code and CVE descriptions.