Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/mosquitto: security bump to version 1.6.6
Date: Wed, 18 Sep 2019 17:51:48 +0200	[thread overview]
Message-ID: <20190918175148.30d1c5e2@windsurf> (raw)
In-Reply-To: <20190918143840.19328-1-peter@korsgaard.com>

On Wed, 18 Sep 2019 16:38:39 +0200
Peter Korsgaard <peter@korsgaard.com> wrote:

> Fixes a security issue. From the annoncement:
> 
> A vulnerability exists in Mosquitto versions 1.5 to 1.6.5 inclusive.
> 
> If a client sends a SUBSCRIBE packet containing a topic that consists of
> approximately 65400 or more '/' characters, i.e.  the topic hierarchy
> separator, then a stack overflow will occur.
> 
> The issue is fixed in Mosquitto 1.6.6 and 1.5.9.  Patches for older versions
> are available at https://mosquitto.org/files/cve/2019-hier
> 
> The fix addresses the problem by restricting the allowed number of topic
> hierarchy levels to 200.  An alternative fix is to increase the size of the
> stack by a small amount.
> 
> https://mosquitto.org/blog/2019/09/version-1-6-6-released/
> 
> Also notice that 1.6.5 silently fixed a security issue:
> 
> CVE-2019-11778
> 
> A vulnerability exists in Mosquitto version 1.6 to 1.6.4 inclusive, known as CVE-2019-11778
> 
> If an MQTT v5 client connects to Mosquitto, sets a last will and testament,
> sets a will delay interval, sets a session expiry interval, and the will
> delay interval is set longer than the session expiry interval, then a use
> after free error occurs, which has the potential to cause a crash in some
> situations.
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  package/mosquitto/mosquitto.hash | 2 +-
>  package/mosquitto/mosquitto.mk   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  parent reply	other threads:[~2019-09-18 15:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-18 14:38 [Buildroot] [PATCH] package/mosquitto: security bump to version 1.6.6 Peter Korsgaard
2019-09-18 15:02 ` Titouan Christophe
2019-09-18 15:42   ` Peter Korsgaard
2019-09-18 15:51 ` Thomas Petazzoni [this message]
2019-09-26  9:29 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190918175148.30d1c5e2@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox