2.9
Advisory Published
Updated

CVE-2024-22018

First published: Wed Jul 10 2024(Updated: )

A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is used. This flaw arises from an inadequate permission model that fails to restrict file stats through the fs.lstat API. As a result, malicious actors can retrieve stats from files that they do not have explicit read access to. 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.

Credit: support@hackerone.com

Affected SoftwareAffected VersionHow to fix
IBM Planning Analytics<=2.1
IBM Planning Analytics<=2.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

  • What is the severity of CVE-2024-22018?

    The severity of CVE-2024-22018 is categorized as medium due to its impact on the file permission model.

  • How do I fix CVE-2024-22018?

    To fix CVE-2024-22018, users should avoid using the --allow-fs-read flag in Node.js or update to a patched version that addresses the vulnerability.

  • Who is affected by CVE-2024-22018?

    CVE-2024-22018 specifically affects users of Node.js who utilize the experimental permission model and the --allow-fs-read flag.

  • What components are impacted by CVE-2024-22018?

    CVE-2024-22018 impacts the fs.lstat API, allowing unauthorized access to file statistics.

  • Are there any workarounds for CVE-2024-22018?

    A workaround for CVE-2024-22018 is to refrain from using the experimental permission model features until a fix is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203