Node.js Vulnerability in Ubuntu Packages: CVE-2024-37372 - Path Handling Flaw

nodejs Updated 03 Oct 2025

Summary

09/01/2025
N/A
No i
Low
3.6

UBUNTU-CVE-2024-37372: The Permission Model assumes that any path starting with two backslashes \ has a four-character prefix that can be ignored, which is not always true. Affects nodejs versions 0.10.15~dfsg1-4 – 0.10.25~dfsg2-2ubuntu1.2+esm2. No fix is published. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Node.js is a popular open-source JavaScript runtime built on Chrome's V8 JavaScript engine. It enables developers to build scalable network applications. The affected versions in Ubuntu include nodejs from various LTS releases, which are widely used in server-side applications. This vulnerability affects the permission model of Node.js, potentially leading to security issues in applications relying on path handling.

Vulnerability Detail

The vulnerability arises from a flaw in the Permission Model of Node.js, which incorrectly assumes that any path starting with two backslashes () has a four-character prefix that can be ignored. This assumption is not always valid, leading to edge cases where unauthorized access may occur. The ramifications include potential exposure of sensitive data or unauthorized actions being performed by attackers, making it critical to address this issue promptly.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, avoid using paths that start with two backslashes in your applications until the package is updated. Review your codebase for any instances of such paths and modify them accordingly.

Conclusion

CVE-2024-37372 is a significant vulnerability affecting multiple versions of Node.js in Ubuntu. It is crucial for developers to update their packages and review their code to mitigate potential risks associated with this flaw. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for nodejs →

Share this vulnerability

FAQ

CVE-2024-37372 is a vulnerability in Node.js that affects the permission model related to path handling, potentially allowing unauthorized access.

Affected versions include nodejs from Ubuntu LTS releases 14.04, 16.04, 18.04, 20.04, 22.04, 24.04, and 25.04.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

If an immediate update is not possible, implement the suggested workaround by avoiding paths that start with two backslashes in your code.

The CVSS score for CVE-2024-37372 is 3.6, indicating a medium severity level.

Related vulnerabilities

Recent vulnerabilities recorded for nodejs.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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