Moderate: nodejs:20 security update

nodejs Updated 02 Oct 2025

Summary

26/08/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:5814: Moderate: nodejs:20 security update. Affects nodejs versions < 1:20.16.0-1.module_el8.10.0+3882+e12e42db. Fixed in 1:20.16.0-1.module_el8.10.0+3882+e12e42db. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Node.js is a software development platform for building fast and scalable network applications in the JavaScript programming language. It is widely used for server-side and networking applications due to its event-driven architecture and non-blocking I/O model. Node.js allows developers to write JavaScript code that runs on the server, enabling efficient and high-performance application development.

Vulnerability Detail

This security update addresses multiple vulnerabilities in the Node.js package. The vulnerabilities include:

  1. Denial of service vulnerability in node-tar: This vulnerability allows an attacker to cause a denial of service by providing a specially crafted tar file that triggers a parsing error due to a lack of folders depth validation.

  2. Bypass network import restriction via data URL: This vulnerability allows an attacker to bypass network import restrictions by using a data URL to import malicious code.

  3. Bypass permission model in fs.lstat: This vulnerability allows an attacker to bypass the permission model in the fs.lstat function, potentially leading to unauthorized access to files.

  4. Bypass permission model in fs.fchown/fchmod: This vulnerability allows an attacker to bypass the permission model in the fs.fchown and fs.fchmod functions, potentially leading to unauthorized modification of file permissions.

These vulnerabilities can be exploited by remote attackers to cause denial of service, bypass security restrictions, and gain unauthorized access or modify file permissions.

How To Fix

Minimum fixed version

1:20.16.0-1.module_el8.10.0+3882+e12e42db

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 →

Workaround

There are no mentioned workarounds for these vulnerabilities.

Conclusion

Node.js is a popular software development platform used for building network applications. This security update addresses multiple vulnerabilities that could be exploited by remote attackers. It is crucial to update the affected Node.js package to the recommended version to ensure the security and integrity of the applications built using Node.js.

See every vulnerability recorded for nodejs →

Share this vulnerability

FAQ

Node.js is a software development platform for building fast and scalable network applications in the JavaScript programming language.

The vulnerabilities addressed in this security update include a denial of service vulnerability in node-tar, a bypass network import restriction vulnerability via data URL, and two bypass permission model vulnerabilities in fs.lstat and fs.fchown/fchmod.

These vulnerabilities can be exploited by remote attackers to cause denial of service, bypass security restrictions, and gain unauthorized access or modify file permissions.

To fix these vulnerabilities, it is recommended to update the affected Node.js package to version 20.16.0-1.module_el8.10.0+3882+e12e42db or later.

There are no mentioned workarounds for these vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for nodejs.

How To Fix

Minimum fixed version

1:20.16.0-1.module_el8.10.0+3882+e12e42db

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