Authorization Bypass Affecting node package, versions [,20.15.1)[22.0.0,22.4.1)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authorization Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UPSTREAM-NODE-7430909
  • published9 Jul 2024
  • disclosed9 Jul 2024
  • credithaxatron1

Introduced: 9 Jul 2024

CVE-2024-22018  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

Upgrade node to version 20.15.1, 22.4.1 or higher.

Overview

node is a JavaScript runtime built on Chrome's V8 JavaScript engine.

Affected versions of this package are vulnerable to Authorization Bypass due to a failure to restrict file stats through the fs.lstat API that allows attackers to retrieve stats from files to which they do not have explicit read access.

Note: This is exploitable only for users of the experimental permission model when the --allow-fs-read flag is used.

CVSS Base Scores

version 4.0
version 3.1