CVE-2024-21891

high

Description

Node.js depends on multiple built-in utility functions to normalize paths provided to node:fs functions, which can be overwitten with user-defined implementations leading to filesystem permission model bypass through path traversal attack. 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.

References

https://www.cisa.gov/news-events/ics-advisories/icsa-24-319-08

https://security.netapp.com/advisory/ntap-20240315-0005/

https://hackerone.com/reports/2259914

http://www.openwall.com/lists/oss-security/2024/03/11/1

Details

Source: Mitre, NVD

Published: 2024-02-20

Updated: 2024-05-01

Risk Information

CVSS v2

Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 7.9

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Severity: High