Asymmetric denial of service - ReDoS In undici
Description
Regular Expression Denial of Service in Headers
Impact
The Headers.set() and Headers.append() methods are vulnerable to Regular Expression Denial of Service (ReDoS) attacks when untrusted values are passed into the functions. This is due to the inefficient regular expression used to normalize the values in the headerValueNormalize() utility function.
Patches
This vulnerability was patched in v5.19.1.
Workarounds
There is no workaround. Please update to an unaffected version.
References
Credits
Carter Snook reported this vulnerability.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
debian 12 | 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1 | ||
npm | 5.19.1 | ||
alpine v3.15 | 16.19.1-r0 | ||
alpine v3.16 | 16.19.1-r0 | ||
alpine v3.17 | 18.14.1-r0 | ||
alpine v3.18 | 18.14.1-r0 | ||
alpine v3.19 | 18.14.1-r0 | ||
alpine v3.20 | 18.14.1-r0 | ||
alpine v3.21 | 18.14.1-r0 | ||
alpine v3.22 | 18.14.1-r0 |
1-10 of 17
10
Aliases
References