Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| unclecode / crawl4ai | affected 0.7.0 before 0.9.5; unaffected 0.9.5 |
CWE
CWE-1333
References
- https://github.com/unclecode/crawl4ai/security/advisories/GHSA-j843-8p47-rhxp
- https://github.com/unclecode/crawl4ai/commit/8aea2006e2cdb96a185e50b20633fc323dff6429
- https://github.com/unclecode/crawl4ai/releases/tag/v0.9.5
- https://github.com/unclecode/crawl4ai
- https://www.vulncheck.com/advisories/crawl4ai-0.7.0-before-0.9.5-redos-via-crawl-regex-fields