Out-of-bounds access in `get_disjoint_mut` due to incorrect bounds check
概要
Out-of-bounds access in get_disjoint_mut due to incorrect bounds check
原文の説明
取得元が公開している説明をそのまま載せています (多くは英語)。
Impact
The get_disjoint_mut method 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_mut with indices that might be beyond the slab's actual length, or upgrade to v0.4.11 or later.
References
出典: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
影響パッケージ
ディストリビューション別の修正状況
各ディストリビューションが公開している、この CVE の修正パッケージ
- Ubuntu UBUNTU-CVE-2025-55159 rust-slab
参照URL
- advisory rustsec.org
- package crates.io
- web github.com