Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-32005 EUVD-2023-36293GHSA-6hjf-ffg5-v8w7

A vulnerability has been identified in Node.js version 20, affecting users of the experimental permission model when the --allow-fs-read fl…

Published Sep 12, 2023 · Updated May 5, 2025 · Assigned by hackerone

Description

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.

This flaw arises from an inadequate permission model that fails to restrict file stats through the `fs.statfs` 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.

Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

Affected products

VendorProductAffectedFixed
NodeJS Node 4.0 – < 4.*, 5.0 – < 5.*, 6.0 – < 6.*, 7.0 – < 7.*, 8.0 – < 8.*, 9.0 – < 9.*, 10.0 – < 10.*, 11.0 – < 11.*, 12.0 – < 12.*, 13.0 – < 13.*, 14.0 – < 14.*, 15.0 – < 15.*, 17.0 – < 17.*, 19.0 – < 19.*, 20.0 – < 20.5.1 4.*

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed nodejs20 20.5.1-1.1 openSUSE-SU-2024:13117-1

Advisories 8

References