Vulnerability · Published Jan 6, 2021 · Assigned by hackerone
CVE-2020-8287
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 16.3% (higher than 97% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)16.3%top 3.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC
Official description
Node.js versions before 10.23.1, 12.20.1, 14.15.4, 15.5.1 allow two copies of a header field in an HTTP request (for example, two Transfer-Encoding header fields). In this case, Node.js identifies the first header field and ignores the second. This can lead to HTTP Request Smuggling.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2047+b07ac28e | ALSA-2021:0548 |
| AlmaLinux:8 | nodejs-nodemon | 2.0.3-1.module_el8.4.0+2521+c668cc9f | ALSA-2021:0551 |
| AlmaLinux:8 | nodejs-nodemon | 2.0.3-1.module_el8.4.0+2521+c668cc9f | ALSA-2021:0549 |
| AlmaLinux:8 | nodejs-nodemon | 1.18.3-1.module_el8.3.0+2023+d2377ea3 | ALSA-2021:0548 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.4.0+2224+b07ac28e | ALSA-2021:0549 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.4.0+2521+c668cc9f | ALSA-2021:0549 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2021:0549 |
| AlmaLinux:8 | nodejs-packaging | 23-3.module_el8.5.0+254+b4526b16 | ALSA-2021:0551 |
| AlmaLinux:8 | nodejs-packaging | 23-3.module_el8.4.0+2522+3bd42762 | ALSA-2021:0551 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.4.0+2224+b07ac28e | ALSA-2021:0548 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.4.0+2521+c668cc9f | ALSA-2021:0548 |
| AlmaLinux:8 | nodejs-packaging | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2021:0548 |
| Alpine:v3.20 | nodejs | 14.15.4-r0 | ALPINE-CVE-2020-8287 |
| Alpine:v3.21 | nodejs | 14.15.4-r0 | ALPINE-CVE-2020-8287 |
| Alpine:v3.22 | nodejs | 14.15.4-r0 | ALPINE-CVE-2020-8287 |
| Alpine:v3.23 | nodejs | 14.15.4-r0 | ALPINE-CVE-2020-8287 |
| Alpine:v3.24 | nodejs | 14.15.4-r0 | ALPINE-CVE-2020-8287 |
| Alpine:v3.20 | nodejs-current | 15.5.1-r0 | ALPINE-CVE-2020-8287 |
| Alpine:v3.21 | nodejs-current | 15.5.1-r0 | ALPINE-CVE-2020-8287 |
| Alpine:v3.22 | nodejs-current | 15.5.1-r0 | ALPINE-CVE-2020-8287 |
| Alpine:v3.23 | nodejs-current | 15.5.1-r0 | ALPINE-CVE-2020-8287 |
| Alpine:v3.24 | nodejs-current | 15.5.1-r0 | ALPINE-CVE-2020-8287 |
| Debian:12 | http-parser | 2.9.4-5 | DEBIAN-CVE-2020-8287 |
| Debian:13 | http-parser | 2.9.4-5 | DEBIAN-CVE-2020-8287 |
| Debian:14 | http-parser | 2.9.4-5 | DEBIAN-CVE-2020-8287 |
| Debian:12 | nodejs | 12.20.1~dfsg-1 | DEBIAN-CVE-2020-8287 |
| Debian:13 | nodejs | 12.20.1~dfsg-1 | DEBIAN-CVE-2020-8287 |
| Debian:14 | nodejs | 12.20.1~dfsg-1 | DEBIAN-CVE-2020-8287 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.3-1.module+el8.3.0+100+234774f7 | RLSA-2021:0549 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.3-1.module+el8.6.0+982+9fdca2d4 | RLSA-2021:0549 |
| Rocky Linux:8 | nodejs-nodemon | 0:1.18.3-1.module+el8.3.0+101+f84c7154 | RLSA-2021:0548 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.3-1.module+el8.3.0+100+234774f7 | RLSA-2021:0551 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.3-1.module+el8.6.0+982+9fdca2d4 | RLSA-2021:0551 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.3-1.module+el8.4.0+638+5344c6f7 | RLSA-2021:0551 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.3-1.module+el8.4.0+638+5344c6f7 | RLSA-2021:0549 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.5.0+733+de4fee6c | RLSA-2021:0551 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.3.0+100+234774f7 | RLSA-2021:0551 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.7.0+1071+4bdda2a8 | RLSA-2021:0551 |
| Rocky Linux:8 | nodejs-packaging | 0:17-3.module+el8.3.0+101+f84c7154 | RLSA-2021:0549 |
| Rocky Linux:8 | nodejs-packaging | 0:17-3.module+el8.3.0+101+f84c7154 | RLSA-2021:0548 |
| Ubuntu:22.04:LTS | http-parser | no fix listed | UBUNTU-CVE-2020-8287 |
Affected products (as reported)
Weakness: CWE-444
References
- https://hackerone.com/reports/1002188
- https://nodejs.org/en/blog/vulnerability/january-2021-security-releases/
- DSA-4826 vendor-advisory
- FEDORA-2021-fb1a136393 vendor-advisory
- GLSA-202101-07 vendor-advisory
- FEDORA-2021-d5b2c18fe6 vendor-advisory
- https://www.oracle.com/security-alerts/cpujan2021.html
- https://security.netapp.com/advisory/ntap-20210212-0003/
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- [debian-lts-announce] 20221205 [SECURITY] [DLA 3224-1] http-parser security update mailing-list