CVE-2020-7693 Denial of Service (DoS)
Attackers can crash containers hosting SockJS applications by sending a malformed Upgrade header, requiring an upgrade to the library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-7693?
CVE-2020-7693 is a medium-severity denial of service vulnerability in sockjs, published on 9 Jul 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Incorrect handling of Upgrade header with the value websocket leads in crashing of containers hosting sockjs apps. This affects the package sockjs before 0.3.20.
Weakness: CWE-755
Which versions are affected by CVE-2020-7693?
2 open source packages ship an affected version, including sockjs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sockjs npm | All versions | 0.3.20 |
sockjs npm | All versions | 0.3.20 |
Products include Sockjs Project Sockjs.
How do I fix CVE-2020-7693?
Upgrade sockjs to 0.3.20 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2020-7693 being exploited?
There is no known exploitation of CVE-2020-7693 in the wild and no public exploit code.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in sockjs
Sources
Also known as CLSA-2026-1776731780, CLSA-2026-1784856033, GHSA-c9g6-9335-x697.