Vulnerability
CVE-2024-36137
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.
29 advisories report this vulnerability, across 15 ecosystems.
Advisories in Red Hat
-
RHSA-2024:5814
Red Hat Security Advisory: nodejs:20 security update
-
RHSA-2024:5815
Red Hat Security Advisory: nodejs:20 security update
-
RHVEX-CVE-2024-36137
nodejs: fs.fchown/fchmod bypasses permission model