Vulnerabilities · 2017 · Cesanta
CVE-2017-7185
Cesanta Mongoose Embedded Web Server Library vulnerability
Use-after-free vulnerability in the mg_http_multipart_wait_for_boundary function in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.7 and earlier and Mongoose OS 1.2 and earlier allows remote attackers to cause a denial of service (crash) via a multipart/form-data POST request without a MIME boundary string.
Affected products
Mongoose Embedded Web Server Library, Mongoose Os. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Cesanta Mongoose Embedded Web Server Library runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b · Patch
- github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc · Patch
- www.securityfocus.com/bid/97370 · Third Party Advisory
- www.compass-security.com/fileadmin/Datein/Research/Advisories/CVE-2017-7185_mongoose_os_us · Exploit
- www.securityfocus.com/archive/1/540355/100/0/threaded
- www.exploit-db.com/exploits/41826/
- nvd.nist.gov/vuln/detail/CVE-2017-7185
- cve.org/CVERecord?id=CVE-2017-7185
More vulnerabilities in Cesanta products
CVE-2025-65502CVE-2025-51495CVE-2024-42392CVE-2024-42391CVE-2024-42390CVE-2024-42389CVE-2024-42388CVE-2024-42387All 128
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.