Bugzilla – Bug 1219994
VUL-0: CVE-2024-21896: nodejs20: Path traversal by monkey-patching Buffer internals
Last modified: 2024-06-06 12:19:43 UTC
https://nodejs.org/en/blog/vulnerability/february-2024-security-releases/ Path traversal by monkey-patching Buffer internals (CVE-2024-21896) - (High) 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. Impacts: This vulnerability affects all users using the experimental permission model in active release lines: 20.x and 21.x. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js. Thank you, to Tobias Nießen for reporting this vulnerability and for fixing it.
This is an autogenerated message for OBS integration: This bug (1219994) was mentioned in https://build.opensuse.org/request/show/1147152 Factory / nodejs20 https://build.opensuse.org/request/show/1147153 Factory / nodejs21
SUSE-SU-2024:0643-1: An update that solves 10 vulnerabilities and has one security fix can now be installed. Category: security (important) Bug References: 1219152, 1219724, 1219992, 1219993, 1219994, 1219995, 1219997, 1219998, 1219999, 1220014, 1220017 CVE References: CVE-2023-46809, CVE-2024-21890, CVE-2024-21891, CVE-2024-21892, CVE-2024-21896, CVE-2024-22017, CVE-2024-22019, CVE-2024-22025, CVE-2024-24758, CVE-2024-24806 Sources used: openSUSE Leap 15.5 (src): nodejs20-20.11.1-150500.11.6.1 Web and Scripting Module 15-SP5 (src): nodejs20-20.11.1-150500.11.6.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Fixed and released.