/
GHSA-pfjq-935c-4895.json
57 lines (56 loc) · 1.53 KB
/
GHSA-pfjq-935c-4895.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"schema_version": "1.4.0",
"id": "GHSA-pfjq-935c-4895",
"modified": "2023-06-13T22:27:40Z",
"published": "2021-08-25T21:00:37Z",
"aliases": [
],
"summary": "Data races in v9",
"details": "Affected versions of this crate unconditionally implement `Sync` for `SyncRef<T>`. This definition allows data races if `&T` is accessible through `&SyncRef`.\n\n`SyncRef<T>` derives `Clone` and `Debug`, and the default implementations of those traits access `&T` by invoking `T::clone()` & `T::fmt()`. It is possible to create data races & undefined behavior by concurrently invoking `SyncRef<T>::clone()` or `SyncRef<T>::fmt()` from multiple threads with `T: !Sync`.\n",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "v9"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.1.43"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/purpleposeidon/v9/issues/1"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2020-0127.html"
}
],
"database_specific": {
"cwe_ids": [
"CWE-362"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2021-08-05T21:37:57Z",
"nvd_published_at": null
}
}