CVE-2017-7185

Source
https://cve.org/CVERecord?id=CVE-2017-7185
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2017-7185.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2017-7185
Published
2017-04-10T15:59:00.503Z
Modified
2026-02-06T04:07:55.308487Z
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.

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
Fixed

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

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

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

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

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