Bug 1646631 (CVE-2018-18764) - CVE-2018-18764 mongoose: heap-based buffer over-read in a parse_mqtt getu16 call
Summary: CVE-2018-18764 mongoose: heap-based buffer over-read in a parse_mqtt getu16 call
Alias: CVE-2018-18764
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1646634 1646635
Blocks: 1646643
TreeView+ depends on / blocked
Reported: 2018-11-05 19:25 UTC by Laura Pardo
Modified: 2019-09-29 15:02 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2019-08-08 07:18:20 UTC

Attachments (Terms of Use)

Description Laura Pardo 2018-11-05 19:25:45 UTC
A flaw was found in Cesanta Mongoose 6.13. An arbitrary memory read vulnerability exists in the MQTT packet-parsing functionality. It is a heap-based buffer over-read in a parse_mqtt getu16 call. A specially crafted MQTT SUBSCRIBE packet can cause an arbitrary out-of-bounds memory read potentially resulting in information disclosure and denial of service. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability. 

https://github.com/TiffanyBlue/PoCbyMyself/blob/master/mongoose6.13/mqtt/Cesanta%20Mongoose%20MQTT%20getu16%20heap%20buffer%20overflow1.md https://github.com/TiffanyBlue/PoCbyMyself/blob/master/mongoose6.13/mqtt/Cesanta%20Mongoose%20MQTT%20getu16%20heap%20buffer%20overflow2.md

Comment 1 Laura Pardo 2018-11-05 19:28:41 UTC
Created mongoose tracking bugs for this issue:

Affects: epel-6 [bug 1646634]
Affects: fedora-all [bug 1646635]

Comment 2 Jason Shepherd 2019-08-08 04:38:48 UTC
This vulnerability is out of security support scope for the following product:

 * Red Hat Mobile Application Platform

 Please refer to https://access.redhat.com/support/policy/updates/rhmap for more details

Comment 3 Product Security DevOps Team 2019-08-08 07:18:20 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


Note You need to log in before you can comment on or make changes to this bug.