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

Medium 5.3 Published Updated

An attacker can send a malicious TLS packet to trigger an out-of-range pointer offset, causing the application to read unintended heap memory.

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-42389?

CVE-2024-42389 is a medium-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 force the application to read unintended heap memory space.

Weakness: CWE-823

Which versions are affected by CVE-2024-42389?

It affects 1 product.

Products include Cesanta Mongoose.

How do I fix CVE-2024-42389?

No fix has been published for CVE-2024-42389 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-42389 being exploited?

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

All Cesanta Mongoose vulnerabilities

Sources

Also known as GHSA-wp87-pj42-93xr.

Is CVE-2024-42389 in your software?

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

Check your SBOMs for free