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.
[
{
"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"
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-2905.json"