CVE-2020-7693 Denial of Service (DoS)

Medium 5.3 Published Updated

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.

PackageAffectedFixed in
sockjs npmAll versions0.3.20
sockjs npmAll versions0.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.

Sources

Also known as CLSA-2026-1776731780, CLSA-2026-1784856033, GHSA-c9g6-9335-x697.

Is CVE-2020-7693 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free