CVE-2024-42385 Improper Neutralization of Delimiters in Mongoose Web Server library

Medium 4.0 Published Updated

An attacker can trigger an out-of-bound memory write via a malicious PEM certificate, potentially leading to code execution or denial of service.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-42385?

CVE-2024-42385 is a medium-severity memory corruption vulnerability in Cesanta Mongoose, published on 18 Nov 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Improper Neutralization of Delimiters vulnerability in Cesanta Mongoose Web Server v7.14 allows to trigger an out-of-bound memory write if the PEM certificate contains unexpected characters.

Weakness: CWE-140

Which versions are affected by CVE-2024-42385?

It affects 1 product.

Products include Cesanta Mongoose.

How do I fix CVE-2024-42385?

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

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

All Cesanta Mongoose vulnerabilities

Sources

Also known as GHSA-fj5v-9mxj-77qc.

Is CVE-2024-42385 in your software?

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

Check your SBOMs for free