n8n before 1.123.69 ReDoS via Filter and Switch Node
n8n-io n8n
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
n8n-io n8n
| Product | Affected | Fixed in |
|---|---|---|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
| n8n-io n8n |
|
|
n8n before 1.123.69, 2.x before 2.33.4, and 2.34.x before 2.34.1 contains a regular expression denial of service (ReDoS) vulnerability in the Filter and Switch nodes, which compile user-supplied regex patterns with new RegExp() and execute them synchronously on the worker thread without complexity validation or execution timeout. A crafted regex pattern can block the worker for an extended period per data item processed, delaying other workflow executions on the same worker.
From the CVE record · VulnCheck
The Filter and Switch nodes execute user-supplied regular expressions synchronously without complexity checks or a timeout. A crafted pattern can block a worker for an extended period per data item, delaying other workflows on that worker. The input does not specify the attacker's access requirements.
Operators running n8n before 1.123.69, 2.x before 2.33.4, or 2.34.x before 2.34.1 should check their deployments.