WAF regular expression exhausts CPU worldwide for 27 minutes
Jul 2, 13:42 UTCJul 2, 14:09 UTC
Duration
27m
Impact
Critical
Root cause
Deployment
Cloudflare, 90 days
50 incidents
Affected
CDNWAFGlobal
Lesson: Rules and regexes are code; stage them, and use an engine with guaranteed linear time for untrusted input.
What happened
A new WAF rule for XSS detection contained a regular expression with catastrophic backtracking. Deployed globally through an automatic process, it pushed CPU to 100% on every HTTP server and the network dropped traffic for 27 minutes.
More from Cloudflare
Full history| Started | Incident | Impact | Duration |
|---|---|---|---|
| Sep 2318:42 UTC | Network Performance Degradation , Asia-Pacific | minor | Ongoing |
| Sep 2315:54 UTC | Elevated Errors with any / all in http_response_cache_settings | minor | 2h 14m |
| Sep 2309:08 UTC | Intermittent authentication errors for API and R2 | minor | 11h 51m |
| Sep 2308:09 UTC | Increased Errors for Durable Objects | minor | 1h 51m |
| Sep 2304:08 UTC | Elevated number of R2 503 errors in Australian Eastern Coast region | minor | 17m |
| Sep 2300:42 UTC | Issues with 1.1.1.1 for Families | minor | 44m |
Also caused by deployment or rollout
All| Started | Vendor | Incident | Impact | Duration |
|---|---|---|---|---|
| Aug 2014:43 UTC | Intermittent failures creating agent tasks | critical | 9h 54m | |
| Aug 2000:31 UTC | [Medium] Issue with Microsoft Office Integration and Box Edit | major | 1h 13m | |
| Aug 622:22 UTC | Trouble Using Search Bar For Some Admins | minor | 2h 44m | |
| Jul 2110:23 UTC | Job runs failing at the git clone step | critical | 2h 29m | |
| Jul 1907:33 UTC | Some EMEA customers experiencing Git clone failures (403 errors) on thier accounts | major | 6h 22m | |
| Jul 200:17 UTC | Traces, spans, logs inaccesible for query or ingestion in de and us | none | 3h 39m |
From vendors' own status pages and disclosures. Times as reported. Logos via logo.dev; trademarks belong to their owners.