CVE Database›Document archive›CVE-2024-22018

CVE-2024-22018

nodejs: fs.lstat bypasses permission model

Loading…

Severity

Low

Red Hat Product Security

2.9

CVSS 3.0

Review impact separately from score.

Published · July 10, 2024

Updated · November 21, 2025

Description

A flaw was found in the Node.js package. 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 they do not have explicit read access to.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.0 · 2.9
CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

CWE not specified