Rust advisories / actix-utils
Unsound CriticalRUSTSEC-2020-0045 · actix-utils
RUSTSEC-2020-0045: bespoke Cell implementation allows obtaining several mutable references to the same data
Short answeractix-utils has an API that can cause undefined behaviour from safe code: bespoke Cell implementation allows obtaining several mutable references to the same data. Fixed in 2.0.0.
| Crate | actix-utils |
|---|---|
| Type | Unsound (memory-corruption) |
| Affected versions | Before 2.0.0. |
| Fixed in | 2.0.0 |
| Severity | Critical, CVSS 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| Published | 2020-01-08 |
| Last changed | 2023-11-08 |
| Also known as | CVE-2020-35898, GHSA-hhw2-pqhf-vmx2 |
What to do
- See which version you have:
cargo tree -i actix-utils(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p actix-utils. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampleactix-utils = "2.0.0") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
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
- Package: crates.io/crates/actix-utils
- Advisory: rustsec.org/advisories/RUSTSEC-2020-0045.html
- Report: github.com/actix/actix-net/issues/160
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?