ADVISORIES

Red Hat VEX

RHVEX-CVE-2024-36137

nodejs: fs.fchown/fchmod bypasses permission model

Low No fix available CVE-2024-36137

Details

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.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:10nodejs20
All versions, no fix (fix deferred)

References