CVE-2021-32640
CVE-2021-32640 · ReDoS in Sec-Websocket-Protocol header
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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.
CVSS 5.3 · Mittel · EPSS 2,8% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system · node
Betroffene Produkte und Versionen
ws
- Softwareversionen
- >= 5.0.0 <= 7.4.5: Betroffen
Keine Korrektur veröffentlicht
node-ws Debian:12
- Betroffene Versionsbereiche
- ECOSYSTEM: < 7.4.2+~cs18.0.8-2
Auf 7.4.2+~cs18.0.8-2 aktualisieren
node-ws Debian:13
- Betroffene Versionsbereiche
- ECOSYSTEM: < 7.4.2+~cs18.0.8-2
Auf 7.4.2+~cs18.0.8-2 aktualisieren
node-ws Debian:14
- Betroffene Versionsbereiche
- ECOSYSTEM: < 7.4.2+~cs18.0.8-2
Auf 7.4.2+~cs18.0.8-2 aktualisieren
ws npm
- Betroffene Versionsbereiche
- SEMVER: ≥ 7.0.0, < 7.4.6
Auf 7.4.6 aktualisieren
ws npm
- Betroffene Versionsbereiche
- SEMVER: ≥ 6.0.0, < 6.2.2
Auf 6.2.2 aktualisieren
ws npm
- Betroffene Versionsbereiche
- SEMVER: ≥ 5.0.0, < 5.2.3
Auf 5.2.3 aktualisieren
node-ws Ubuntu:16.04:LTS
- Softwareversionen
- 0.7.2+ds1.349b7460-1
- 1.0.1+ds1.e6ddaae4-1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
node-ws Ubuntu:18.04:LTS
- Softwareversionen
- 1.1.0+ds1.e6ddaae4-3build1
- 1.1.0+ds1.e6ddaae4-3ubuntu1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
node-ws Ubuntu:20.04:LTS
- Softwareversionen
- 1.1.0+ds1.e6ddaae4-5
- 7.2.1-2
- 7.2.1-3
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
node-ws Ubuntu:22.04:LTS
- Softwareversionen
- 7.4.2+~cs18.0.8-2
- 7.5.5+~cs13.0.13-1
- 8.5.0+~cs13.3.3-2
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
Originalquellen
- https://github.com/websockets/ws/security/advisories/GHSA-6fc8-4gx4-v693
- https://github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44e17023ff
- https://lists.apache.org/thread.html/rdfa7b6253c4d6271e31566ecd5f30b7ce1b8fb2c89d52b8c4e0f4e30%40%3Ccommits.tinkerpop.apache.org%3E
- https://security.netapp.com/advisory/ntap-20210706-0005/
- https://nvd.nist.gov/vuln/detail/CVE-2021-32640