mirror of
https://github.com/gopher64/gopher64.git
synced 2026-04-26 07:25:58 +03:00
[GH-ISSUE #546] RUSTSEC-2025-0047: Out-of-bounds access in get_disjoint_mut due to incorrect bounds check #58
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gopher64#58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @github-actions[bot] on GitHub (Aug 13, 2025).
Original GitHub issue: https://github.com/gopher64/gopher64/issues/546
slab0.4.10>=0.4.11<0.4.10Impact
The
get_disjoint_mutmethod in slab v0.4.10 incorrectly checked if indices were within the slab's capacity instead of its length, allowing access to uninitialized memory. This could lead to undefined behavior or potential crashes.Patches
This has been fixed in slab v0.4.11.
Workarounds
Avoid using
get_disjoint_mutwith indices that might be beyond the slab's actual length, or upgrade to v0.4.11 or later.References
See advisory page for additional details.