Soumettre #895265: vvbbnn00 (https://github.com/vvbbnn00) WARP-Clash-API latest (main/master branch) CWE-362 (Race Condition / TOCTOU - non-atomic check-then-act witinformation

Titrevvbbnn00 (https://github.com/vvbbnn00) WARP-Clash-API latest (main/master branch) CWE-362 (Race Condition / TOCTOU - non-atomic check-then-act wit
DescriptionThe 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.
La source⚠️ https://gist.github.com/Galaxync/d09928879331ef9c7e2bfccd08c7288b
Utilisateur
 Galaxyn (UID 98388)
Soumission19/07/2026 03:54 (il y a 2 mois)
Modérer12/09/2026 10:47 (2 months later)
StatutAccepté
Entrée VulDB403094 [vvbbnn00 WARP-Clash-API Save Account Job race condition]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!