CVE-2024-42391 Use of Out-of-range Pointer Offset in Mongoose Web Server library
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
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-42391?
CVE-2024-42391 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, and only if a user opens a file or follows a link.
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-42391?
It affects 1 product.
Products include Cesanta Mongoose.
How do I fix CVE-2024-42391?
No fix has been published for CVE-2024-42391 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-42391 being exploited?
There is no known exploitation of CVE-2024-42391 in the wild and no public exploit code.
Other vulnerabilities in Cesanta Mongoose
Sources
Also known as GHSA-29wp-p54c-r4v7.