CVE-2022-35256 json
The llhttp parser in the http module in Node v18.7.0 does not correctly handle header fields that are not terminated with CLRF.
published 3y ago modified 24d ago also BIT-node-2022-35256 , BIT-node-min-2022-35256 , EUVD-2022-38147
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
The llhttp parser in the http module in Node v18.7.0 does not correctly handle header fields that are not terminated with CLRF. This may result in HTTP Request Smuggling.
Patch / fix
- bitnami node 14.14.1, 14.20.1, 16.12.1, 16.17.1, 18.9.1
- bitnami node-min 14.14.1, 14.20.1, 16.12.1, 16.17.1, 18.9.1
- NodeJS Node 14.20.1, 16.17.1, 18.9.1
- nodejs Debian 14, Debian 13, Debian 12 18.10.0+dfsg-1
debian advisories DEBIAN-CVE-2022-35256
- nodejs Ubuntu 22.04 LTS 12.22.9~dfsg-1ubuntu3.2
ubuntu advisories UBUNTU-CVE-2022-35256
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- nodejs-packaging RHEL 8, RHEL 8.6 EUS, RHEL 8.4 EUS 23-3.module+el8.3.0+6519+9f98ed83
- nodejs RHEL 9 1:16.18.1-3.el9_1
- nodejs-nodemon RHEL 9 2.0.20-2.el9_1
- npm RHEL 9 1:8.19.2-1.16.18.1.3.el9_1
- nodejs-libs RHEL 9 1:16.18.1-3.el9_1
- nodejs-full-i18n RHEL 9 1:16.18.1-3.el9_1
- rh-nodejs14-nodejs RHEL 3 SOFTWARE_COLLECTIONS 14.20.1-2.el7
- rh-nodejs14-npm RHEL 3 SOFTWARE_COLLECTIONS 6.14.17-14.20.1.2.el7
red hat advisories RHSA-2023:1742RHSA-2023:1533RHSA-2023:0321RHSA-2022:7044RHSA-2022:7821RHSA-2022:6963
- nodejs18 SLE Module for Web and Scripting 15 SP4, openSUSE Leap 15.5, openSUSE Leap 15.4 18.13.0-150400.9.3.1
- nodejs18 SLE Module for Web and Scripting 12 18.13.0-8.3.1
- nodejs10 openSUSE Leap 15.4, openSUSE Leap 15.3 10.24.1-150000.1.50.1
- nodejs16 SLE Module for Web and Scripting 15 SP4, openSUSE Leap 15.4 16.17.1-150400.3.9.1
- nodejs12 SLE Module for Web and Scripting 15 SP3, openSUSE Leap 15.4, openSUSE Leap 15.3 12.22.12-150200.4.38.1
- nodejs16 SLE Module for Web and Scripting 15 SP3, openSUSE Leap 15.3 16.17.1-150300.7.12.1
- nodejs14 SLE Module for Web and Scripting 15 SP3, openSUSE Leap 15.4, openSUSE Leap 15.3 14.20.1-150200.15.37.1
- nodejs16 SLE Module for Web and Scripting 12 16.17.1-8.12.1
suse advisories SUSE-SU-2023:0419-1SUSE-SU-2023:0408-1SUSE-SU-2022:3835-1SUSE-SU-2022:3656-1SUSE-SU-2022:3616-1SUSE-SU-2022:3615-1
- nodejs16 openSUSE Tumbleweed 16.17.1-1.1
- nodejs18 openSUSE Tumbleweed 18.10.0-1.1
opensuse advisories openSUSE-SU-2024:12370-1openSUSE-SU-2024:12376-1
- nodejs AlmaLinux 9 1:16.18.1-3.el9_1
- nodejs-nodemon AlmaLinux 9 2.0.20-2.el9_1
- npm AlmaLinux 9 1:8.19.2-1.16.18.1.3.el9_1
- nodejs-libs AlmaLinux 9 1:16.18.1-3.el9_1
- nodejs-full-i18n AlmaLinux 9 1:16.18.1-3.el9_1
- npm AlmaLinux 8 1:8.19.1-1.18.9.1.1.module_el8.7.0+3343+ea2b7901
- nodejs AlmaLinux 8 1:18.9.1-1.module_el8.7.0+3343+ea2b7901
- nodejs-nodemon AlmaLinux 8 2.0.19-1.module_el8.7.0+3343+ea2b7901
almalinux advisories ALSA-2023:0321ALSA-2022:7821ALSA-2022:7830ALSA-2022:6963ALSA-2022:6964
- nodejs Rocky Linux 9 1:16.18.1-3.el9_1
- nodejs-nodemon Rocky Linux 9 2.0.20-2.el9_1
- nodejs Rocky Linux 8 1:14.20.1-2.module+el8.7.0+1071+4bdda2a8
- nodejs-nodemon Rocky Linux 8 2.0.19-2.module+el8.6.0+1046+80feca58
- nodejs-nodemon Rocky Linux 8 2.0.19-2.module+el8.6.0+1003+ae94235a
- nodejs-packaging Rocky Linux 8 23-3.module+el8.7.0+1071+4bdda2a8
- nodejs-packaging Rocky Linux 8 23-3.module+el8.3.0+100+234774f7
- nodejs-packaging Rocky Linux 8 23-3.module+el8.5.0+733+de4fee6c
rocky linux advisories RLSA-2023:0321RLSA-2022:7830RLSA-2022:7821RLSA-2022:6964RLSA-2022:6963
- nodejs Alpine 3.14, Alpine 3.13 14.20.1-r0
- nodejs Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 16.17.1-r0
- nodejs-current Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 18.9.1-r0
alpine advisories ALPINE-CVE-2022-35256
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rust CBL-Mariner 2.0 1.68.0-1
- rust Azure Linux 3.0 1.75.0-1
azure linux advisories AZL-31039AZL-35235
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Is CVE-2022-35256 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-35256 updated cvss 6.5
nodejs: HTTP Request Smuggling due to incorrect parsing of header fields
-
Red Hat Enterprise Linux AppStream (v. 8) nodejs 18.9.1-1.module+el8.7.0+16806+4109802b, nodejs 14.20.1-2.module+el8.7.0+16991+b0a68a3e, nodejs 16.17.1-1.module+el8.6.0+16848+a483195a, nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83, nodejs-packaging 25-1.module+el8.5.0+10992+fac5fe06, npm 8.19.1-1.18.9.1.1.module+el8.7.0+16806+4109802b, +10 morefixed: vendor fix RHSA-2022:6964
-
Red Hat Enterprise Linux AppStream (v. 9) nodejs 16.17.1-1.el9_0, nodejs 16.18.1-3.el9_1, nodejs-libs 16.17.1-1.el9_0, nodejs-libs 16.18.1-3.el9_1, npm 8.15.0-1.16.17.1.1.el9_0, npm 8.19.2-1.16.18.1.3.el9_1, +2 morefixed: vendor fix RHSA-2022:6963
-
Red Hat Enterprise Linux AppStream EUS (v.8.4) nodejs 14.21.3-1.module+el8.4.0+18317+43f5ac16, nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83, nodejs-nodemon 2.0.20-3.module+el8.4.0+18317+43f5ac16, npm 6.14.18-1.14.21.3.1.module+el8.4.0+18317+43f5ac16, nodejs-full-i18n 14.21.3-1.module+el8.4.0+18317+43f5ac16fixed: vendor fix RHSA-2023:1533
-
Red Hat Enterprise Linux AppStream EUS (v.8.6) nodejs 14.21.3-1.module+el8.6.0+18532+cbe6f646, nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83, nodejs-nodemon 2.0.20-3.module+el8.6.0+18532+cbe6f646, npm 6.14.18-1.14.21.3.1.module+el8.6.0+18532+cbe6f646, nodejs-full-i18n 14.21.3-1.module+el8.6.0+18532+cbe6f646fixed: vendor fix RHSA-2023:1742
-
Red Hat Software Collections for RHEL Workstation(v. 7) rh-nodejs14-nodejs 14.20.1-2.el7, rh-nodejs14-npm 6.14.17-14.20.1.2.el7 Red Hat Software Collections for RHEL(v. 7) rh-nodejs14-nodejs 14.20.1-2.el7, rh-nodejs14-npm 6.14.17-14.20.1.2.el7fixed: vendor fix RHSA-2022:7044
-
Red Hat Enterprise Linux 9 npm, nodejs, nodejs-libs, nodejs-full-i18n Red Hat Enterprise Linux AppStream (v. 9) nodejs-nodemon 2.0.20-2.el9_1not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-017-03 updated cvss 9.8
Siemens SINEC INS
-
Siemens SINEC INS <V1.0_SP2_Update_1affected: fixed in V1.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
2.76% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- hackerone.com https://hackerone.com/reports/1675191 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | node | >=14.0.0, <14.14.1 >=14.15.0, <14.20.1 >=16.0.0, <16.12.1 >=16.13.0, <16.17.1 >=18.0.0, <18.9.1 |
14.14.1 14.20.1 16.12.1 16.17.1 18.9.1 |
| bitnami | node-min | >=14.0.0, <14.14.1 >=14.15.0, <14.20.1 >=16.0.0, <16.12.1 >=16.13.0, <16.17.1 >=18.0.0, <18.9.1 |
14.14.1 14.20.1 16.12.1 16.17.1 18.9.1 |
Affected products
- NodeJS Node
Classification
- Weakness
-
- CWE-444 Inconsistent Interpretation of HTTP Requests
- Technology feeds
References
-
hackerone.com
/reports/1675191
exploit, issue-tracking, third-party-advisory, advisory
-
debian.org
/security/2023/dsa-5326
vendor-advisory, third-party-advisory, advisory
-
cert-portal.siemens.com
/productcert/pdf/ssa-332410.pdf
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-35256
web
Sources
- CVE List CVE-2022-35256
- NVD CVE-2022-35256
- OSV BIT-node-2022-35256
- OSV BIT-node-min-2022-35256
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.