Lucene search

K
cve[email protected]CVE-2024-21892
HistoryFeb 20, 2024 - 2:15 a.m.

CVE-2024-21892

2024-02-2002:15:50
web.nvd.nist.gov
131
linux
node.js
cve-2024-21892
privilege elevation
bug
code injection
nvd

7.5 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

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

7.3 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.6%

On Linux, Node.js ignores certain environment variables if those may have been set by an unprivileged user while the process is running with elevated privileges with the only exception of CAP_NET_BIND_SERVICE.
Due to a bug in the implementation of this exception, Node.js incorrectly applies this exception even when certain other capabilities have been set.
This allows unprivileged users to inject code that inherits the processโ€™s elevated privileges.

CNA Affected

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

7.5 High

CVSS3

Attack Vector

LOCAL

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

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

7.3 High

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

15.6%