Files
advisory-db/crates/sized-chunks/RUSTSEC-2020-0041.md
2021-02-14 12:08:19 +00:00

718 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"]
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() and pair().
  • Array size is not checked when constructed with From<InlineArray<A, T>>.
  • Clone and insert_from are not panic-safe; A panicking iterator causes memory safety issues with them.

InlineArray:

  • Generates unaligned references for types with a large alignment requirement.