CVE-2021-32640: ReDoS in Sec-Websocket-Protocol header
websockets · ws
Affected: websockets ws · Exploitation: possible (1 to 10%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 86% of scored CVEs
DescriptionCVE.org
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 ws@7.4.6 (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 products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- websockets · ws>= 5.0.0 <= 7.4.5
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Possible (1 to 10%). EPSS between 1% and 10%.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- websockets
- Published
- May 2021
- Bounty reports
- 1 disclosed on HackerOne
Disclosed bug bounty reports about CVE-2021-32640
The reports on HackerOne that name this CVE, with HackerOne's own outcome. Titles and metadata only.
- Regular Expression Denial of Service vulnerabilityReddit · 2022 · medium severityInformative
CoverageNo articles yet
No CyberSIXT article names CVE-2021-32640 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-400cwe.mitre.org
- github.com/websockets/ws/security/advisories/GHSA-6fc8-4gx4-v693github.com
- github.com/websockets/ws/commit/00c425ec77993773d823f018f64a5c44github.com
- security.netapp.com/advisory/ntap-20210706-0005security.netapp.com
- Mailing listlists.apache.org