summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2017-06-28 12:44:20 +0200
committerPeter Korsgaard <peter@korsgaard.com>2017-06-28 23:25:02 +0200
commite51d69a3b11ae971d2aa65d6d0a6f0bb7730e0ab (patch)
tree01f6d1ba69e0a87067df9bfa86b0663dc93b6fb1
parent6da327adb21d1cb0f1962b2cadae256ba217972a (diff)
downloadbuildroot-e51d69a3b11ae971d2aa65d6d0a6f0bb7730e0ab.tar.gz
buildroot-e51d69a3b11ae971d2aa65d6d0a6f0bb7730e0ab.zip
mosquitto: add upstream security fix
Fixes CVE-2017-9868: In Mosquitto through 1.4.12, mosquitto.db (aka the persistence file) is world readable, which allows local users to obtain sensitive MQTT topic information. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/mosquitto/mosquitto.hash1
-rw-r--r--package/mosquitto/mosquitto.mk2
2 files changed, 3 insertions, 0 deletions
diff --git a/package/mosquitto/mosquitto.hash b/package/mosquitto/mosquitto.hash
index 6c102ebaa5..82bf5c6da7 100644
--- a/package/mosquitto/mosquitto.hash
+++ b/package/mosquitto/mosquitto.hash
@@ -1,2 +1,3 @@
# Locally computed:
sha512 75e6105498869ab13265df7a0bea6052c014d59d0c0efb61162d8257d34c0153fce32130e84c28e99fd494f374949aac5e01c19f7439c2eea575b52ef1179c3c mosquitto-1.4.12.tar.gz
+sha256 06abd1206e548ac2378dd96f5434cb3e40ed77cecb6a9c37fbabab0b0f1360e5 mosquitto-1.4.x_cve-2017-9868.patch
diff --git a/package/mosquitto/mosquitto.mk b/package/mosquitto/mosquitto.mk
index a9eb5b02f3..829984896f 100644
--- a/package/mosquitto/mosquitto.mk
+++ b/package/mosquitto/mosquitto.mk
@@ -9,6 +9,8 @@ MOSQUITTO_SITE = http://mosquitto.org/files/source
MOSQUITTO_LICENSE = EPL-1.0 or EDLv1.0
MOSQUITTO_LICENSE_FILES = LICENSE.txt epl-v10 edl-v10
MOSQUITTO_INSTALL_STAGING = YES
+MOSQUITTO_PATCH = \
+ https://mosquitto.org/files/cve/2017-9868/mosquitto-1.4.x_cve-2017-9868.patch
MOSQUITTO_MAKE_OPTS = \
UNAME=Linux \
OpenPOWER on IntegriCloud