Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658340 (CVE-2017-7653) - app-misc/mosquitto: Improper handling of UTF-8 strings allows malicious clients to cause other clients to disconnect
Summary: app-misc/mosquitto: Improper handling of UTF-8 strings allows malicious clien...
Alias: CVE-2017-7653
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Security
Depends on:
Reported: 2018-06-17 22:00 UTC by Florian Schuhmacher
Modified: 2018-10-11 15:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Florian Schuhmacher 2018-06-17 22:00:29 UTC
The Eclipse Mosquitto broker up to version 1.4.15 does not reject strings that are not valid UTF-8. A malicious client could cause other clients that do reject invalid UTF-8 strings to disconnect themselves from the broker by sending a topic string which is not valid UTF-8, and so cause a denial of service for the clients.

Gentoo Security Scout
Florian Schuhmacher
Comment 1 Larry the Git Cow gentoo-dev 2018-10-11 15:55:59 UTC
The bug has been closed via the following commit(s):

commit 7750cd794da77bfa401364df3b29189b4ffbb04d
Author:     Lucas Ramage <>
AuthorDate: 2018-05-29 14:35:07 +0000
Commit:     Virgil Dupras <>
CommitDate: 2018-10-11 15:53:54 +0000

    app-misc/mosquitto: bump version to 1.5.1
    Signed-off-by: Lucas Ramage <>
    Package-Manager: Portage-2.3.24, Repoman-2.3.6
    Signed-off-by: Virgil Dupras <>

 app-misc/mosquitto/Manifest                        |   1 +
 .../mosquitto-1.5-fix-socket_get_address.patch     |  29 ++++++
 ...patch => mosquitto-fix-conditional-tests.patch} |   0
 app-misc/mosquitto/metadata.xml                    |   2 +-
 ...1.4.15-r2.ebuild => mosquitto-1.4.15-r3.ebuild} |   2 +-
 app-misc/mosquitto/mosquitto-1.5.1.ebuild          | 106 +++++++++++++++++++++
 6 files changed, 138 insertions(+), 2 deletions(-)