{"id":"CVE-2017-7185","published":"2017-04-10T15:00:00Z","modified":"2024-08-05T15:56:36Z","title":"Use-after-free vulnerability in the mg_http_multipart_wait_for_boundary function in mongoose.c in Cesanta Mongoose…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.12251,"percentile":0.96274,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.compass-security.com/fileadmin/Datein/Research/Advisories/CVE-2017-7185_mongoose_os_use_after_free.txt","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/97370","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securityfocus.com/archive/1/540355/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc","tags":["x_refsource_CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/41826/","tags":["exploit","x_refsource_EXPLOIT-DB"]}],"priority":{"score":24.3,"factors":[{"name":"EPSS percentile","points":19.25},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2017-04-06"},"first":{"date":"2017-04-06","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/41826"},"provenance":"source"},"summary":{"text":"A use-after-free flaw in the mg_http_multipart_wait_for_boundary function in mongoose.c, part of the Cesanta Mongoose Embedded Web Server Library (6.7 and earlier) and Mongoose OS (1.2 and earlier). An remote attacker can crash the affected service by sending a multipart/form-data POST request that lacks a MIME boundary string, and no authentication or user interaction is indicated as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:51:53Z"},"euvd":{"id":"EUVD-2017-16223","exploited":false,"provenance":"source"},"exploits":[{"id":41826,"url":"https://www.exploit-db.com/exploits/41826","title":"Cesanta Mongoose OS - Use-After-Free","date":"2017-04-06","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/41826/"],"lineage":{"familyId":"fam-cve-2017-7185-family-cve-2017-7185","children":[{"from":"CVE-2017-7185","to":"CVE-2022-25299","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["mongoose.c"],"commits":["https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc","https://github.com/cesanta/mongoose/commit/c65c8fdaaa257e0487ab0aaae9e8f6b439335945"],"basis":"shared function","functions":["mg_connection"]}]}]}}