Description
Crawl4AI 0.7.0 before 0.9.5 contains an inefficient regular expression complexity vulnerability in the Docker API server that allows authenticated API clients to supply unbounded regular expressions in /crawl request bodies. Attackers can submit catastrophic-backtracking patterns via RegexExtractionStrategy.custom, RegexChunking.patterns or JsonCss, JsonXPath and JsonLxml schema regex fields against a crafted page to freeze the entire server, including /health.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| unclecode | crawl4ai | 0.7.0 – < 0.9.5 | 0.9.5 |
References
- GitHub Security Advisory (GHSA-j843-8p47-rhxp) vendor-advisory
- https://github.com/unclecode/crawl4ai/commit/8aea2006e2cdb96a185e50b20633fc323dff6429 patch
- crawl4ai v0.9.5 Release Notes release-notes
- https://github.com/unclecode/crawl4ai product
- VulnCheck Advisory: Crawl4AI 0.7.0 before 0.9.5 ReDoS via /crawl Regex Fields third-party-advisory