CVE-2024-36137
JSON

3.3low

A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-write flag is used.

Severity
3.3low CVSS:3.0 by hackerone
Exploit likelihood
0.38% (higher than 34% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
BIT-NODE-2024-36137BIT-NODE-MIN-2024-36137

Description

A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-write flag is used. Node.js Permission Model do not operate on file descriptors, however, operations such as fs.fchown or fs.fchmod can use a "read-only" file descriptor to change the owner and permissions of a file.

Affected

Product or packageVersionsReported by
NodeJS Nodefrom 4.0 before 4.*, from 5.0 before 5.*, from 6.0 before 6.*, from 7.0 before 7.*, from 8.0 before 8.*, from 9.0 before 9.*, from 10.0 before 10.*, from 11.0 before 11.* and 10 moreCVE List
node (Bitnami)from 20.0.0 before 20.15.1, from 21.0.0 before 22.4.1Bitnami Vulnerability Database
node-min (Bitnami)from 20.0.0 before 20.18.1, from 21.0.0 before 22.12.0Bitnami Vulnerability Database

All scores

hackerone3.3low CVSS:3.0CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Bitnami Vulnerability Databaselow rating

Classification

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-write flag is used. Node.js Permission Model do not operate on file descriptors, however, operations such as fs.fchown or fs.fchmod can use a "read-only" file descriptor to change the owner and permissions of a file.

NVD (es)

Se ha identificado una vulnerabilidad en Node.js que afecta a los usuarios del modelo de permisos experimental cuando se utiliza el indicador --allow-fs-write. El modelo de permisos de Node.js no funciona con descriptores de archivos; sin embargo, operaciones como fs.fchown o fs.fchmod pueden utilizar un descriptor de archivos de "solo lectura" para cambiar el propietario y los permisos de un archivo.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-36137 changed 2025-04-30CVE Terms of Use
NVDCVE-2024-36137 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-NODE-2024-36137 changed 2025-04-03Apache-2.0
Bitnami Vulnerability DatabaseBIT-NODE-MIN-2024-36137 changed 2025-04-03Apache-2.0