openEuler Security Advisory
OESA-2025-1520
nodejs security update
Details
Node.js is an open-source, cross-platform, JavaScript runtime environment, it executes JavaScript code outside of a browser.
Security Fix(es):
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.(CVE-2024-36137)
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| openEuler:24.03-LTS-SP1 | nodejs | All versions before 20.18.2-2.oe2403sp1 (fixed in 20.18.2-2.oe2403sp1) |