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

Medium 4.2 Published Updated

An out-of-range pointer offset in Mongoose allows writing a NULL byte beyond the hostname buffer, potentially causing memory corruption or crashes.

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

CVE-2024-42383 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 to write a NULL byte value beyond the memory space dedicated for the hostname field.

Weakness: CWE-823

Which versions are affected by CVE-2024-42383?

It affects 1 product.

Products include Cesanta Mongoose.

How do I fix CVE-2024-42383?

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

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

All Cesanta Mongoose vulnerabilities

Sources

Also known as GHSA-2w24-rmxp-xpr3.

Is CVE-2024-42383 in your software?

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

Check your SBOMs for free