CVE-2023-30581 Affecting nodejs-debugsource package, versions <1:18.12.1-1.amzn2023.0.7


Severity

Recommended
0.0
high
0
10

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-NODEJSDEBUGSOURCE-5788528
  • published20 Jul 2023
  • disclosed23 Nov 2023

Introduced: 20 Jul 2023

CVE-2023-30581  (opens in a new tab)

How to fix?

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

NVD Description

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

The use of proto in process.mainModule.proto.require() can bypass the policy mechanism and require modules outside of the policy.json definition. This vulnerability affects all users using the experimental policy mechanism in all active release lines: v16, v18 and, v20.

Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js

CVSS Scores

version 3.1