Improper Privilege Management Affecting nodejs20 package, versions <1:20.11.1-1.amzn2023.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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 Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-NODEJS20-6393705
  • published6 Mar 2024
  • disclosed19 Mar 2024

Introduced: 6 Mar 2024

CVE-2024-22017  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs20 to version 1:20.11.1-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2024-544.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs20 package and not the nodejs20 package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

setuid() does not affect libuv's internal io_uring operations if initialized before the call to setuid(). This allows the process to perform privileged operations despite presumably having dropped such privileges through a call to setuid(). This vulnerability affects all users using version greater or equal than Node.js 18.18.0, Node.js 20.4.0 and Node.js 21.

CVSS Scores

version 3.1