CVEfocus › CVE database › CVE-2023-2905

CVE-2023-2905Cesanta Mongoose MQTT Message Parsing Heap Overflow

CVSS 8.8 HighEPSS 0.9% (higher than 58% of CVEs)Published 2023-08-09Updated 2024-10-10Assigner: AHA

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.

CWE-122

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

2Fixed
3Fix pending

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04swupdateFix pendingUBUNTU-CVE-2023-2905
Ubuntu 22.04swupdateFix pendingUBUNTU-CVE-2023-2905
Debian 14swupdateFixed2024.12+dfsg-1DEBIAN-CVE-2023-2905
Debian 13swupdateFixed2024.12+dfsg-1DEBIAN-CVE-2023-2905
Debian 12swupdateFix pendingDEBIAN-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.

Vendor advisories:

References

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.