CVE-2018-20353 Use after free in n/a
A use-after-free in the Mongoose embedded web server library allows attackers to cause a crash or execute arbitrary code.
- 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-2018-20353?
CVE-2018-20353 is a critical use after free vulnerability in Cesanta Mongoose, published on 10 Jun 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An invalid read of 8 bytes due to a use-after-free vulnerability during a "NULL test" in the mg_http_get_proto_data function in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.13 and earlier allows a denial of service (application crash) or remote code execution.
Weakness: CWE-416
Which versions are affected by CVE-2018-20353?
It affects 1 product.
Products include Cesanta Mongoose.
How do I fix CVE-2018-20353?
No fix has been published for CVE-2018-20353 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2018-20353 being exploited?
There is no known exploitation of CVE-2018-20353 in the wild and no public exploit code.
Other vulnerabilities in Cesanta Mongoose
Sources
Also known as GHSA-6vw4-wcwf-h6g7.