CVE-2024-42386 Use of Out-of-range Pointer Offset in Mongoose Web Server library

High 8.2 Published Updated

An attacker can cause a segmentation fault and denial of service in the Mongoose Web Server library by sending a malformed TLS packet.

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

What is CVE-2024-42386?

CVE-2024-42386 is a high-severity memory corruption vulnerability in Cesanta Mongoose, published on 18 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Use of Out-of-range Pointer Offset vulnerability in Cesanta Mongoose Web Server v7.14 allows an attacker to send an unexpected TLS packet and produce a segmentation fault on the application.

Weakness: CWE-823

Which versions are affected by CVE-2024-42386?

It affects 1 product.

Products include Cesanta Mongoose.

How do I fix CVE-2024-42386?

No fix has been published for CVE-2024-42386 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-42386 being exploited?

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

All Cesanta Mongoose vulnerabilities

Sources

Also known as GHSA-gjfh-x4fj-rg67.

Is CVE-2024-42386 in your software?

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

Check your SBOMs for free