原始 OSV JSON
{
"id": "GHSA-f3mq-99jr-ww4r",
"aliases": [
"CVE-2020-36467"
],
"details": "Affected versions of this crate have the following issues:\n\n1. `Ptr` implements `Send` and `Sync` for all types, this can lead to data\n races by sending non-thread safe types across threads.\n\n2. `Ptr::get` violates mutable alias rules by returning multiple mutable\n references to the same object.\n\n3. `Ptr::write` uses non-atomic writes to the underlying pointer. This means\n that when used across threads it can lead to data races.\n",
"summary": "Multiple soundness issues in cgc",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0.4.0"
}
]
}
],
"package": {
"name": "cgc",
"ecosystem": "crates.io"
}
}
],
"modified": "2023-06-13T16:55:13Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"published": "2021-08-25T20:56:16Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36467",
"type": "ADVISORY"
},
{
"url": "https://github.com/playXE/cgc/issues/5",
"type": "WEB"
},
{
"url": "https://github.com/playXE/cgc",
"type": "PACKAGE"
},
{
"url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/cgc/RUSTSEC-2020-0148.md",
"type": "WEB"
},
{
"url": "https://rustsec.org/advisories/RUSTSEC-2020-0148.html",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-657"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2021-08-08T06:15:00Z",
"github_reviewed_at": "2021-08-18T21:11:39Z"
}
}