CVE-2023-2905

Source
https://cve.org/CVERecord?id=CVE-2023-2905
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-2905.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-2905
Published
2023-08-09T05:15:40.740Z
Modified
2026-02-10T17:17:33.652849Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Due to a failure in validating the length of a provided MQTTCMDPUBLISH parsed message with a variable length header, Cesanta Mongoose, an embeddable web server, version 7.10 is susceptible to a heap-based buffer overflow vulnerability in the default configuration. Version 7.9 and prior does not appear to be vulnerable. This issue is resolved in version 7.11.

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.10
6.11
6.12
6.13
6.14
6.15
6.16
6.17
6.18
6.2
6.3
6.4
6.5
6.6
6.7
6.8
6.9
7.*
7.0
7.1
7.10
7.2
7.3
7.4
7.5
7.6
7.7
7.8
7.9

Database specific

vanir_signatures
[
    {
        "signature_type": "Function",
        "source": "https://github.com/cesanta/mongoose/commit/5c8e05a4fc34c5309ceea887a7e60b895b2100d7",
        "digest": {
            "function_hash": "322578170098778285952942806764184170488",
            "length": 2019.0
        },
        "target": {
            "file": "mongoose.c",
            "function": "mqtt_cb"
        },
        "id": "CVE-2023-2905-4da521ed",
        "deprecated": false,
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "source": "https://github.com/cesanta/mongoose/commit/5c8e05a4fc34c5309ceea887a7e60b895b2100d7",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "117949057774234710139995544902745237138",
                "313220653113354972269039999932499615694",
                "248097422983505795697698419060461918",
                "261418787229042588120440473792472697846",
                "264179395874945463223054796764526256741"
            ]
        },
        "target": {
            "file": "mongoose.c"
        },
        "id": "CVE-2023-2905-72b6c1ca",
        "deprecated": false,
        "signature_version": "v1"
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-2905.json"