POJIA破甲
地图 / Time-of-check to time-of-use vulnerability in the std::fs::remove_dir_all() function of the Rust standard library

Time-of-check to time-of-use vulnerability in the std::fs::remove_dir_all() function of the Rust standard library

业务逻辑 / TOCTOU 竞态条件 / #1520931

厂商
Internet Bug Bounty
严重程度
中危
赏金
$4,000
弱点
TOCTOU 竞态条件
研究员
@hkratz
披露日期
2022-03-24
资产
https://github.com/rust-lang/rust
CVE
CVE-2022-21658

该报告还没有中文解读。

原文摘录

摘自原文(3036 字符中的一小部分)
The implementation of [`std::fs::remove_dir_all()`](https://doc.rust-lang.org/std/fs/fn.remove_dir_all.html) in the Rust standard library is vulnerable to a time-of-check to time-of-use link replacement attack. This applies to all versions of Rust before 1.58.1.

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @hkratz · 版权归作者与 Internet Bug Bounty 所有

同类报告

Ability to bypass partner email confirmation to take over any store given an employee emailShopify · 2018-02-07 · $15,250Race Condition leads to undeletable group memberHackerOne · 2020-03-20Race condition in activating email resulting in infinite amount of diamonds receivedInnoGames · — · $2,000Race condition in joining CTF groupHackerOne · 2023-01-08 · $500[pandao.ru] Возможность списания несуществующих бонусных балловMail.ru · —Promotion code can be used more than redemption limit.Stripe · 2023-02-13