Uncontrolled Search Path Element Affecting nodejs package, versions <1:18.12.1-1.amzn2023.0.2


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.05% (25th 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 IDSNYK-AMZN2023-NODEJS-3348492
  • published7 Mar 2023
  • disclosed14 Jul 2022

Introduced: 14 Jul 2022

CVE-2022-32223  (opens in a new tab)
CWE-427  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs to version 1:18.12.1-1.amzn2023.0.2 or higher.
This issue was patched in ALAS2023-2023-084.

NVD Description

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

Node.js is vulnerable to Hijack Execution Flow: DLL Hijacking under certain conditions on Windows platforms.This vulnerability can be exploited if the victim has the following dependencies on a Windows machine:* OpenSSL has been installed and “C:\Program Files\Common Files\SSL\openssl.cnf” exists.Whenever the above conditions are present, node.exe will search for providers.dll in the current user directory.After that, node.exe will try to search for providers.dll by the DLL Search Order in Windows.It is possible for an attacker to place the malicious file providers.dll under a variety of paths and exploit this vulnerability.

CVSS Scores

version 3.1