External Control of File Name or Path Affecting nodejs package, versions <1:18.12.1-1.amzn2023.0.2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (28th 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-3348482
  • published7 Mar 2023
  • disclosed14 Jul 2022

Introduced: 14 Jul 2022

CVE-2022-32222  (opens in a new tab)
CWE-73  (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.

A cryptographic vulnerability exists on Node.js on linux in versions of 18.x prior to 18.40.0 which allowed a default path for openssl.cnf that might be accessible under some circumstances to a non-admin user instead of /etc/ssl as was the case in versions prior to the upgrade to OpenSSL 3.

CVSS Scores

version 3.1