Unsound LowRUSTSEC-2023-0048 · intaglio
RUSTSEC-2023-0048: Unsoundness in `intern` methods on `intaglio` symbol interners
Short answerintaglio has an API that can cause undefined behaviour from safe code: Unsoundness in `intern` methods on `intaglio` symbol interners. Fixed in 1.9.0.
| Crate | intaglio |
|---|---|
| Type | Unsound |
| Affected versions | Before 1.9.0. |
| Fixed in | 1.9.0 |
| Severity | Low (GitHub rating) |
| Published | 2023-07-26 |
| Last changed | 2023-11-08 |
| Also known as | GHSA-gch5-hwqf-mxhp |
| Affected functions | intaglio::SymbolTable::intern, intaglio::bytes::SymbolTable::intern, intaglio::cstr::SymbolTable::intern, intaglio::osstr::SymbolTable::intern, intaglio::path::SymbolTable::intern |
What to do
- See which version you have:
cargo tree -i intaglio(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p intaglio. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampleintaglio = "1.9.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
Affected versions of this crate have a stacked borrows violation when creating references to interned contents. All interner types are affected.
The flaw was corrected in version 1.9.0 by reordering move and borrowing operations and storing interned contents by raw pointer instead of as a Box.
References
- Package: crates.io/crates/intaglio
- Advisory: rustsec.org/advisories/RUSTSEC-2023-0048.html
- Web: github.com/artichoke/intaglio/pull/236
- Report: github.com/artichoke/intaglio/issues/235
- Web: github.com/artichoke/intaglio/releases/tag/v1.9.0
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Other advisories for intaglio
Up next
Same crateintaglio: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →Did this answer your question?