Uncaught Exception Affecting nodejs20-npm package, versions <1:10.8.2-1.20.19.2.1.amzn2023.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.09% (27th 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 Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-NODEJS20NPM-10339839
  • published11 Jun 2025
  • disclosed19 May 2025

Introduced: 19 May 2025

CVE-2025-23166  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs20-npm to version 1:10.8.2-1.20.19.2.1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2025-1010.

NVD Description

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

The C++ method SignTraits::DeriveBits() may incorrectly call ThrowException() based on user-supplied inputs when executing in a background thread, crashing the Node.js process. Such cryptographic operations are commonly applied to untrusted inputs. Thus, this mechanism potentially allows an adversary to remotely crash a Node.js runtime.

CVSS Base Scores

version 3.1