> CVE-2021-32640 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2021-05-25 19:15
MODIFIED
2024-11-21 06:07
CVSS_SCORE V3
5.3
EPSS (Prob. Exploit)
2.82%
Top 13.3%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-17 OSV 🔗 2026-11-15

> DESCRIPTION

ws is an open source WebSocket client and server library for Node.js. A specially crafted value of the `Sec-Websocket-Protocol` header can be used to significantly slow down a ws server. The vulnerability has been fixed in [email protected] (https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff). In vulnerable versions of ws, the issue can be mitigated by reducing the maximum allowed length of the request headers using the [`--max-http-header-size=size`](https://nodejs.org/api/cli.html#cli_max_http_header_size_size) and/or the [`maxHeaderSize`](https://nodejs.org/api/http.html#http_http_createserver_options_requestlistener) options.

> AFFECTED_PRODUCTS

Ws Project - Ws
>= 5.0.0 < 6.2.2
Ws Project - Ws
>= 7.0.0 < 7.4.6

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
Low
Interruption partielle du service possible

> RED HAT SECURITY ADVISORIES

Red Hat Security Advisory: Red Hat OpenShift Data Foundation 5.0.0 security, enhancement & bug fix update
Red Hat OpenShift Data Foundation 5.0.0 security, enhancement & bug fix update

> GITHUB SECURITY ADVISORY

GHSA-6fc8-4gx4-v693 MODERATE

ReDoS in Sec-Websocket-Protocol header

AFFECTED PACKAGES:
NPM / ws
>= 5.0.0, < 5.2.3
Fixed in: 5.2.3
NPM / ws
>= 6.0.0, < 6.2.2
Fixed in: 6.2.2
NPM / ws
>= 7.0.0, < 7.4.6
Fixed in: 7.4.6

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

AFFECTED PACKAGES:
Unknown / Unknown
32 versions affected
ALIASES:
GHSA-6fc8-4gx4-v693

> HISTORIQUE DES MODIFICATIONS

Première apparition
25/05/2021 19:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:27
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME