p PatchFirst

CVE-2023-23936

CVE-2023-23936 · CRLF Injection in Nodejs ‘undici’ via host

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.5 · Medium · EPSS 1.1% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • undici

    Versions
    • >=2.0.0, < 5.19.1: Affected

    No fix published

  • node-undici Debian:12

    Versions
    • 5.15.0+dfsg1+~cs20.10.9.3-1
    Affected ranges
    • ECOSYSTEM: < 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1

    Update to 5.15.0+dfsg1+~cs20.10.9.3-1+deb12u1

  • node-undici Debian:13

    Affected ranges
    • ECOSYSTEM: < 5.19.1+dfsg1+~cs20.10.9.5-1

    Update to 5.19.1+dfsg1+~cs20.10.9.5-1

  • node-undici Debian:14

    Affected ranges
    • ECOSYSTEM: < 5.19.1+dfsg1+~cs20.10.9.5-1

    Update to 5.19.1+dfsg1+~cs20.10.9.5-1

  • undici npm

    Affected ranges
    • SEMVER: ≥ 2.0.0, < 5.19.1

    Update to 5.19.1

Original sources

Check your server →