原文の説明
In the standard library in Rust before 1.49.0, String::retain() function has a panic safety problem. It allows creation of a non-UTF-8 Rust string when the provided closure panics. This bug could result in a memory safety violation when other string APIs assume that UTF-8 encoding is used on the same string.
影響を受けるソフトウェア
- Rust < 1.49.0 修正バージョン: 1.49.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-787
- EPSS(30日以内の悪用確率)
- 1.50% (パーセンタイル 75)
参考資料
本製品は NVD API のデータを使用していますが、NVD による承認または認定を受けたものではありません。CVE® は The MITRE Corporation の登録商標です。CVE レコードは CVE Program の利用規約に基づいて使用しています。