Vulnerability · Published Nov 15, 2021 · Assigned by hackerone
CVE-2021-22959
Medium 6.5
In plain English
A medium-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.2% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)3.2%top 12.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
The parser in accepts requests with a space (SP) right after the header name before the colon. This can lead to HTTP Request Smuggling (HRS) in llhttp < v2.1.4 and < v6.0.6.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | nodejs | 1:16.13.1-3.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux:8 | nodejs | 1:16.13.1-3.module_el8.5.0+246+05401605 | ALSA-2021:5171 |
| AlmaLinux:8 | nodejs | 1:14.18.2-2.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux:8 | nodejs | 1:14.18.2-2.module_el8.5.0+254+b4526b16 | ALSA-2022:0350 |
| AlmaLinux:8 | nodejs-devel | 1:16.13.1-3.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux:8 | nodejs-devel | 1:16.13.1-3.module_el8.5.0+246+05401605 | ALSA-2021:5171 |
| AlmaLinux:8 | nodejs-devel | 1:14.18.2-2.module_el8.5.0+254+b4526b16 | ALSA-2022:0350 |
| AlmaLinux:8 | nodejs-devel | 1:14.18.2-2.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux:8 | nodejs-docs | 1:16.13.1-3.module_el8.5.0+246+05401605 | ALSA-2021:5171 |
| AlmaLinux:8 | nodejs-docs | 1:16.13.1-3.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux:8 | nodejs-docs | 1:14.18.2-2.module_el8.5.0+254+b4526b16 | ALSA-2022:0350 |
| AlmaLinux:8 | nodejs-docs | 1:14.18.2-2.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux:8 | nodejs-full-i18n | 1:14.18.2-2.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux:8 | nodejs-full-i18n | 1:16.13.1-3.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux:8 | nodejs-full-i18n | 1:16.13.1-3.module_el8.5.0+246+05401605 | ALSA-2021:5171 |
| AlmaLinux:8 | nodejs-full-i18n | 1:14.18.2-2.module_el8.5.0+254+b4526b16 | ALSA-2022:0350 |
| AlmaLinux:8 | nodejs-nodemon | 2.0.15-1.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux:8 | nodejs-nodemon | 2.0.15-1.module_el8.6.0+2904+f21ad6f4 | ALSA-2021:5171 |
| AlmaLinux:8 | nodejs-nodemon | 2.0.15-1.module_el8.5.0+2605+45d748af | ALSA-2022:0350 |
| AlmaLinux:8 | nodejs-nodemon | 2.0.15-1.module_el8.6.0+2904+f21ad6f4 | ALSA-2022:0350 |
| AlmaLinux:8 | nodejs-nodemon | 2.0.15-1.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux:8 | nodejs-packaging | 23-3.module_el8.4.0+2522+3bd42762 | ALSA-2022:0350 |
| AlmaLinux:8 | nodejs-packaging | 25-1.module_el8.5.0+246+05401605 | ALSA-2021:5171 |
| AlmaLinux:8 | nodejs-packaging | 25-1.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux:8 | nodejs-packaging | 23-3.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux:8 | npm | 1:8.1.2-1.16.13.1.3.module_el8.5.0+246+05401605 | ALSA-2021:5171 |
| AlmaLinux:8 | npm | 1:8.1.2-1.16.13.1.3.module_el8.5.0+2605+45d748af | ALSA-2021:5171 |
| AlmaLinux:8 | npm | 1:6.14.15-1.14.18.2.2.module_el8.5.0+2618+8d46dafd | ALSA-2022:0350 |
| AlmaLinux:8 | npm | 1:6.14.15-1.14.18.2.2.module_el8.5.0+254+b4526b16 | ALSA-2022:0350 |
| Alpine:v3.20 | nodejs | 14.18.1-r0 | ALPINE-CVE-2021-22959 |
| Alpine:v3.21 | nodejs | 14.18.1-r0 | ALPINE-CVE-2021-22959 |
| Alpine:v3.22 | nodejs | 14.18.1-r0 | ALPINE-CVE-2021-22959 |
| Alpine:v3.23 | nodejs | 14.18.1-r0 | ALPINE-CVE-2021-22959 |
| Alpine:v3.24 | nodejs | 14.18.1-r0 | ALPINE-CVE-2021-22959 |
| Alpine:v3.20 | nodejs-current | 16.11.1-r0 | ALPINE-CVE-2021-22959 |
| Alpine:v3.21 | nodejs-current | 16.11.1-r0 | ALPINE-CVE-2021-22959 |
| Alpine:v3.22 | nodejs-current | 16.11.1-r0 | ALPINE-CVE-2021-22959 |
| Alpine:v3.23 | nodejs-current | 16.11.1-r0 | ALPINE-CVE-2021-22959 |
| Alpine:v3.24 | nodejs-current | 16.11.1-r0 | ALPINE-CVE-2021-22959 |
| Debian:12 | nodejs | 12.22.7~dfsg-1 | DEBIAN-CVE-2021-22959 |
| Debian:13 | nodejs | 12.22.7~dfsg-1 | DEBIAN-CVE-2021-22959 |
| Debian:14 | nodejs | 12.22.7~dfsg-1 | DEBIAN-CVE-2021-22959 |
| Rocky Linux:8 | nodejs | 1:16.13.1-3.module+el8.5.0+721+4c107270 | RLSA-2021:5171 |
| Rocky Linux:8 | nodejs | 1:14.18.2-2.module+el8.5.0+733+de4fee6c | RLSA-2022:0350 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.15-1.module+el8.5.0+721+4c107270 | RLSA-2021:5171 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.15-1.module+el8.5.0+721+4c107270 | RLSA-2022:0350 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.3.0+100+234774f7 | RLSA-2022:0350 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.7.0+1071+4bdda2a8 | RLSA-2022:0350 |
| Rocky Linux:8 | nodejs-packaging | 0:25-1.module+el8.5.0+702+221f14e6 | RLSA-2021:5171 |
| Rocky Linux:8 | nodejs-packaging | 0:25-1.module+el8.6.0+1046+80feca58 | RLSA-2021:5171 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.5.0+733+de4fee6c | RLSA-2022:0350 |
| Ubuntu:22.04:LTS | nodejs | 12.22.9~dfsg-1ubuntu3 | UBUNTU-CVE-2021-22959 |
Affected products (as reported)
Weakness: CWE-444
References
- https://hackerone.com/reports/1238709 x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC
- DSA-5170 vendor-advisory, x_refsource_DEBIAN