RUSTSEC-2020-0046
Dashboard / Vulnerabilities / RUSTSEC-2020-0046
RUSTSEC-2020-0046
Summary: bespoke Cell implementation allows obtaining several mutable references to the same data
Details: The custom implementation of a Cell primitive in the affected versions of this crate does not keep track of mutable references to the underlying data. This allows obtaining several mutable references to the same object which may result in arbitrary memory corruption, most likely use-after-free. The flaw was corrected by switching from a bespoke `Cell<T>` implementation to `Rc<RefCell<T>>`.
References: https://crates.io/crates/actix-service, https://rustsec.org/advisories/RUSTSEC-2020-0046.html, https://github.com/actix/actix-net/pull/158
Affected packages
Package
Name: actix-service
Purl: pkg:cargo/actix-service
Affected ranges
Type: SEMVER
Events:
