p PatchFirst

CVE-2018-12551

CVE-2018-12551

CVSS 8.1 · High · EPSS 1.5% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

apk list -I -o mosquitto

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • eclipse mosquitto

    Versions
    • ≥ 1.0, < unspecified: Affected (custom)
    • ≥ unspecified, ≤ 1.5.5: Affected (custom)

    No fix published

  • mosquitto Alpine 3.10

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.11

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.12

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.13

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.14

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.15

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.16

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.17

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.18

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.19

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.20

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.21

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.22

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.23

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.24

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Alpine 3.7

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.4.15-r1

    Update to 1.4.15-r1

  • mosquitto Alpine 3.8

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.4.15-r4

    Update to 1.4.15-r4

  • mosquitto Alpine 3.9

    Affected ranges
    • ECOSYSTEM: ≥ 1.0, < 1.5.6-r0

    Update to 1.5.6-r0

  • mosquitto Debian 12

    Affected ranges
    • ECOSYSTEM: < 1.5.6-1

    Update to 1.5.6-1

  • mosquitto Debian 13

    Affected ranges
    • ECOSYSTEM: < 1.5.6-1

    Update to 1.5.6-1

  • mosquitto Debian 14

    Affected ranges
    • ECOSYSTEM: < 1.5.6-1

    Update to 1.5.6-1

  • mosquitto Ubuntu 16.04 LTS

    Versions
    • 1.4.3-1
    • 1.4.4-1
    • 1.4.7-1
    • 1.4.8-1
    • 1.4.8-1build1
    • 1.4.8-1ubuntu0.16.04.1
    All versions (9)
    • 1.4.8-1ubuntu0.16.04.2
    • 1.4.8-1ubuntu0.16.04.3
    • 1.4.8-1ubuntu0.16.04.4
    Affected ranges
    • ECOSYSTEM: < 1.4.8-1ubuntu0.16.04.5

    Update to 1.4.8-1ubuntu0.16.04.5

  • mosquitto Ubuntu 18.04 LTS

    Versions
    • 1.4.12-1
    • 1.4.14-1
    • 1.4.14-2
    • 1.4.14-2build1
    • 1.4.15-1
    • 1.4.15-2
    Affected ranges
    • ECOSYSTEM: < 1.4.15-2ubuntu0.18.04.1

    Update to 1.4.15-2ubuntu0.18.04.1

Original sources

Check your server →