原文の説明
In the standard library in Rust before 1.52.0, the Zip implementation calls __iterator_get_unchecked() more than once for the same index (under certain conditions) when next_back() and next() are used together. This bug could lead to a memory safety violation due to an unmet safety requirement for the TrustedRandomAccess trait.
影響を受けるソフトウェア
- Rust < 1.52.0 修正バージョン: 1.52.0 完全一致
詳細
- 公開日
- 2021-04-11
- 最終更新
- 2026-06-17
- CVSS ベクター
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-119
- EPSS(30日以内の悪用確率)
- 2.00% (パーセンタイル 81)
参考資料
- cve.org/CVE-2021-28878
- nvd.nist.gov/vuln/detail/CVE-2021-28878
- github.com/rust-lang/rust/issues/82291
- github.com/rust-lang/rust/pull/82292
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T...
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/V...
- security.gentoo.org/glsa/202210-09
本製品は NVD API のデータを使用していますが、NVD による承認または認定を受けたものではありません。CVE® は The MITRE Corporation の登録商標です。CVE レコードは CVE Program の利用規約に基づいて使用しています。