Lucene search

K
redhatcveRedhat.comRH:CVE-2024-21896
HistoryFeb 23, 2024 - 7:31 p.m.

CVE-2024-21896

2024-02-2319:31:46
redhat.com
access.redhat.com
18
cve-2024-21896
buffer.from
path.resolve
monkey-patching
permission model
vulnerability

7.9 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

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

7.6 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%

A flaw was found in Node.js. The permission model protects itself against path traversal attacks by calling path.resolve() on any paths given by the user. If the path is to be treated as a buffer, the implementation uses Buffer.from() to obtain a buffer from the result of path.resolve(). By monkey-patching buffer internals, namely, Buffer.prototype.utf8Write, the application can modify the result of path.resolve(), which leads to a path traversal vulnerability.

7.9 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

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

7.6 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.7%