| 标题 | vvbbnn00 (https://github.com/vvbbnn00) WARP-Clash-API latest (main/master branch) CWE-362 (Race Condition / TOCTOU - non-atomic check-then-act wit |
|---|
| 描述 | The background saveAccount job (run every 120s) reads the account, does a network round-trip to refresh usage/quota, and writes the full object back — including a stale in-memory private_key if a concurrent web-worker reset_key call updated the on-disk key during the round-trip, silently reverting legitimate key rotations and breaking WireGuard connectivity for subsequently generated subscriptions.
|
|---|
| 来源 | ⚠️ https://gist.github.com/Galaxync/d09928879331ef9c7e2bfccd08c7288b |
|---|
| 用户 | Galaxyn (UID 98388) |
|---|
| 提交 | 2026-07-19 03時54分 (4 月前) |
|---|
| 管理 | 2026-09-12 10時47分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 403094 [vvbbnn00 WARP-Clash-API 直到 c7bf2360073959861219b422e51ae86411051b46 Save Account Job 竞争条件] |
|---|
| 积分 | 20 |
|---|