CVE-2020-8201
Node.js < 12.18.4 and < 14.11 can be exploited to perform HTTP desync attacks and deliver malicious payloads to unsuspecting users. The payloads can be crafted by an attacker to hijack user sessions, poison cookies, perform clickjacking, and a multitude of other attacks depending on the architecture of the underlying system. The attack was possible due to a bug in processing of carrier-return symbols in the HTTP header names.
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 16.04 | nodejs | Fix pending | ||
| Debian 14 | nodejs | Fixed | 12.18.4~dfsg-1 | DEBIAN-CVE-2020-8201 |
| Debian 13 | nodejs | Fixed | 12.18.4~dfsg-1 | DEBIAN-CVE-2020-8201 |
| Debian 12 | nodejs | Fixed | 12.18.4~dfsg-1 | DEBIAN-CVE-2020-8201 |
| Red Hat Enterprise Linux 8 | nodejs | Fixed | 1:12.18.4-2.module+el8.2.0+8361+192e434e | RHSA-2020:4272 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed | 1:12.18.4-2.module+el8.2.0+8361+192e434e | RHSA-2020:4272 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed | 1:12.18.4-2.module+el8.2.0+8361+192e434e | RHSA-2020:4272 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed | 1:12.18.4-2.module+el8.2.0+8361+192e434e | RHSA-2020:4272 |
| Red Hat Enterprise Linux 8 | nodejs-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed | 0:1.18.3-1.module+el8.1.0+3369+37ae6a45 | RHSA-2020:4272 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed | 0:17-3.module+el8.1.0+3369+37ae6a45 | RHSA-2020:4272 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Not affected | ||
| Red Hat Enterprise Linux 8 | npm | Fixed | 1:6.14.6-1.12.18.4.2.module+el8.2.0+8361+192e434e | RHSA-2020:4272 |
| Red Hat Enterprise Linux 8 | v8-12.4-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | v8-13.6-devel | Not affected | ||
| AlmaLinux 8 | nodejs-nodemon | Fixed | 1.18.3-1.module_el8.3.0+2047+b07ac28e | ALSA-2020:4272 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 17-3.module_el8.3.0+2023+d2377ea3 | ALSA-2020:4272 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:1.18.3-1.module+el8.3.0+101+f84c7154 | RLSA-2020:4272 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:17-3.module+el8.3.0+101+f84c7154 | RLSA-2020:4272 |
| Alpine Linux 3.24 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.24 | nodejs-current | Fixed | 14.11.0-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.23 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.23 | nodejs-current | Fixed | 14.11.0-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.22 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.22 | nodejs-current | Fixed | 14.11.0-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.21 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.21 | nodejs-current | Fixed | 14.11.0-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.20 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.20 | nodejs-current | Fixed | 14.11.0-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.19 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.19 | nodejs-current | Fixed | 14.11.0-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.18 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.18 | nodejs-current | Fixed | 14.11.0-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.17 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.17 | nodejs-current | Fixed | 14.11.0-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.16 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.16 | nodejs-current | Fixed | 14.11.0-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.15 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.15 | nodejs-current | Fixed | 14.11.0-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.14 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.14 | nodejs-current | Fixed | 14.11.0-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.13 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.13 | nodejs-current | Fixed | 14.11.0-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.12 | nodejs | Fixed | 12.18.4-r0 | ALPINE-CVE-2020-8201 |
| Alpine Linux 3.11 | nodejs | Fixed | 12.20.1-r0 | ALPINE-CVE-2020-8201 |
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
12.18.4,14.11.0
Vendor advisories:
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00011.html (vendor-advisory)
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
- https://security.gentoo.org/glsa/202101-07 (vendor-advisory)
References
- https://nodejs.org/en/blog/vulnerability/september-2020-security-releases/
- https://hackerone.com/reports/922597
- http://lists.opensuse.org/opensuse-security-announce/2020-10/msg00011.html
- https://security.netapp.com/advisory/ntap-20201009-0004/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4OOYAMJVLLCLXDTHW3V5UXNULZBBK4O6/
- https://security.gentoo.org/glsa/202101-07
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.