Bug 2230653 (CVE-2023-2905)

Summary: CVE-2023-2905 mongoose: MQTT message parsing heap overflow
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: eglynn, jjoyce, jschluet, lhh, mburns, mgarciac, pgrist
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: mongoose 7.11 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-11 10:32:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2230654, 2230657    
Bug Blocks: 2230656    

Description Pedro Sampaio 2023-08-09 18:56:43 UTC
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.

References:

https://github.com/cesanta/mongoose/pull/2274
https://takeonme.org/cves/CVE-2023-2905.html
https://github.com/cesanta/mongoose/releases/tag/7.11

Comment 1 Pedro Sampaio 2023-08-09 18:56:59 UTC
Created mongoose tracking bugs for this issue:

Affects: fedora-all [bug 2230654]

Comment 3 Product Security DevOps Team 2023-08-11 10:32:39 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2023-2905