CVE-2023-34188 Denial of service in n/a

High 7.5 Published Updated

An attacker can cause a denial of service in the Mongoose HTTP server by sending requests with negative Content-Length headers, leading to an infinite loop.

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

What is CVE-2023-34188?

CVE-2023-34188 is a high-severity denial of service vulnerability in Cesanta Mongoose, published on 23 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The HTTP server in Mongoose before 7.10 accepts requests containing negative Content-Length headers. By sending a single attack payload over TCP, an attacker can cause an infinite loop in which the server continuously reparses that payload, and does not respond to any other requests.

Weakness: CWE-1284

Which versions are affected by CVE-2023-34188?

It affects 1 product.

Products include Cesanta Mongoose.

How do I fix CVE-2023-34188?

Upgrade to a fixed version.

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-2023-34188 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-34188 exists.

All Cesanta Mongoose vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-34188, GHSA-pcw9-xw4x-jgj3, UBUNTU-CVE-2023-34188.

Is CVE-2023-34188 in your software?

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

Check your SBOMs for free