Information Exposure Affecting nodejs20-debugsource package, versions <1:20.20.2-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.02% (6th 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-NODEJS20DEBUGSOURCE-16067351
  • published15 Apr 2026
  • disclosed30 Mar 2026

Introduced: 30 Mar 2026

NewCVE-2026-21713  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs20-debugsource to version 1:20.20.2-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1577.

NVD Description

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

A flaw in Node.js HMAC verification uses a non-constant-time comparison when validating user-provided signatures, potentially leaking timing information proportional to the number of matching bytes. Under certain threat models where high-resolution timing measurements are possible, this behavior could be exploited as a timing oracle to infer HMAC values.

Node.js already provides timing-safe comparison primitives used elsewhere in the codebase, indicating this is an oversight rather than an intentional design decision.

This vulnerability affects 20.x, 22.x, 24.x, and 25.x.

CVSS Base Scores

version 3.1