Memory Leak Affecting nodejs20-debugsource package, versions <1:20.19.2-1.amzn2023.0.1


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.04% (11th 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 Memory Leak vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-NODEJS20DEBUGSOURCE-10339941
  • published11 Jun 2025
  • disclosed15 May 2025

Introduced: 15 May 2025

CVE-2025-47279  (opens in a new tab)
CWE-401  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nodejs20-debugsource to version 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-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.

Undici is an HTTP/1.1 client for Node.js. Prior to versions 5.29.0, 6.21.2, and 7.5.0, applications that use undici to implement a webhook-like system are vulnerable. If the attacker set up a server with an invalid certificate, and they can force the application to call the webhook repeatedly, then they can cause a memory leak. This has been patched in versions 5.29.0, 6.21.2, and 7.5.0. As a workaound, avoid calling a webhook repeatedly if the webhook fails.

CVSS Base Scores

version 3.1