-
Notifications
You must be signed in to change notification settings - Fork 289
/
GHSA-x54v-qxxr-93qc.json
65 lines (65 loc) · 1.69 KB
/
GHSA-x54v-qxxr-93qc.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
58
59
60
61
62
63
64
65
{
"schema_version": "1.4.0",
"id": "GHSA-x54v-qxxr-93qc",
"modified": "2023-06-13T20:38:08Z",
"published": "2021-08-25T20:45:01Z",
"aliases": [
"CVE-2020-25795"
],
"summary": "Missing release of memory in sized-chunks",
"details": "Chunk:\n\n* Array size is not checked when constructed with unit() and pair().\n* Array size is not checked when constructed with From<InlineArray<A, T>>.\n* Clone and insert_from are not panic-safe; A panicking iterator causes memory safety issues with them.\n\nInlineArray:\n\n* Generates unaligned references for types with a large alignment requirement.\n",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "sized-chunks"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.3"
}
]
}
]
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-25795"
},
{
"type": "WEB",
"url": "https://github.com/bodil/sized-chunks/issues/11"
},
{
"type": "PACKAGE",
"url": "https://github.com/bodil/sized-chunks"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2020-0041.html"
}
],
"database_specific": {
"cwe_ids": [
"CWE-401"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2021-08-19T21:21:52Z",
"nvd_published_at": "2020-09-19T21:15:00Z"
}
}