RUSTSEC-2022-0040

Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2022-0040.json
Published
2022-01-26T12:00:00Z
Modified
2022-08-02T19:47:23Z
Details
  • 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.

References

Affected packages

crates.io / owning_ref

owning_ref

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Affected versions

Ecosystem specific

{
    "affects": {
        "os": [],
        "arch": [],
        "functions": []
    }
}

Database specific

{
    "categories": [
        "memory-corruption"
    ],
    "informational": null,
    "cvss": null
}