Vulnerability · Published Jun 30, 2023 · Assigned by hackerone

CVE-2023-30589

High 7.5

In plain English

A high-severity security flaw in Node from NodeJS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.9% (higher than 90% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.5High
Exploit odds (30 days)3.9%top 9.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs1:18.16.1-1.module_el8.8.0+3595+0818e803ALSA-2023:4536
AlmaLinux:8nodejs1:16.20.1-1.module_el8.8.0+3594+e74fe53fALSA-2023:4537
AlmaLinux:9nodejs1:18.16.1-1.module_el9.2.0+31+cbae0c8eALSA-2023:4330
AlmaLinux:9nodejs1:16.20.1-1.el9_2ALSA-2023:4331
AlmaLinux:8nodejs-devel1:18.16.1-1.module_el8.8.0+3595+0818e803ALSA-2023:4536
AlmaLinux:8nodejs-devel1:16.20.1-1.module_el8.8.0+3594+e74fe53fALSA-2023:4537
AlmaLinux:9nodejs-devel1:18.16.1-1.module_el9.2.0+31+cbae0c8eALSA-2023:4330
AlmaLinux:8nodejs-docs1:18.16.1-1.module_el8.8.0+3595+0818e803ALSA-2023:4536
AlmaLinux:8nodejs-docs1:16.20.1-1.module_el8.8.0+3594+e74fe53fALSA-2023:4537
AlmaLinux:9nodejs-docs1:16.20.1-1.el9_2ALSA-2023:4331
AlmaLinux:9nodejs-docs1:18.16.1-1.module_el9.2.0+31+cbae0c8eALSA-2023:4330
AlmaLinux:8nodejs-full-i18n1:18.16.1-1.module_el8.8.0+3595+0818e803ALSA-2023:4536
AlmaLinux:8nodejs-full-i18n1:16.20.1-1.module_el8.8.0+3594+e74fe53fALSA-2023:4537
AlmaLinux:9nodejs-full-i18n1:16.20.1-1.el9_2ALSA-2023:4331
AlmaLinux:9nodejs-full-i18n1:18.16.1-1.module_el9.2.0+31+cbae0c8eALSA-2023:4330
AlmaLinux:9nodejs-libs1:16.20.1-1.el9_2ALSA-2023:4331
AlmaLinux:8nodejs-nodemon2.0.20-2.module_el8.8.0+3587+ee652244ALSA-2023:4536
AlmaLinux:8nodejs-nodemon2.0.20-3.module_el8.8.0+3586+d4fc0b72ALSA-2023:4537
AlmaLinux:9nodejs-nodemon2.0.20-2.module_el9.2.0+29+de583a0bALSA-2023:4330
AlmaLinux:8nodejs-packaging2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2023:4536
AlmaLinux:8nodejs-packaging25-1.module_el8.5.0+2605+45d748afALSA-2023:4537
AlmaLinux:9nodejs-packaging2021.06-4.module_el9.1.0+13+d9a595eaALSA-2023:4330
AlmaLinux:8nodejs-packaging-bundler2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2023:4536
AlmaLinux:9nodejs-packaging-bundler2021.06-4.module_el9.1.0+13+d9a595eaALSA-2023:4330
AlmaLinux:8npm1:9.5.1-1.18.16.1.1.module_el8.8.0+3595+0818e803ALSA-2023:4536
AlmaLinux:8npm1:8.19.4-1.16.20.1.1.module_el8.8.0+3594+e74fe53fALSA-2023:4537
AlmaLinux:9npm1:8.19.4-1.16.20.1.1.el9_2ALSA-2023:4331
AlmaLinux:9npm1:9.5.1-1.18.16.1.1.module_el9.2.0+31+cbae0c8eALSA-2023:4330
Alpine:v3.20openjdk1717.0.9_p8-r0ALPINE-CVE-2023-30589
Alpine:v3.21openjdk1717.0.9_p8-r0ALPINE-CVE-2023-30589
Alpine:v3.22openjdk1717.0.9_p8-r0ALPINE-CVE-2023-30589
Alpine:v3.23openjdk1717.0.9_p8-r0ALPINE-CVE-2023-30589
Alpine:v3.24openjdk1717.0.9_p8-r0ALPINE-CVE-2023-30589
Debian:12nodejs18.19.0+dfsg-6~deb12u1DSA-5589-1
Debian:12nodejs18.19.0+dfsg-6~deb12u1DEBIAN-CVE-2023-30589
Debian:13nodejs18.13.0+dfsg1-1.1DEBIAN-CVE-2023-30589
Debian:14nodejs18.13.0+dfsg1-1.1DEBIAN-CVE-2023-30589
Rocky Linux:8nodejs1:18.16.1-1.module+el8.8.0+1413+a47876c7RLSA-2023:4536
Rocky Linux:8nodejs-nodemon0:2.0.20-2.module+el8.7.0+1177+510ae886RLSA-2023:4536
Rocky Linux:8nodejs-nodemon0:2.0.20-3.module+el8.7.0+1178+d52dba78RLSA-2023:4537
Rocky Linux:8nodejs-packaging0:25-1.module+el8.7.0+1108+49363b0dRLSA-2023:4537
Rocky Linux:8nodejs-packaging0:2021.06-4.module+el8.7.0+1072+5b168780RLSA-2023:4536
Rocky Linux:9nodejs-packaging0:2021.06-4.module+el9.7.0+40022+9ecc286cRLSA-2023:4330
Ubuntu:22.04:LTSnodejs12.22.9~dfsg-1ubuntu3.5USN-6735-1
Ubuntu:24.04:LTSnodejs18.19.1+dfsg-2ubuntu4UBUNTU-CVE-2023-30589
npmllhttp8.1.1GHSA-cggh-pq45-6h9x

Affected products (as reported)

VendorProductVersions
NodeJS Node 4.0 – before 4.*5.0 – before 5.*6.0 – before 6.*7.0 – before 7.*8.0 – before 8.*9.0 – before 9.*10.0 – before 10.*11.0 – before 11.*

References