CVE-2017-7650
In Mosquitto before 1.4.12, pattern based ACLs can be bypassed by clients that set their username/client id to '#' or '+'. This allows locally or remotely connected clients to access MQTT topics that they do have the rights to. The same issue may be present in third party authentication/access control plugins for Mosquitto.
What to do
Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | mosquitto | Fixed | 1.4.8-1ubuntu0.16.04.1 | UBUNTU-CVE-2017-7650 |
| Ubuntu 14.04 | mosquitto | Fixed | 0.15-2ubuntu1.1 | UBUNTU-CVE-2017-7650 |
| Debian 14 | mosquitto | Fixed | 1.4.10-3 | DEBIAN-CVE-2017-7650 |
| Debian 13 | mosquitto | Fixed | 1.4.10-3 | DEBIAN-CVE-2017-7650 |
| Debian 12 | mosquitto | Fixed | 1.4.10-3 | DEBIAN-CVE-2017-7650 |
| Alpine Linux 3.24 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.23 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.22 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.21 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.20 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.19 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.18 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.17 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.16 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.15 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.14 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.13 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.12 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.11 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.10 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.9 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.8 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.7 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.6 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.5 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.4 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
| Alpine Linux 3.3 | mosquitto | Fixed | 1.4.12-r0 | ALPINE-CVE-2017-7650 |
What the vendor says
As published in the CVE record by eclipse, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Eclipse Foundation Mosquitto: affected: 0.15 to 1.4.11 inclusive
Vendor advisories:
- http://www.debian.org/security/2017/dsa-3865 (vendor-advisory)
References
- http://mosquitto.org/2017/05/security-advisory-cve-2017-7650/
- http://www.securityfocus.com/bid/98741
- http://www.debian.org/security/2017/dsa-3865
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=516765
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.