Reversible One-Way Hash Affecting nodejs:20/nodejs package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.02% (5th 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 Reversible One-Way Hash vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL8-NODEJS-15893437
  • published4 Apr 2026
  • disclosed30 Mar 2026

Introduced: 30 Mar 2026

NewCVE-2026-21717  (opens in a new tab)
CWE-328  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:8 nodejs:20/nodejs.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nodejs:20/nodejs package and not the nodejs:20/nodejs package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

A flaw in V8's string hashing mechanism causes integer-like strings to be hashed to their numeric value, making hash collisions trivially predictable. By crafting a request that causes many such collisions in V8's internal string table, an attacker can significantly degrade performance of the Node.js process.

The most common trigger is any endpoint that calls JSON.parse() on attacker-controlled input, as JSON parsing automatically internalizes short strings into the affected hash table.

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

CVSS Base Scores

version 3.1