CVE-2018-20356 Use after free in n/a
A use-after-free flaw 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-20356?
CVE-2018-20356 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 in the mg_http_free_proto_data_cgi function call 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-20356?
It affects 1 product.
Products include Cesanta Mongoose.
How do I fix CVE-2018-20356?
No fix has been published for CVE-2018-20356 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-20356 being exploited?
There is no known exploitation of CVE-2018-20356 in the wild and no public exploit code.
Other vulnerabilities in Cesanta Mongoose
Sources
Also known as GHSA-2hwq-hrjc-wwr4.