CVE-2023-30582: fs.watchFile bypass in experimental permission model

Published Jun 20, 2023
·
Updated

A vulnerability has been identified in Node.js version 20, affecting users of the experimental permission model when the --allow-fs-read flag is used with a non- argument.

Other sources

Node.js could allow a remote attacker to bypass security restrictions, caused by the failure to restrict file watching through the fs.watchFile API. By sending a specially crafted request, an attacker could exploit this vulnerability to monitor restricted files.

— IBM

Affected Software

2 affected componentsFixes available
IBM Planning Analytics<=2.0
Node.js Node.js>=20.0.0<20.3.1
20.3.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 20.3.1

Event History

Jun 20, 2023
CVE Published
via Node.js·02:30 PM
Data Sourced
via Node.js·02:30 PM
DescriptionSeverityAffected Software
Sep 7, 2024
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
Description
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2023-30582?

The severity of CVE-2023-30582 is classified as high due to the potential for unauthorized file access.

2

How do I fix CVE-2023-30582?

To fix CVE-2023-30582, users should avoid using the --allow-fs-read flag with non-* arguments or upgrade to a secure version of Node.js.

3

Which versions of Node.js are affected by CVE-2023-30582?

CVE-2023-30582 affects Node.js version 20 that utilizes the experimental permission model.

4

What is the impact of CVE-2023-30582?

The impact of CVE-2023-30582 allows unauthorized access to file watching capabilities, compromising system security.

5

Is IBM Planning Analytics affected by CVE-2023-30582?

Yes, IBM Planning Analytics version 2.0 and below are affected by CVE-2023-30582 if using vulnerable Node.js setups.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203