mittel6.5
CVE-2023-23936
CRLF Injection in Nodejs ‘undici’ via host
Auswirkung
Undici is an HTTP/1.1 client for Node.js. Starting with version 2.0.0 and prior to version 5.19.1, the undici library does not protect `host` HTTP header from CRLF injection vulnerabilities. This issue is patched in Undici v5.19.1. As a workaround, sanitize the `headers.host` string before passing to undici.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | undici | >= 2.0.0, < 5.19.1 | 5.19.1 |
Betroffene Produkte · Node.js
| Produkt | Betroffene Versionen |
|---|---|
| Node.js | ab 16.0.0 vor 16.19.1 ab 18.0.0 vor 18.14.1 ab 19.0.0 vor 19.6.1 |
| Undici | ab 2.0.0 vor 5.19.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/nodejs/undici/commit/a2eff05401358f6595138df963837c24348f2034
- https://github.com/nodejs/undici/releases/tag/v5.19.1
- https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff
- https://hackerone.com/reports/1820955
- https://github.com/advisories/GHSA-5r9g-qh6m-jxff
- https://nvd.nist.gov/vuln/detail/CVE-2023-23936