CVE-2019-15543
Bug in SliceDeque::move_head_unchecked corrupts its memory
描述
Affected versions of this crate entered a corrupted state if `mem::size_of::<T>() % allocation_granularity() != 0` and a specific allocation pattern was used: sufficiently shifting the deque elements over the mirrored page boundary. This allows an attacker that controls controls both element insertion and removal to corrupt the deque, such that reading elements from it would read bytes corresponding to other elements in the deque. (e.g. a read of T could read some bytes from one value and some bytes from an adjacent one, resulting in a T whose value representation is not meaningful). This is undefined behavior. The flaw was corrected by using a pair of pointers to track the head and tail of the deque instead of a pair of indices. This pair of pointers are represented using a Rust slice.
如何修補 CVE-2019-15543
要修補 CVE-2019-15543,請將受影響套件升級到下列已修補版本。
- —升級至 0.2.0 或更新版本
- —升級至 0.2.0 或更新版本
CVE-2019-15543 正在被利用嗎?
低 — EPSS 為 1.6%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, < 0.2.0
- >= 0.0.0-0, < 0.2.0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |