CVE-2018-12551

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-12551
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-12551.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-12551
Related
Published
2019-03-27T18:29:00Z
Modified
2024-12-05T15:14:48.870020Z
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

Alpine:v3.10 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Alpine:v3.11 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Alpine:v3.12 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Alpine:v3.13 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Alpine:v3.14 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Alpine:v3.15 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Alpine:v3.16 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Alpine:v3.17 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Alpine:v3.18 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Alpine:v3.19 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Alpine:v3.20 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Alpine:v3.21 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Alpine:v3.7 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.15-r1

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.15-r0

Alpine:v3.8 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.4.15-r4

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3

Alpine:v3.9 / mosquitto

Package

Name
mosquitto
Purl
pkg:apk/alpine/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-r0

Affected versions

1.*

1.2.2-r0
1.2.2-r1
1.2.3-r0
1.3-r0
1.3-r1
1.3.1-r0
1.3.2-r0
1.3.4-r0
1.4-r0
1.4-r1
1.4.1-r0
1.4.1-r1
1.4.2-r0
1.4.2-r1
1.4.3-r0
1.4.4-r0
1.4.8-r0
1.4.8-r1
1.4.8-r2
1.4.9-r0
1.4.10-r0
1.4.10-r1
1.4.10-r2
1.4.10-r3
1.4.11-r0
1.4.11-r1
1.4.12-r0
1.4.13-r0
1.4.14-r0
1.4.14-r1
1.4.14-r2
1.4.14-r3
1.4.14-r4
1.4.14-r5
1.4.15-r0
1.4.15-r1
1.4.15-r2
1.4.15-r3
1.4.15-r4
1.5.1-r0
1.5.2-r0
1.5.3-r0
1.5.3-r1
1.5.4-r0
1.5.5-r0
1.5.5-r1

Debian:11 / mosquitto

Package

Name
mosquitto
Purl
pkg:deb/debian/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / mosquitto

Package

Name
mosquitto
Purl
pkg:deb/debian/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / mosquitto

Package

Name
mosquitto
Purl
pkg:deb/debian/mosquitto?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.5.6-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/eclipse/mosquitto

Affected ranges

Type
GIT
Repo
https://github.com/eclipse/mosquitto
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

v1.*

v1.4
v1.4.1
v1.4.10
v1.4.11
v1.4.12
v1.4.13
v1.4.14
v1.4.15
v1.4.2
v1.4.3
v1.4.4
v1.4.5
v1.4.6
v1.4.7
v1.4.8
v1.4.9
v1.5
v1.5.1
v1.5.2
v1.5.3
v1.5.4
v1.5.5