File tree 1 file changed +23
-0
lines changed 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ ``` toml
2
+ [advisory ]
3
+ id = " RUSTSEC-0000-0000"
4
+ package = " ruzstd"
5
+ date = " 2024-11-28"
6
+ url = " https://github.com/KillingSpark/zstd-rs/issues/75"
7
+ categories = [" memory-exposure" ]
8
+ references = [" https://github.com/KillingSpark/zstd-rs/pull/76" ]
9
+
10
+ [versions ]
11
+ patched = [" >= 0.7.3" ]
12
+ unaffected = [" < 0.7.0" ]
13
+ ```
14
+
15
+ # ` ruzstd ` uninit and out-of-bounds memory reads
16
+
17
+ Affected versions of ` ruzstd ` miscalculate the length of the allocated
18
+ and init section of its internal ` RingBuffer ` , leading to uninitialized
19
+ or out-of-bounds reads in ` copy_bytes_overshooting ` of up to 15 bytes.
20
+
21
+ This may result in up to 15 bytes of memory contents being written
22
+ into the decoded data when decompressing a crafted archive.
23
+ This may occur multiple times per archive.
You can’t perform that action at this time.
0 commit comments