{"id":"ALPINE-CVE-2018-12551","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.","modified":"2026-07-08T04:30:33.250560551Z","published":"2019-03-27T18:29:00.367Z","upstream":["CVE-2018-12551"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-12551"}],"affected":[{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.12","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.7","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.4.15-r1"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.8","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.4.15-r4"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}},{"package":{"name":"mosquitto","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/mosquitto?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0"},{"fixed":"1.5.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-12551.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}