Advisory

UBUNTU-CVE-2018-12551

Also known as: CVE-2018-12551

Summary

The record has no summary.

Details

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.

Severity

High Basis: CVSS v3 score 8.1, vector CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2019-03-27 18:29 UTC
Modified
2026-04-22 11:43 UTC

Affected packages and fixes

mosquitto

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 1.4.8-1ubuntu0.16.04.5 (ecosystem)

Fixed versions

1.4.8-1ubuntu0.16.04.5

Fix

  • Fixed version 1.4.8-1ubuntu0.16.04.5
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

mosquitto

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 1.4.15-2ubuntu0.18.04.1 (ecosystem)

Fixed versions

1.4.15-2ubuntu0.18.04.1

Fix

  • Fixed version 1.4.15-2ubuntu0.18.04.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences