Advisory

DEBIAN-CVE-2021-32640

Also known as: CVE-2021-32640

Summary

The record has no summary.

Details

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` and/or the `maxHeaderSize` options.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Dates

Published
2021-05-25 19:15 UTC
Modified
2026-10-23 18:03 UTC

Affected packages and fixes

node-ws

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 7.4.2+~cs18.0.8-2 (ecosystem)

Fixed versions

7.4.2+~cs18.0.8-2

Fix

  • Fixed version 7.4.2+~cs18.0.8-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-ws

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 7.4.2+~cs18.0.8-2 (ecosystem)

Fixed versions

7.4.2+~cs18.0.8-2

Fix

  • Fixed version 7.4.2+~cs18.0.8-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

node-ws

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 7.4.2+~cs18.0.8-2 (ecosystem)

Fixed versions

7.4.2+~cs18.0.8-2

Fix

  • Fixed version 7.4.2+~cs18.0.8-2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences