Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RUSTSEC-2020-0041: Multiple soundness issues in Chunk and InlineArray #7

Closed
github-actions bot opened this issue Nov 29, 2020 · 1 comment · Fixed by #16
Closed

RUSTSEC-2020-0041: Multiple soundness issues in Chunk and InlineArray #7

github-actions bot opened this issue Nov 29, 2020 · 1 comment · Fixed by #16

Comments

@github-actions
Copy link

Multiple soundness issues in Chunk and InlineArray

Details
Package sized-chunks
Version 0.6.2
URL bodil/sized-chunks#11
Date 2020-09-06

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.

See advisory page for additional details.

@vorner
Copy link
Contributor

vorner commented Nov 29, 2020

Known, but no migration path available right now :-(. The maintainer seems unresponsive.

Though it seems that the way it is used, these issues are not triggered and the problem is more in the sense „If someone used the crate directly…“

Keeping it open until this gets resolved, though.

@vorner vorner closed this as completed Nov 29, 2020
@vorner vorner reopened this Nov 29, 2020
vorner added a commit that referenced this issue Feb 15, 2021
@vorner vorner mentioned this issue Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant