UBUNTU-CVE-2018-12551

Source
https://ubuntu.com/security/CVE-2018-12551
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-12551.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-12551
Related
Published
2019-03-27T18:29:00Z
Modified
2019-03-27T18:29:00Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:16.04:LTS / mosquitto

Package

Name
mosquitto
Purl
pkg:deb/ubuntu/mosquitto?arch=src?distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.8-1ubuntu0.16.04.5

Affected versions

1.*

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
1.4.8-1ubuntu0.16.04.2
1.4.8-1ubuntu0.16.04.3
1.4.8-1ubuntu0.16.04.4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "libmosquitto-dev"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "libmosquitto-dev-dbgsym"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "libmosquitto1"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "libmosquitto1-dbg"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "libmosquitto1-dbgsym"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "libmosquittopp-dev"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "libmosquittopp-dev-dbgsym"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "libmosquittopp1"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "libmosquittopp1-dbg"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "libmosquittopp1-dbgsym"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "mosquitto"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "mosquitto-clients"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "mosquitto-clients-dbgsym"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "mosquitto-dbg"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "mosquitto-dbgsym"
        },
        {
            "binary_version": "1.4.8-1ubuntu0.16.04.5",
            "binary_name": "mosquitto-dev"
        }
    ]
}

Ubuntu:18.04:LTS / mosquitto

Package

Name
mosquitto
Purl
pkg:deb/ubuntu/mosquitto?arch=src?distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.15-2ubuntu0.18.04.1

Affected versions

1.*

1.4.12-1
1.4.14-1
1.4.14-2
1.4.14-2build1
1.4.15-1
1.4.15-2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.4.15-2ubuntu0.18.04.1",
            "binary_name": "libmosquitto-dev"
        },
        {
            "binary_version": "1.4.15-2ubuntu0.18.04.1",
            "binary_name": "libmosquitto1"
        },
        {
            "binary_version": "1.4.15-2ubuntu0.18.04.1",
            "binary_name": "libmosquitto1-dbg"
        },
        {
            "binary_version": "1.4.15-2ubuntu0.18.04.1",
            "binary_name": "libmosquittopp-dev"
        },
        {
            "binary_version": "1.4.15-2ubuntu0.18.04.1",
            "binary_name": "libmosquittopp1"
        },
        {
            "binary_version": "1.4.15-2ubuntu0.18.04.1",
            "binary_name": "libmosquittopp1-dbg"
        },
        {
            "binary_version": "1.4.15-2ubuntu0.18.04.1",
            "binary_name": "mosquitto"
        },
        {
            "binary_version": "1.4.15-2ubuntu0.18.04.1",
            "binary_name": "mosquitto-clients"
        },
        {
            "binary_version": "1.4.15-2ubuntu0.18.04.1",
            "binary_name": "mosquitto-dbg"
        },
        {
            "binary_version": "1.4.15-2ubuntu0.18.04.1",
            "binary_name": "mosquitto-dev"
        }
    ]
}