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

EcosystemPackageFixed inAdvisory
AlmaLinux:8nodejs-nodemon1.18.3-1.module_el8.3.0+2047+b07ac28eALSA-2021:0548
AlmaLinux:8nodejs-nodemon2.0.3-1.module_el8.4.0+2521+c668cc9fALSA-2021:0551
AlmaLinux:8nodejs-nodemon2.0.3-1.module_el8.4.0+2521+c668cc9fALSA-2021:0549
AlmaLinux:8nodejs-nodemon1.18.3-1.module_el8.3.0+2023+d2377ea3ALSA-2021:0548
AlmaLinux:8nodejs-packaging17-3.module_el8.4.0+2224+b07ac28eALSA-2021:0549
AlmaLinux:8nodejs-packaging17-3.module_el8.4.0+2521+c668cc9fALSA-2021:0549
AlmaLinux:8nodejs-packaging17-3.module_el8.3.0+2023+d2377ea3ALSA-2021:0549
AlmaLinux:8nodejs-packaging23-3.module_el8.5.0+254+b4526b16ALSA-2021:0551
AlmaLinux:8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2021:0551
AlmaLinux:8nodejs-packaging17-3.module_el8.4.0+2224+b07ac28eALSA-2021:0548
AlmaLinux:8nodejs-packaging17-3.module_el8.4.0+2521+c668cc9fALSA-2021:0548
AlmaLinux:8nodejs-packaging17-3.module_el8.3.0+2023+d2377ea3ALSA-2021:0548
Alpine:v3.20nodejs14.15.4-r0ALPINE-CVE-2020-8287
Alpine:v3.21nodejs14.15.4-r0ALPINE-CVE-2020-8287
Alpine:v3.22nodejs14.15.4-r0ALPINE-CVE-2020-8287
Alpine:v3.23nodejs14.15.4-r0ALPINE-CVE-2020-8287
Alpine:v3.24nodejs14.15.4-r0ALPINE-CVE-2020-8287
Alpine:v3.20nodejs-current15.5.1-r0ALPINE-CVE-2020-8287
Alpine:v3.21nodejs-current15.5.1-r0ALPINE-CVE-2020-8287
Alpine:v3.22nodejs-current15.5.1-r0ALPINE-CVE-2020-8287
Alpine:v3.23nodejs-current15.5.1-r0ALPINE-CVE-2020-8287
Alpine:v3.24nodejs-current15.5.1-r0ALPINE-CVE-2020-8287
Debian:12http-parser2.9.4-5DEBIAN-CVE-2020-8287
Debian:13http-parser2.9.4-5DEBIAN-CVE-2020-8287
Debian:14http-parser2.9.4-5DEBIAN-CVE-2020-8287
Debian:12nodejs12.20.1~dfsg-1DEBIAN-CVE-2020-8287
Debian:13nodejs12.20.1~dfsg-1DEBIAN-CVE-2020-8287
Debian:14nodejs12.20.1~dfsg-1DEBIAN-CVE-2020-8287
Rocky Linux:8nodejs-nodemon0:2.0.3-1.module+el8.3.0+100+234774f7RLSA-2021:0549
Rocky Linux:8nodejs-nodemon0:2.0.3-1.module+el8.6.0+982+9fdca2d4RLSA-2021:0549
Rocky Linux:8nodejs-nodemon0:1.18.3-1.module+el8.3.0+101+f84c7154RLSA-2021:0548
Rocky Linux:8nodejs-nodemon0:2.0.3-1.module+el8.3.0+100+234774f7RLSA-2021:0551
Rocky Linux:8nodejs-nodemon0:2.0.3-1.module+el8.6.0+982+9fdca2d4RLSA-2021:0551
Rocky Linux:8nodejs-nodemon0:2.0.3-1.module+el8.4.0+638+5344c6f7RLSA-2021:0551
Rocky Linux:8nodejs-nodemon0:2.0.3-1.module+el8.4.0+638+5344c6f7RLSA-2021:0549
Rocky Linux:8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2021:0551
Rocky Linux:8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2021:0551
Rocky Linux:8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2021:0551
Rocky Linux:8nodejs-packaging0:17-3.module+el8.3.0+101+f84c7154RLSA-2021:0549
Rocky Linux:8nodejs-packaging0:17-3.module+el8.3.0+101+f84c7154RLSA-2021:0548
Ubuntu:22.04:LTShttp-parserno fix listedUBUNTU-CVE-2020-8287

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.23.111.0 – before 11.*

Weakness: CWE-444

References