CVE-2024-36137: Node.js - Permission Model Bypass
- Cve: CVE-2024-36137
- Name: Node.js - Permission Model Bypass
- 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.
- Impact: Attackers can modify file ownership and permissions, potentially leading to privilege escalation or unauthorized access.
- Remediation: Update to the latest Node.js version where this issue is fixed or avoid using the --allow-fs-write flag with the experimental permission model.
- Vulnerability type: misconfiguration
- Vulnerability impact: privilege_escalation
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 3.3
- Cvss vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.00395
- Epss percentile: 0.34447
- Assignee: [email protected]
- Published at: 2024-09-07T16:15:02Z
- Age in days: 808
- Modified at: 2026-06-17T07:36:10Z
- Patch available: yes
- References total: 2
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-36137
- Nvd status: deferred
- Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements
Hackerone
- Reports: 5
- Rank: 2538
References
| Url | Source | Tags |
|---|---|---|
| https://nodejs.org/en/blog/vulnerability/july-2024-security-releases | nvd | |
| https://security.netapp.com/advisory/ntap-20241122-0005/ | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nodejs:node.js | >= 22.0, < 22.4.1; >= 21.0, < 21.*; >= 20.0, < 20.15.1; >= 19.0, < 19.*; >= 17.0, < 17.*; >= 16.0, < 16.*; >= 15.0, < 15.*; >= 14.0, < 14.*; >= 13.0, < 13.*; >= 12.0, < 12.*; >= 11.0, < 11.*; >= 10.0, < 10.*; >= 9.0, < 9.*; >= 8.0, < 8.*; >= 7.0, < 7.*; >= 6.0, < 6.*; >= 5.0, < 5.*; >= 4.0, < 4.* | no | cna_alias | /v1/products/nodejs/node.js |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Hackerone reports: 5
- Exposed hosts: 3533194
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since