CVE-2026-21713

nodejs node

MEDIUM 5.9

En bref

Source
NVD
EPSS
EPSS 0.37 % · centile 30 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
hackerone
Statut NVD
Analyzed

Description

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**.

Faiblesses (CWE)

  • CWE-208 — Écart de temps observable

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.0MEDIUM 5.9CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:Nhackerone
CVSS 3.0MEDIUM 5.9CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NNVD · support@hackerone.com (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
nodejs · nodeaffected 20.20.1 ≤ 20.20.1 ; affected 22.22.1 ≤ 22.22.1 ; affected 24.14.0 ≤ 24.14.0 ; affected 25.8.1 ≤ 25.8.1 ; affected 4.0 < 4.* ; affected 5.0 < 5.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD