CVE-2017-2921 Integer overflow in Mongoose

High 8.1 Published Updated

A remote attacker can trigger a heap buffer overflow via a crafted WebSocket packet, causing denial of service or potential remote code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-2921?

CVE-2017-2921 is a high-severity vulnerability in Cesanta Mongoose, published on 7 Nov 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An exploitable memory corruption vulnerability exists in the Websocket protocol implementation of Cesanta Mongoose 6.8. A specially crafted websocket packet can cause an integer overflow, leading to a heap buffer overflow and resulting in denial of service and potential remote code execution. An attacker needs to send a specially crafted websocket packet over network to trigger this vulnerability.

Weakness: CWE-190

Which versions are affected by CVE-2017-2921?

It affects 1 product.

Products include Cesanta Mongoose.

How do I fix CVE-2017-2921?

Upgrade to a fixed version.

Is CVE-2017-2921 being exploited?

There is no known exploitation of CVE-2017-2921 in the wild and no public exploit code.

All Cesanta Mongoose vulnerabilities

Sources

Also known as DEBIAN-CVE-2017-2921, GHSA-5xj4-7qf8-2g46.

Is CVE-2017-2921 in your software?

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

Check your SBOMs for free