undici library does not protect host HTTP header from CRLF injection vulnerabilities.
This issue was patched in Undici v5.19.1.
Sanitize the headers.host string before passing to undici.
Reported at https://hackerone.com/reports/1820955.
Thank you to Zhipeng Zhang (@timon8) for reporting this vulnerability.
{
"github_reviewed": true,
"cwe_ids": [
"CWE-74",
"CWE-93"
],
"github_reviewed_at": "2023-02-16T20:46:30Z",
"nvd_published_at": "2023-02-16T18:15:00Z",
"severity": "MODERATE"
}