Skip to content
Fencer Vulns
medium 6.5

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 2022-12-05 3 y ago modified 2026-10-16 23 d 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

Vendor 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 more
    fixed: 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 more
    fixed: 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+43f5ac16
    fixed: 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+cbe6f646
    fixed: 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.el7
    fixed: 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_1
    not 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 SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

2.76% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).

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

Sources

Fencer Vulns 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.