mirror of
https://github.com/OMGeeky/advisory-db.git
synced 2026-01-23 11:49:05 +01:00
910 B
910 B
[advisory]
id = "RUSTSEC-2020-0041"
package = "sized-chunks"
aliases = ["CVE-2020-25791", "CVE-2020-25792", "CVE-2020-25793", "CVE-2020-25794", "CVE-2020-25795", "CVE-2020-25796", "GHSA-64gv-qg2v-vxv6", "GHSA-9p9m-9xww-qjcx", "GHSA-fqpx-cq8x-9wp4", "GHSA-mp6f-p9gp-vpj9", "GHSA-rfgg-vccr-m46m", "GHSA-x54v-qxxr-93qc"]
cvss = "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
date = "2020-09-06"
url = "https://github.com/bodil/sized-chunks/issues/11"
[versions]
patched = [">= 0.6.3"]
Multiple soundness issues in Chunk and InlineArray
Chunk:
- Array size is not checked when constructed with
unit()andpair(). - Array size is not checked when constructed with
From<InlineArray<A, T>>. Cloneandinsert_fromare not panic-safe; A panicking iterator causes memory safety issues with them.
InlineArray:
- Generates unaligned references for types with a large alignment requirement.