/
GHSA-qwvx-c8j7-5g75.json
73 lines (73 loc) · 2.14 KB
/
GHSA-qwvx-c8j7-5g75.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
66
67
68
69
70
71
72
73
{
"schema_version": "1.4.0",
"id": "GHSA-qwvx-c8j7-5g75",
"modified": "2023-06-13T22:01:48Z",
"published": "2022-01-06T22:09:19Z",
"aliases": [
"CVE-2021-45703"
],
"summary": "Use of Uninitialized Resource in tectonic_xdv",
"details": "Affected versions of this crate passes an uninitialized buffer to a user-provided Read implementation.\n\nArbitrary Read implementations can read from the uninitialized buffer (memory exposure) and also can return incorrect number of bytes written to the buffer. Reading from uninitialized memory produces undefined values that can quickly invoke undefined behavior.\n\nThe problem was fixed in commit `cdff034` by zero-initializing the buffer before passing it to a user-provided Read implementation.",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "tectonic_xdv"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.1.12"
}
]
}
]
}
],
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-45703"
},
{
"type": "WEB",
"url": "https://github.com/tectonic-typesetting/tectonic/issues/752"
},
{
"type": "WEB",
"url": "https://github.com/tectonic-typesetting/tectonic/commit/cdff034e6d93cdfdafd13d8c6956e22fa5a57b79"
},
{
"type": "WEB",
"url": "https://github.com/tectonic-typesetting/tectonic"
},
{
"type": "WEB",
"url": "https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/tectonic_xdv/RUSTSEC-2021-0112.md"
},
{
"type": "WEB",
"url": "https://rustsec.org/advisories/RUSTSEC-2021-0112.html"
}
],
"database_specific": {
"cwe_ids": [
"CWE-908"
],
"severity": "CRITICAL",
"github_reviewed": true,
"github_reviewed_at": "2022-01-05T23:41:34Z",
"nvd_published_at": "2021-12-27T00:15:00Z"
}
}