Critical Vulnerabilities in Node.js Package Affecting Ubuntu 22.04 LTS

nodejs Updated 03 Oct 2025

Summary

30/10/2023
N/A
Yes i
Unrated
Not published

USN-6457-1: nodejs vulnerabilities. Affects nodejs versions < 12.22.9~dfsg-1ubuntu3.1. Fixed in 12.22.9~dfsg-1ubuntu3.1. 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 popular JavaScript runtime built on Chrome's V8 JavaScript engine, allowing developers to build scalable network applications. It is widely used for server-side development and has a rich ecosystem of libraries and frameworks. However, recent vulnerabilities have been discovered that could compromise the security of applications using Node.js on Ubuntu 22.04 LTS.

Vulnerability Detail

Multiple vulnerabilities have been identified in Node.js, including improper handling of certain inputs that could allow remote attackers to execute arbitrary code or cause a denial of service. These vulnerabilities stem from flaws in the input processing mechanisms of Node.js, making it susceptible to crafted input files. The specific CVEs associated with these vulnerabilities are CVE-2022-0778, CVE-2022-1292, CVE-2022-2068, and CVE-2022-2097.

How To Fix

Minimum fixed version

12.22.9~dfsg-1ubuntu3.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade nodejs

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

Workaround

As a temporary measure, avoid opening untrusted input files with Node.js until the package is updated. Implement strict input validation in your applications to mitigate the risk of exploitation.

Conclusion

The vulnerabilities in Node.js pose significant risks to applications running on Ubuntu 22.04 LTS. It is crucial to update to the latest patched version to safeguard against potential exploits. Utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for nodejs →

Share this vulnerability

FAQ

Node.js is a JavaScript runtime that allows developers to run JavaScript on the server side, enabling the development of scalable network applications.

The vulnerabilities could allow remote attackers to execute arbitrary code or cause a denial of service, potentially compromising the security and availability of applications.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Simply upload your manifest file like package-lock.json to check for vulnerabilities.

While the best solution is to update to the patched version, you can temporarily avoid opening untrusted input files and implement strict input validation.

Detailed information can be found in the Ubuntu Security Notices, specifically USN-6457-1, which outlines the vulnerabilities and their implications.

Related vulnerabilities

Recent vulnerabilities recorded for nodejs.

How To Fix

Minimum fixed version

12.22.9~dfsg-1ubuntu3.1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade 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