CVE-2024-27982
The team has identified a critical vulnerability in the http server of the most recent version of Node, where malformed headers can lead to HTTP request smuggling. Specifically, if a space is placed before a content-length header, it is not interpreted correctly, enabling attackers to smuggle in a second request within the body of the first.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | nodejs | Fix pending | UBUNTU-CVE-2024-27982 | |
| Ubuntu 22.04 | nodejs | Fix pending | UBUNTU-CVE-2024-27982 | |
| Debian 14 | nodejs | Fixed | 18.20.1+dfsg-1 | DEBIAN-CVE-2024-27982 |
| Debian 13 | nodejs | Fixed | 18.20.1+dfsg-1 | DEBIAN-CVE-2024-27982 |
| Debian 12 | nodejs | Fixed | 18.20.4+dfsg-1~deb12u1 | DEBIAN-CVE-2024-27982 |
| Red Hat Enterprise Linux 10 | llhttp | Not affected | ||
| Red Hat Enterprise Linux 10 | llhttp-devel | Not affected | ||
| Red Hat Enterprise Linux 10 | nodejs20 | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs | Fixed | 1:18.20.2-2.module+el9.4.0+21742+692df1ea | RHSA-2024:2910 |
| Red Hat Enterprise Linux 9 | nodejs-devel | Fixed | 1:20.12.2-2.module+el9.4.0+21731+46b5b8a7 | RHSA-2024:2779 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed | 1:18.20.2-2.module+el9.4.0+21742+692df1ea | RHSA-2024:2853 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed | 1:20.12.2-2.module+el9.4.0+21731+46b5b8a7 | RHSA-2024:2910 |
| Red Hat Enterprise Linux 9 | nodejs-libs | Fixed | 1:16.20.2-8.el9_4 | RHSA-2024:2910 |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.3.0+19762+d716bf3b | RHSA-2024:2853 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | Fixed | 0:2021.06-4.module+el9.3.0+19518+63aad52d | RHSA-2024:2779 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | Fixed | 0:2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2024:2853 |
| Red Hat Enterprise Linux 9 | npm | Fixed | 1:10.5.0-1.20.12.2.2.module+el9.4.0+21731+46b5b8a7 | RHSA-2024:2910 |
| Red Hat Enterprise Linux 8 | nodejs | Fixed Will not fix | 1:20.12.2-2.module+el8.9.0+21743+0b3f1be2 | RHSA-2024:2780 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed Will not fix | 1:20.12.2-2.module+el8.9.0+21743+0b3f1be2 | RHSA-2024:2780 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed Will not fix | 1:20.12.2-2.module+el8.9.0+21743+0b3f1be2 | RHSA-2024:2780 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed Will not fix | 1:18.20.2-1.module+el8.9.0+21767+537f34ee | RHSA-2024:2778 |
| Red Hat Enterprise Linux 8 | nodejs-libs | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed Will not fix | 0:3.0.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2024:2780 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed Will not fix | 0:2021.06-4.module+el8.9.0+21190+5ebd2c33 | RHSA-2024:2778 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fixed Will not fix | 0:2021.06-4.module+el8.9.0+19519+e25b965a | RHSA-2024:2780 |
| Red Hat Enterprise Linux 8 | npm | Fixed Will not fix | 1:10.5.0-1.20.12.2.2.module+el8.9.0+21743+0b3f1be2 | RHSA-2024:2780 |
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Will not fix Will not fix | ||
| AlmaLinux 9 | nodejs | Fixed | 1:20.12.2-2.module_el9.4.0+100+71fc9528 | ALSA-2024:2910 |
| AlmaLinux 9 | nodejs-devel | Fixed | 1:18.20.2-2.module_el9.4.0+99+a01f7676 | ALSA-2024:2853 |
| AlmaLinux 9 | nodejs-docs | Fixed | 1:16.20.2-8.el9_4 | ALSA-2024:2779 |
| AlmaLinux 9 | nodejs-full-i18n | Fixed | 1:20.12.2-2.module_el9.4.0+100+71fc9528 | ALSA-2024:2910 |
| AlmaLinux 9 | nodejs-libs | Fixed | 1:16.20.2-8.el9_4 | ALSA-2024:2910 |
| AlmaLinux 9 | nodejs-nodemon | Fixed | 3.0.1-1.module_el9.2.0+36+853e48f5 | ALSA-2024:2853 |
| AlmaLinux 9 | nodejs-packaging | Fixed | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2024:2853 |
| AlmaLinux 9 | nodejs-packaging-bundler | Fixed | 2021.06-4.module_el9.3.0+88+29afeaa2 | ALSA-2024:2779 |
| AlmaLinux 9 | npm | Fixed | 1:8.19.4-1.16.20.2.8.el9_4 | ALSA-2024:2853 |
| AlmaLinux 8 | nodejs | Fixed | 1:18.20.2-1.module_el8.9.0+3828+c9fa9644 | ALSA-2024:2778 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:18.20.2-1.module_el8.9.0+3828+c9fa9644 | ALSA-2024:2778 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:20.12.2-2.module_el8.9.0+3827+11b91f3e | ALSA-2024:2780 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:18.20.2-1.module_el8.9.0+3828+c9fa9644 | ALSA-2024:2778 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2024:2778 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 2021.06-4.module_el8.9.0+3684+11b9e959 | ALSA-2024:2780 |
| AlmaLinux 8 | nodejs-packaging-bundler | Fixed | 2021.06-4.module_el8.9.0+3684+11b9e959 | ALSA-2024:2780 |
| AlmaLinux 8 | npm | Fixed | 1:10.5.0-1.18.20.2.1.module_el8.9.0+3828+c9fa9644 | ALSA-2024:2778 |
| Rocky Linux 9 | nodejs | Fixed | 1:16.20.2-8.el9_4 | RLSA-2024:2910 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.6.0+32322+a8b1fd01 | RLSA-2024:2779 |
| Rocky Linux 9 | nodejs-packaging | Fixed | 0:2021.06-4.module+el9.6.0+32143+ae966e5b | RLSA-2024:2779 |
| Rocky Linux 8 | nodejs | Fixed | 1:18.20.2-1.module+el8.9.0+1803+9ac8b495 | RLSA-2024:2778 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el8.8.0+1459+02651ab6 | RLSA-2024:2778 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:2021.06-4.module+el8.7.0+1072+5b168780 | RLSA-2024:2780 |
| Alpine Linux 3.24 | llhttp | Fixed | 9.2.1-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.24 | nodejs | Fixed | 20.12.1-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.24 | nodejs-current | Fixed | 21.7.2-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.23 | llhttp | Fixed | 9.2.1-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.23 | nodejs | Fixed | 20.12.1-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.23 | nodejs-current | Fixed | 21.7.2-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.22 | llhttp | Fixed | 9.2.1-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.22 | nodejs | Fixed | 20.12.1-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.22 | nodejs-current | Fixed | 21.7.2-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.21 | llhttp | Fixed | 9.2.1-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.21 | nodejs | Fixed | 20.12.1-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.21 | nodejs-current | Fixed | 21.7.2-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.20 | nodejs | Fixed | 20.12.1-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.20 | nodejs-current | Fixed | 21.7.2-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.19 | nodejs | Fixed | 20.12.1-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.19 | nodejs-current | Fixed | 21.7.2-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.18 | nodejs | Fixed | 18.20.1-r0 | ALPINE-CVE-2024-27982 |
| Alpine Linux 3.17 | nodejs | Fixed | 18.20.1-r0 | ALPINE-CVE-2024-27982 |
What the vendor says
As published in the CVE record by hackerone, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- NodeJS Node: affected: 4.0 to before 4.*, 5.0 to before 5.*, 6.0 to before 6.*, 7.0 to before 7.*, 8.0 to before 8.*, 9.0 to before 9.*; fixed in
18.20.1,20.12.1,21.7.2
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.