CVE-2023-30589: HTTP Request Smuggling via Empty headers separated by CR

Published Jun 20, 2023
·
Updated

Last updated 24 July 2024

Other sources

Node.js is vulnerable to HTTP request smuggling, caused by the failure to strictly use the CRLF sequence to delimit HTTP requests by the llhttp parser in the http module. By sending specially crafted HTTP request headers, an attacker could exploit this vulnerability to poison the web cache, bypass web application firewall protection, and conduct XSS attacks.

— IBM

The llhttp parser in the http module in Node v20.2.0 does not strictly use the CRLF sequence to delimit HTTP requests. This can lead to HTTP Request Smuggling (HRS).

The CR character (without LF) is sufficient to delimit HTTP header fields in the llhttp parser. According to RFC7230 section 3, only the CRLF sequence should delimit each header-field. This impacts all Node.js active versions: v16, v18, and, v20

— GitHub

The llhttp parser in the http module in Node.js does not strictly use the CRLF sequence to delimit HTTP requests.

— Node.Js

Affected Software

26 affected componentsFixes available
npm/llhttp<8.1.1
8.1.1
IBM Cognos Dashboards on Cloud Pak for Data<=4.7.0
Nodejs Node.js=16.0.0
Nodejs Node.js=18.0.0
Nodejs Node.js=20.0.0
Nodejs Node.js=20.2.0
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Nodejs Node.js>=16.0.0<16.20.1
Nodejs Node.js>=18.0.0<18.16.1
Nodejs Node.js>=20.0.0<20.3.1
Node.js Node.js>=16.0.0<16.20.1, >=18.0.0<18.16.1, >=20.0.0<20.3.1
16.20.118.16.120.3.1
Node.js Node.js>=16.0.0<16.20.1
16.20.1
Node.js Node.js>=18.0.0<18.16.1
18.16.1
Node.js Node.js>=20.0.0<20.3.1
20.3.1
alpine/openjdk17<17.0.9_p8-r0
17.0.9_p8-r0
alpine/openjdk17<17.0.9_p8-r0
17.0.9_p8-r0
alpine/openjdk17<17.0.9_p8-r0
17.0.9_p8-r0
alpine/openjdk17<17.0.9_p8-r0
17.0.9_p8-r0
alpine/openjdk17<17.0.9_p8-r0
17.0.9_p8-r0
alpine/openjdk17<17.0.9_p8-r0
17.0.9_p8-r0
alpine/openjdk17<17.0.9_p8-r0
17.0.9_p8-r0
alpine/openjdk17<17.0.9_p8-r0
17.0.9_p8-r0
alpine/openjdk17<17.0.9_p8-r0
17.0.9_p8-r0
debian/llhttp
debian/nodejs
12.22.12~dfsg-1~deb11u518.19.0+dfsg-6~deb12u118.13.0+dfsg1-1.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/llhttp to a version that resolves this vulnerability.

    Fixed in 8.1.1
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.20.1Fixed in 18.16.1Fixed in 20.3.1
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.20.1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 18.16.1
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.3.1
  6. Upgrade

    Upgrade alpine/openjdk17 to a version that resolves this vulnerability.

    Fixed in 17.0.9_p8-r0
  7. Upgrade

    Upgrade debian/nodejs to a version that resolves this vulnerability.

    Fixed in 12.22.12~dfsg-1~deb11u5Fixed in 18.19.0+dfsg-6~deb12u1Fixed in 18.13.0+dfsg1-1.1

Event History

Jun 20, 2023
CVE Published
via Node.js·02:30 PM
Data Sourced
via Node.js·02:30 PM
DescriptionSeverity
Data Sourced
via Node.js·07:27 PM
Affected Software
Jun 30, 2023
CVE Published
via MITRE·11:39 PM
Data Sourced
via MITRE·11:39 PM
Description
Jul 1, 2023
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Data Sourced
12:15 AM
DescriptionSeverityAffected Software
Advisory Published
12:30 AM
Oct 9, 2023
Data Sourced
via Red Hat·10:26 AM
DescriptionSeverityAffected Software
Oct 20, 2023
Updated
via IBM·12:00 AM
Affected Software
Nov 11, 2023
Advisory Published
05:06 AM
Dec 12, 2023
Data Sourced
02:33 PM
Remedy
Updated
via NVD·02:33 PM
Affected Software
Dec 21, 2023
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Updated
12:00 AM
Affected Software
Feb 23, 2024
Updated
via IBM·12:00 AM
Affected Software
Feb 26, 2024
Updated
via IBM·12:00 AM
Affected Software
Jun 21, 2024
Data Sourced
via NVD·07:15 PM
RemedyDescriptionSeverityAffected Software
Updated
via NVD·07:15 PM
Affected Software
Jun 24, 2024
Data Sourced
via GitHub·09:25 PM
DescriptionSeverityAffected Software
Feb 13, 2025
Updated
via NVD·05:16 PM
RemedyDescriptionAffected Software
Apr 30, 2025
Updated
via MITRE·10:24 PM
Description
Nov 4, 2025
Updated
via NVD·05:15 PM
Affected Software
Updated
via GitHub·07:38 PM
Description
Oct 8, 2026
Updated
via NVD·10:17 PM
RemedyDescriptionAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2023-30589?

CVE-2023-30589 is a vulnerability in the llhttp parser in the http module in Node v20.2.0 that can lead to HTTP Request Smuggling (HRS).

2

How does CVE-2023-30589 affect Node.js?

CVE-2023-30589 affects Node.js versions 16.0.0, 18.0.0, 20.0.0, and 20.2.0.

3

What is the severity of CVE-2023-30589?

CVE-2023-30589 has a severity rating of high.

4

How can I fix CVE-2023-30589?

To fix CVE-2023-30589, update the llhttp package to version 8.1.1 or higher.

5

Where can I find more information about CVE-2023-30589?

You can find more information about CVE-2023-30589 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-30589), [HackerOne](https://hackerone.com/reports/2001873), [GitHub](https://github.com/nodejs/llhttp/releases/tag/release%2Fv8.1.1).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203