Release Date: | 2024-02-19 |
The permission model protects itself against path traversal attacks by calling path.resolve() on any paths given by the user. If the path is to be treated as a Buffer, the implementation uses Buffer.from() to obtain a Buffer from the result of path.resolve(). By monkey-patching Buffer internals, namely, Buffer.prototype.utf8Write, the application can modify the result of path.resolve(), which leads to a path traversal vulnerability. This vulnerability affects all users using the experimental permission model in Node.js 20 and Node.js 21. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
See more information about CVE-2024-21896 from MITRE CVE dictionary and NIST NVD
NOTE: The following CVSS v3.0 metrics and score provided are preliminary and subject to review.
Base Score: | 7.9 | Base Metrics: | AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
Access Vector: | Local network | Attack Complexity: | Low |
Privileges Required: | Low | User Interaction: | Required |
Scope: | Changed | Confidentiality Impact: | High |
Integrity Impact: | High | Availability Impact: | None |
Platform | Errata | Release Date |
Oracle Linux version 8 (nodejs) | ELSA-2024-1687 | 2024-04-08 |
Oracle Linux version 8 (nodejs-nodemon) | ELSA-2024-1687 | 2024-04-08 |
Oracle Linux version 8 (nodejs-packaging) | ELSA-2024-1687 | 2024-04-08 |
Oracle Linux version 9 (nodejs) | ELSA-2024-1688 | 2024-04-08 |
Oracle Linux version 9 (nodejs-nodemon) | ELSA-2024-1688 | 2024-04-08 |
Oracle Linux version 9 (nodejs-packaging) | ELSA-2024-1688 | 2024-04-08 |
This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections please contact the Oracle Linux ULN team