Use-after-free vulnerability in the mghttpmultipartwaitfor_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.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-7185.json"
[
{
"deprecated": false,
"id": "CVE-2017-7185-72c6ea9f",
"digest": {
"length": 655.0,
"function_hash": "41249086661872666392535856094281661402"
},
"signature_version": "v1",
"target": {
"function": "mg_http_multipart_wait_for_boundary",
"file": "mongoose.c"
},
"source": "https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc",
"signature_type": "Function"
},
{
"deprecated": false,
"id": "CVE-2017-7185-74486d70",
"digest": {
"threshold": 0.9,
"line_hashes": [
"339889822355170891032407714099899695797",
"207737993900940319777937554213307134569",
"42031312556500484625743211277575000719"
]
},
"signature_version": "v1",
"target": {
"file": "mongoose.c"
},
"source": "https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc",
"signature_type": "Line"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-7185.json"
[
{
"deprecated": false,
"id": "CVE-2017-7185-3cd5eefc",
"digest": {
"threshold": 0.9,
"line_hashes": [
"339889822355170891032407714099899695797",
"207737993900940319777937554213307134569",
"42031312556500484625743211277575000719"
]
},
"signature_version": "v1",
"target": {
"file": "mongoose/mongoose.c"
},
"source": "https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b",
"signature_type": "Line"
},
{
"deprecated": false,
"id": "CVE-2017-7185-94a9b390",
"digest": {
"length": 655.0,
"function_hash": "41249086661872666392535856094281661402"
},
"signature_version": "v1",
"target": {
"function": "mg_http_multipart_wait_for_boundary",
"file": "mongoose/mongoose.c"
},
"source": "https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b",
"signature_type": "Function"
}
]