Critical Vulnerabilities in Node.js: Multiple Security Flaws Affecting Ubuntu Packages

nodejs Updated 03 Oct 2025

Summary

15/03/2021
N/A
Yes i
Unrated
Not published

USN-4796-1: nodejs vulnerabilities. Affects nodejs versions < 0.10.25~dfsg2-2ubuntu1.2+esm1. Fixed in 0.10.25~dfsg2-2ubuntu1.2+esm1. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Node.js is a powerful JavaScript runtime built on Chrome's V8 JavaScript engine, designed for building scalable network applications. It allows developers to use JavaScript for server-side scripting, enabling the creation of dynamic web pages. The affected versions of Node.js on Ubuntu include 0.10.25, 4.2.6, and 8.10.0, which have been found to contain several security vulnerabilities that can lead to severe consequences if exploited.

Vulnerability Detail

The vulnerabilities stem from improper handling of wildcards in X.509 TLS certificates, mishandling of NAPTR responses, and various issues with HTTP/HTTPS connections. These flaws can lead to machine-in-the-middle attacks, denial of service, and even remote code execution. Specific CVEs associated with these vulnerabilities include CVE-2016-7099, CVE-2017-1000381, CVE-2018-12115, CVE-2018-12116, CVE-2018-12122, CVE-2018-12123, CVE-2018-7160, CVE-2018-7167, and CVE-2019-5737.

How To Fix

Minimum fixed version

0.10.25~dfsg2-2ubuntu1.2+esm1

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

If immediate patching is not possible, consider implementing network-level protections such as firewalls to block malicious traffic or using a reverse proxy to filter requests. Additionally, ensure that your applications do not expose sensitive data and are configured to handle unexpected inputs safely.

Conclusion

The identified vulnerabilities in Node.js pose significant risks to applications running on Ubuntu. It is crucial to apply the necessary updates to mitigate these risks and ensure the security of your applications. Regular monitoring and proactive measures can help safeguard against potential exploits.

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 creation of scalable network applications.

Exploiting these vulnerabilities can lead to denial of service, remote code execution, and unauthorized access to sensitive data.

You can use Vulert, which monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

Implement network-level protections and ensure your applications are configured to handle unexpected inputs safely until you can apply the updates.

Detailed information can be found in the Ubuntu Security Notices and the respective CVE entries associated with each vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for nodejs.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

0.10.25~dfsg2-2ubuntu1.2+esm1

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