Lucene search

K
vulnrichmentHackeroneVULNRICHMENT:CVE-2024-22018
HistoryJul 10, 2024 - 1:00 a.m.

CVE-2024-22018

2024-07-1001:00:12
hackerone
github.com
8
node.js
experimental permission model
vulnerability
file stats
fs.lstat api
malicious actors
access restriction
node.js 20
node.js 21
experimental feature

CVSS3

2.9

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

AI Score

6.4

Confidence

Low

EPSS

0

Percentile

16.0%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is used.
This flaw arises from an inadequate permission model that fails to restrict file stats through the fs.lstat 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 and Node.js 21.
Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.

CNA Affected

[
  {
    "vendor": "Node.js",
    "product": "Node.js",
    "versions": [
      {
        "status": "affected",
        "version": "20.11.0",
        "versionType": "semver",
        "lessThanOrEqual": "20.11.0"
      },
      {
        "status": "affected",
        "version": "21.6.1",
        "versionType": "semver",
        "lessThanOrEqual": "21.6.1"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

CVSS3

2.9

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

AI Score

6.4

Confidence

Low

EPSS

0

Percentile

16.0%

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial