Allocation of Resources Without Limits or Throttling Affecting nodejs/node package, versions [20.0.0,20.19.2)[22.0.0,22.15.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (20th 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 Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-NODEJSNODE-10670164
  • published9 Jul 2025
  • disclosed13 May 2025
  • creditJustin Nietzel

Introduced: 13 May 2025

CVE-2025-23165  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade nodejs/node to version 20.19.2, 22.15.1 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the ReadFileUtf8 internal binding, which fails to clean up pointers in uv_fs_s.file. UTF-16 path buffers leak memory, which can lead to denial of service.

Note:

CVE-2025-23122 is a duplicate of this vulnerability.

CVSS Base Scores

version 4.0
version 3.1