{"id":"UBUNTU-CVE-2024-36137","details":"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.","modified":"2025-07-16T07:47:19.978819Z","published":"2024-09-07T16:15:00Z","withdrawn":"2025-07-18T16:58:13Z","upstream":["CVE-2024-36137"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-36137"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-36137"},{"type":"REPORT","url":"https://nodejs.org/en/blog/vulnerability/july-2024-security-releases#fsfchownfchmod-bypasses-permission-model-cve-2024-36137---low"},{"type":"REPORT","url":"https://github.com/nodejs/node/commit/93574335ffa8ef9efc0a47a6c142ea858bce49d9"}],"affected":[{"package":{"name":"nodejs","ecosystem":"Ubuntu:25.04","purl":"pkg:deb/ubuntu/nodejs@20.16.0+dfsg-1ubuntu1?arch=source&distro=plucky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"20.16.0+dfsg-1ubuntu1"}]}],"ecosystem_specific":{"binaries":[{"binary_name":"libnode-dev","binary_version":"20.16.0+dfsg-1ubuntu1"},{"binary_version":"20.16.0+dfsg-1ubuntu1","binary_name":"libnode115"},{"binary_name":"libnode115-dbgsym","binary_version":"20.16.0+dfsg-1ubuntu1"},{"binary_name":"nodejs","binary_version":"20.16.0+dfsg-1ubuntu1"},{"binary_name":"nodejs-dbgsym","binary_version":"20.16.0+dfsg-1ubuntu1"},{"binary_name":"nodejs-doc","binary_version":"20.16.0+dfsg-1ubuntu1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-36137.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}