Lack of data validation In undici
Description
CRLF Injection in Nodejs ‘undici’ via host
Impact
undici library does not protect host HTTP header from CRLF injection vulnerabilities.
Patches
This issue was patched in Undici v5.19.1.
Workarounds
Sanitize the headers.host string before passing to undici.
References
Reported at https://hackerone.com/reports/1820955.
Credits
Thank you to Zhipeng Zhang (@timon8) for reporting this vulnerability.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
alpine v3.18 | 18.14.1-r0 | ||
alpine v3.19 | 18.14.1-r0 | ||
debian 13 | 5.19.1+dfsg1+~cs20.10.9.5-1 | ||
debian 14 | 5.19.1+dfsg1+~cs20.10.9.5-1 | ||
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.20 | 18.14.1-r0 | ||
alpine v3.21 | 18.14.1-r0 |
1-10 of 18
10
Aliases
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11.
References
1. 2. 3. 4.