CVE-2021-29938
SliceDeque::drain_filter can double drop an element if the predicate panics
7.5
HIGH
CVSS 3.1
EPSS 1.1%
描述
Affected versions of the crate incremented the current index of the drain filter iterator *before* calling the predicate function `self.pred`. If the predicate function panics, it is possible for the last element in the iterator to be dropped twice.
如何修補 CVE-2021-29938
目前尚未發布修補版本。可考慮移除受影響套件,或參考下方連結中的上游建議。
- crates.io/slice-deque—未列出修補版本
- —未列出修補版本
CVE-2021-29938 正在被利用嗎?
低 — EPSS 為 1.1%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0, <= 0.3.0
- >= 0.0.0-0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |