Buffer overflow in Cesanta Mongoose
CVE-2023-2905
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.010, 63.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cesanta Mongoose — versions 7.10, 7.11
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (DiRaltvein/memory-corruption-examples). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- takeonme.org/cves/CVE-2023-2905.html (Exploit, technical-description, Patch, Third Party Advisory, exploit, third-party-advisory)
- github.com/cesanta/mongoose/pull/2274 (Patch, patch)
- github.com/cesanta/mongoose/releases/tag/7.11 (release-notes, Release Notes)