CVE-2024-22018 Affecting nodejs:20/nodejs-packaging package, versions <0:2021.06-4.module_el8.9.0+3775+d8460d35


Severity

Recommended
medium

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALMALINUX8-NODEJS-7833575
  • published26 Aug 2024
  • disclosed26 Aug 2024

Introduced: 26 Aug 2024

CVE-2024-22018  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 nodejs:20/nodejs-packaging to version 0:2021.06-4.module_el8.9.0+3775+d8460d35 or higher.
This issue was patched in ALSA-2024:5814.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:20/nodejs-packaging package and not the nodejs:20/nodejs-packaging package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is used. This flaw arises from an inadequate permission model that fails to restrict file stats through the fs.lstat API. As a result, malicious actors can retrieve stats from files that they do not have explicit read access to. This vulnerability affects all users using the experimental permission model in Node.js 20 and Node.js 21. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

CVSS Scores

version 3.1