CVEfocus › CVE database › CVE-2018-12551

CVE-2018-12551

CVSS 8.1 HighEPSS 1.5% (higher than 74% of CVEs)Published 2019-03-27Updated 2024-08-05Assigner: eclipse

When Eclipse Mosquitto version 1.0 to 1.5.5 (inclusive) is configured to use a password file for authentication, any malformed data in the password file will be treated as valid. This typically means that the malformed data becomes a username and no password. If this occurs, clients can circumvent authentication and get access to the broker by using the malformed username. In particular, a blank line will be treated as a valid empty username. Other security measures are unaffected. Users who have only used the mosquitto_passwd utility to create and modify their password files are unaffected by this vulnerability.

CWE-703

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

23Fixed

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 18.04mosquittoFixed1.4.15-2ubuntu0.18.04.1UBUNTU-CVE-2018-12551
Ubuntu 16.04mosquittoFixed1.4.8-1ubuntu0.16.04.5UBUNTU-CVE-2018-12551
Debian 14mosquittoFixed1.5.6-1DEBIAN-CVE-2018-12551
Debian 13mosquittoFixed1.5.6-1DEBIAN-CVE-2018-12551
Debian 12mosquittoFixed1.5.6-1DEBIAN-CVE-2018-12551
Alpine Linux 3.24mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.23mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.22mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.21mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.20mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.19mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.18mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.17mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.16mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.15mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.14mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.13mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.12mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.11mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.10mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.9mosquittoFixed1.5.6-r0ALPINE-CVE-2018-12551
Alpine Linux 3.8mosquittoFixed1.4.15-r4ALPINE-CVE-2018-12551
Alpine Linux 3.7mosquittoFixed1.4.15-r1ALPINE-CVE-2018-12551

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.

References

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.