Advisories

Crawl4AI before 0.9.6 ReDoS via List-Form Schema Field Type

Go back
Severity
high
Date
Affecting
  • crawl4ai < 0.9.6

CWE
  • CWE-1333 Inefficient Regular Expression Complexity
CVSS
7.1
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Credit
ntohidi
Description
Crawl4AI before 0.9.6 contains a ReDoS gate bypass in _has_regex_field() in crawl4ai/async_configs.py, which rejects only the plain string "regex" and not list-form field types in JSON CSS, XPath and lxml extraction schemas. Authenticated API clients can send a field type of ["text", "regex"] with a catastrophic-backtracking pattern to stall the server, including /health.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.