Use After Free in Cesanta Mongoose Embedded Web Server Library
CVE-2017-7185
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.
Vulnerability class: Use-After-Free
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.123 (96.0th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 96th percentile — 96.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.123 · newest: 0.123 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.compass-security.com/fileadmin/Datein/Research/Advisories/CVE-2017-7185_mon… (Technical Description, Exploit, Third Party Advisory)
- www.securityfocus.com/bid/97370 (VDB Entry, Third Party Advisory, vdb-entry)
- www.securityfocus.com/archive/1/540355/100/0/threaded (mailing-list)
- github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b (Patch, Third Party Advisory)
- github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc (Patch, Third Party Advisory)
- www.exploit-db.com/exploits/41826/ (exploit)
Frequently asked questions
- What is CVE-2017-7185?
- CVE-2017-7185 is a high-severity vulnerability in Cesanta Mongoose Embedded Web Server Library, classified under Use After Free. CVSS score: 7.5/10. Published 2017-04-10.
- How severe is CVE-2017-7185?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2017-7185 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.