CVE-2023-32005: fs.statfs can retrieve stats from files restricted by the Permission Model

Published Aug 9, 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 obtain sensitive information, caused by the failure to restrict file stats through the fs.statfs API in the permission model. By using the --allow-fs-read flag with a non- argument, an attacker could exploit this vulnerability to retrieve stats from files that they do not have explicit read access to.

— IBM

Affected Software

4 affected componentsFixes available
IBM Planning Analytics<=2.0
Nodejs Node.js>=20.0.0<=20.6.1
Nodejs Node.js>=20.0.0<20.5.1
Node.js Node.js>=20.0.0<20.5.1
20.5.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.5.1

Event History

Aug 9, 2023
CVE Published
via Node.js·02:30 PM
Data Sourced
via Node.js·02:30 PM
DescriptionSeverityAffected Software
Sep 12, 2023
CVE Published
via MITRE·01:36 AM
Data Sourced
via MITRE·01:36 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID?

The vulnerability ID is CVE-2023-32005.

2

Which version of Node.js is affected by this vulnerability?

Node.js version 20 is affected.

3

What is the severity level of CVE-2023-32005?

The severity level of CVE-2023-32005 is medium with a score of 5.3.

4

How does this vulnerability affect Node.js users?

This vulnerability affects users of the experimental permission model when the --allow-fs-read flag is used with a non-* argument.

5

How can I fix the vulnerability in Node.js version 20?

To fix the vulnerability in Node.js version 20, you should update to a version higher than 20.6.1.

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