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-2022-0040: Multiple soundness issues in owning_ref #515

Closed
github-actions bot opened this issue Aug 3, 2022 · 3 comments
Closed

RUSTSEC-2022-0040: Multiple soundness issues in owning_ref #515

github-actions bot opened this issue Aug 3, 2022 · 3 comments

Comments

@github-actions
Copy link

github-actions bot commented Aug 3, 2022

Multiple soundness issues in owning_ref

Details
Package owning_ref
Version 0.4.1
URL https://github.com/noamtashma/owning-ref-unsoundness
Date 2022-01-26
  • OwningRef::map_with_owner is unsound and may result in a use-after-free.
  • OwningRef::map is unsound and may result in a use-after-free.
  • OwningRefMut::as_owner and OwningRefMut::as_owner_mut are unsound and may result in a use-after-free.
  • The crate violates Rust's aliasing rules, which may cause miscompilations on recent compilers that emit the LLVM noalias attribute.

No patched versions are available at this time. While a pull request with some fixes is outstanding, the maintainer appears to be unresponsive.

See advisory page for additional details.

@DaughterOfMars
Copy link
Collaborator

chronicle v1.0.0-beta.6 (Z:\Repositories\inx-chronicle)
├── bee-metrics v0.1.0 (https://github.com/iotaledger/bee?branch=mainnet-develop-0.4#821b8bb3)
│   ├── prometheus-client v0.15.1
│   │   ├── owning_ref v0.4.1

@DaughterOfMars
Copy link
Collaborator

OwningRef::map is used by Histogram and Family during encoding. Unfortunately we are potentially affected by this issue.

@grtlr
Copy link
Contributor

grtlr commented Sep 14, 2022

I just checked, and we are not using owning_ref anymore from what I can tell.

@grtlr grtlr closed this as completed Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants