CVE-2024-21896 The advisory has been revoked - it doesn't affect any version of package nodejs-full-i18n  (opens in a new tab)


Threat Intelligence

EPSS
1.26% (66th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY9-NODEJSFULLI18N-6835559
  • published11 May 2024
  • disclosed20 Feb 2024

Introduced: 20 Feb 2024

CVE-2024-21896  (opens in a new tab)

Amendment

The Rocky-Linux security team deemed this advisory irrelevant for Rocky-Linux:9.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs-full-i18n package and not the nodejs-full-i18n package as distributed by Rocky-Linux.

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.