An issue was discovered in the nano_arena crate before 0.5.2 for Rust. There is an aliasing violation in split_at because two mutable references can exist for the same element, if Borrow<Idx> behaves in certain ways. This can have a resultant out-of-bounds write or use-after-free.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2021-1918 | An issue was discovered in the nano_arena crate before 0.5.2 for Rust. There is an aliasing violation in split_at because two mutable references can exist for the same element, if Borrow<Idx> behaves in certain ways. This can have a resultant out-of-bounds write or use-after-free. |
Github GHSA |
GHSA-wp34-mqw5-jj85 | Use after free in nano_arena |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
| Link | Providers |
|---|---|
| https://rustsec.org/advisories/RUSTSEC-2021-0031.html |
|
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-03T21:33:17.226Z
Reserved: 2021-03-05T00:00:00
Link: CVE-2021-28032
No data.
Status : Modified
Published: 2021-03-05T09:15:14.097
Modified: 2024-11-21T05:59:00.567
Link: CVE-2021-28032
No data.
OpenCVE Enrichment
No data.
EUVD
Github GHSA