CVE-2017-7185

Source
https://cve.org/CVERecord?id=CVE-2017-7185
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7185.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-7185
Published
2017-04-10T15:59:00.503Z
Modified
2026-07-08T16:53:34.771449Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "last_affected": "1.2"
                }
            ],
            "cpes": [
                "cpe:2.3:o:cesanta:mongoose_os:*:*:*:*:*:*:*:*"
            ],
            "source": "CPE_RANGE",
            "vendor_product": "cesanta:mongoose_os"
        }
    ]
}
References

Affected packages

Git / github.com/cesanta/mongoose

Affected ranges

Type
GIT
Repo
https://github.com/cesanta/mongoose
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:cesanta:mongoose_embedded_web_server_library:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "6.7"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

3.*
3.2
3.3
3.4
3.5
3.6
3.7
3.8
4.*
4.0
4.1
5.*
5.0
5.1
5.2
5.3
5.4
5.5
5.5_20140120
5.6
6.*
6.0
6.1
6.2
6.3
6.4
6.5
6.6
6.7

Database specific

vanir_signatures_modified
"2026-07-08T16:53:34Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 655.0,
            "function_hash": "41249086661872666392535856094281661402"
        },
        "signature_version": "v1",
        "source": "https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc",
        "id": "CVE-2017-7185-72c6ea9f",
        "target": {
            "function": "mg_http_multipart_wait_for_boundary",
            "file": "mongoose.c"
        }
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "339889822355170891032407714099899695797",
                "207737993900940319777937554213307134569",
                "42031312556500484625743211277575000719"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/cesanta/mongoose/commit/b8402ed0733e3f244588b61ad5fedd093e3cf9cc",
        "id": "CVE-2017-7185-74486d70",
        "target": {
            "file": "mongoose.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7185.json"

Git / github.com/cesanta/mongoose-os

Affected ranges

Type
GIT
Repo
https://github.com/cesanta/mongoose-os
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Affected versions

1.*
1.0-rc1
1.1
1.2
Other
Beta
alpha1
alpha2
beta2
beta3
beta4
alpha1.*
alpha1.1
alpha2.*
alpha2.1

Database specific

vanir_signatures_modified
"2026-07-08T16:53:34Z"
vanir_signatures
[
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "339889822355170891032407714099899695797",
                "207737993900940319777937554213307134569",
                "42031312556500484625743211277575000719"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b",
        "id": "CVE-2017-7185-3cd5eefc",
        "target": {
            "file": "mongoose/mongoose.c"
        }
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 655.0,
            "function_hash": "41249086661872666392535856094281661402"
        },
        "signature_version": "v1",
        "source": "https://github.com/cesanta/mongoose-os/commit/042eb437973a202d00589b13d628181c6de5cf5b",
        "id": "CVE-2017-7185-94a9b390",
        "target": {
            "function": "mg_http_multipart_wait_for_boundary",
            "file": "mongoose/mongoose.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7185.json"