Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| n8n-io / n8n | affected 0 before 1.123.69; unaffected 1.123.69 |
| n8n-io / n8n | affected 2.34.0 before 2.34.1; unaffected 2.34.1 |
| n8n-io / n8n | affected 2.0.0 before 2.33.4; unaffected 2.33.4 |
CWE
CWE-1333
References
- https://github.com/n8n-io/n8n/security/advisories/GHSA-q3fv-295f-qfpf
- https://www.vulncheck.com/advisories/n8n-before-redos-via-filter-and-switch-node
ADP enrichment
No English description supplied.
No references supplied.