Bug 539295 (CVE-2018-12543) - Remote crash in Mosquitto 1.5 to 1.5.2
Summary: Remote crash in Mosquitto 1.5 to 1.5.2
Status: RESOLVED FIXED
Alias: CVE-2018-12543
Product: Community
Classification: Eclipse Foundation
Component: Vulnerability Reports (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Security vulnerabilitied reported against Eclipse projects CLA
QA Contact:
URL: https://cve.mitre.org/cgi-bin/cvename...
Whiteboard:
Keywords: security
Depends on:
Blocks:
 
Reported: 2018-09-20 10:33 EDT by Roger Light CLA
Modified: 2019-02-01 12:14 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Light CLA 2018-09-20 10:33:30 EDT
It is possible to cause mosquitto versions 1.5 to 1.5.2 to crash by publishing to a topic that starts with $ but that is not $SYS, e.g. $TEST.

CVSS v2 score 6.8 : https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator?vector=(AV:N/AC:L/Au:N/C:N/I:N/A:C/E:H/RL:OF/RC:C)

CVSS v3 score 7.2 : https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:H/RL:O/RC:C

Could I have a CVE assigned please?
Comment 1 Wayne Beaton CLA 2018-09-23 17:54:43 EDT
We'll use CVE-2018-12543

I'll to know the versions affected (ranges are okay), a single sentence description of the issue, and a CWE to report this upstream.
Comment 2 Roger Light CLA 2018-09-25 04:20:27 EDT
Thanks Wayne.

Versions are 1.5 to 1.5.2 inclusive.

If a message is published to Mosquitto that has a topic starting with $, but that is not $SYS, e.g. $test/test, then an assert is triggered that should otherwise not be reachable and Mosquitto will exit.

CWE: https://cwe.mitre.org/data/definitions/617.html

I intend to release fixes for this today if all the packages are done.
Comment 3 Roger Light CLA 2018-09-27 06:00:01 EDT
I will be announcing this bug at 2018-09-27 1100 UTC and have coordinated with projects that package mosquitto.
Comment 4 Wayne Beaton CLA 2018-11-07 10:44:34 EST
I'm a little late on this, sorry.

I've created a pull request to have this published.

https://github.com/CVEProject/cvelist/pull/1252