CVE-2024-42388 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
- Not needed
- Fix
- None listed
What is CVE-2024-42388?
CVE-2024-42388 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-42388?
It affects 1 product.
Products include Cesanta Mongoose.
How do I fix CVE-2024-42388?
No fix has been published for CVE-2024-42388 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-42388 being exploited?
There is no known exploitation of CVE-2024-42388 in the wild and no public exploit code.
Other vulnerabilities in Cesanta Mongoose
Sources
Also known as GHSA-vqm5-gf2r-4jjf.