node is vulnerable to Missing Authorization
33
CVE Score
Low
Missing Authorization
fs.realpathSync calls lstat on each component of a path and does not check Permission Model read access first. fs.realpathSync.native, fs.promises.realpath, and fs.lstatSync already deny the same blocked path. A missing file and a denied file fail differently, so a caller can learn whether a blocked path exists. The fix denies the resolved path before those lstat calls unless read access is granted.
Upgrade the node and/or the nodejs library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and the process runs with the Permission Model enabled.
20.11.0 - 22.23.3
Fixed in 22.23.423.0.0 - 24.22.0
Fixed in 24.22.125.0.0 - 26.12.0
Fixed in 26.12.1node is vulnerable to Missing Authorization in versions 20.11.0 - 22.23.3, 23.0.0 - 24.22.0 and 25.0.0 - 26.12.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.