CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2024 · Nodejs

CVE-2024-21891
Nodejs Node.js vulnerability

Node.js depends on multiple built-in utility functions to normalize paths provided to node:fs functions, which can be overwitten with user-defined implementations leading to filesystem permission model bypass through path traversal attack. 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.

Affected products

Node.js. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Nodejs Node.js runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Nodejs products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.