CVE-2023-2905Cesanta Mongoose MQTT Message Parsing Heap Overflow
Due to a failure in validating the length of a provided MQTT_CMD_PUBLISH 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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | swupdate | Fix pending | UBUNTU-CVE-2023-2905 | |
| Ubuntu 22.04 | swupdate | Fix pending | UBUNTU-CVE-2023-2905 | |
| Debian 14 | swupdate | Fixed | 2024.12+dfsg-1 | DEBIAN-CVE-2023-2905 |
| Debian 13 | swupdate | Fixed | 2024.12+dfsg-1 | DEBIAN-CVE-2023-2905 |
| Debian 12 | swupdate | Fix pending | DEBIAN-CVE-2023-2905 |
What the vendor says
As published in the CVE record by AHA, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Cesanta Mongoose: affected: 7.10, 7.11 not affected
Vendor advisories:
- https://github.com/cesanta/mongoose/pull/2274 (patch)
- https://github.com/cesanta/mongoose/releases/tag/7.11 (release-notes)
References
- https://takeonme.org/cves/CVE-2023-2905.html
- https://github.com/cesanta/mongoose/pull/2274
- https://github.com/cesanta/mongoose/releases/tag/7.11
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.