CVE Database›Document archive›CVE-2024-36137

CVE-2024-36137

nodejs: fs.fchown/fchmod bypasses permission model

Loading…

Severity

Low

Red Hat Product Security

3.9

CVSS 3.1

Review impact separately from score.

Published · July 8, 2024

Updated · November 21, 2025

Description

A flaw was found in Node.js, affecting users of the experimental permission model when the --allow-fs-write flag is used. The Node.js Permission Model does 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.

Statement

This vulnerability is specific to the Permission Model, which is currently an experimental feature of Node.js.

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.1 · 3.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

CWE-732 · Incorrect Permission Assignment for Critical Resource