Important: Node.js Security Update - Weak Randomness and HTTP Request Smuggling

nodejs Updated 02 Oct 2025

Summary

17/10/2022
N/A
Yes i
High
8.2

RLSA-2022:6963: Important: nodejs security update. Affects nodejs versions < 1:16.17.1-1.el9_0. Fixed in 1:16.17.1-1.el9_0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Node.js is a software development platform that allows developers to build fast and scalable network applications using JavaScript. It is widely used for server-side and networking applications. The vulnerability affects the Node.js package in Rocky Linux 9. Node.js version 16.17.1 is being released to address the security issues.

Vulnerability Detail

The vulnerability includes two security issues:

  1. Weak Randomness in WebCrypto Keygen (CVE-2022-35255): This vulnerability allows an attacker to exploit weak randomness in the WebCrypto key generation process. This can lead to the generation of predictable keys, compromising the security of cryptographic operations.

  2. HTTP Request Smuggling due to Incorrect Parsing of Header Fields (CVE-2022-35256): This vulnerability arises from incorrect parsing of header fields in HTTP requests. An attacker can manipulate the header fields to bypass security measures, potentially leading to unauthorized access or data leakage.

How To Fix

Minimum fixed version

1:16.17.1-1.el9_0

This is the first release that contains the fix.

sudo dnf update nodejs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

Node.js version 16.17.1 addresses the vulnerabilities related to weak randomness in WebCrypto keygen and incorrect parsing of header fields in HTTP requests. It is recommended to update the Node.js package to the latest version to ensure the security of your applications. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for nodejs →

Share this vulnerability

FAQ

Node.js is a software development platform for building network applications using JavaScript.

CVE-2022-35255 can lead to the generation of predictable cryptographic keys, compromising the security of cryptographic operations.

CVE-2022-35256 can allow attackers to manipulate header fields in HTTP requests, potentially bypassing security measures and gaining unauthorized access or leaking data.

You can update the Node.js package by running the command 'sudo yum update nodejs'.

You can find more information about these vulnerabilities on the CVE pages: CVE-2022-35255 and CVE-2022-35256.

Related vulnerabilities

Recent vulnerabilities recorded for nodejs.

How To Fix

Minimum fixed version

1:16.17.1-1.el9_0

This is the first release that contains the fix.

sudo dnf update nodejs

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback