Skip to contentSkip to conversation

dbus: Backport fix for CVE-2023-34969

PATCH New [email protected] 1 participant 2 messages Oct 4, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 dbus: Backport fix for CVE-2023-34969

From: Julian Haller <[email protected]>

Upstream commit https://gitlab.freedesktop.org/dbus/dbus/-/commit/37a4dc5835731a1f7a81f1b67c45b8dfb556dd1c

---
 meta/recipes-core/dbus/dbus.inc               |  1 +
 .../dbus/dbus/CVE-2023-34969.patch            | 96 +++++++++++++++++++
 2 files changed, 97 insertions(+)
 create mode 100644 meta/recipes-core/dbus/dbus/CVE-2023-34969.patch
meta/recipes-core/dbus/dbus.inc +1 -0
index 82e91c7b13..948aaf2e24 100644
@@ -8,6 +8,7 @@ SRC_URI = "https://dbus.freedesktop.org/releases/dbus/dbus-${PV}.tar.gz \
            file://tmpdir.patch \
            file://dbus-1.init \
            file://clear-guid_from_server-if-send_negotiate_unix_f.patch \
+           file://CVE-2023-34969.patch \
 "
 
 SRC_URI[sha256sum] = "bc42d196c1756ac520d61bf3ccd6f42013617def45dd1e591a6091abf51dca38"
meta/recipes-core/dbus/dbus/CVE-2023-34969.patch new file +96 -0

96 lines not on this page · raw message

Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 dbus: Add missing CVE_PRODUCT

From: Julian Haller <[email protected]>

The current dunfell CVE scans report 0 CVEs for our dbus version. This is not correct, though, as we use the wrong product name to query it. Fix this to get a proper CVE list.

---
 meta/recipes-core/dbus/dbus.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-core/dbus/dbus.inc +2 -0
index 948aaf2e24..9b5cc53d92 100644
@@ -32,3 +32,5 @@ PACKAGECONFIG[systemd] = "--enable-systemd --with-systemdsystemunitdir=${systemd
 PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x --disable-x11-autolaunch, virtual/libx11 libsm"
 PACKAGECONFIG[user-session] = "--enable-user-session --with-systemduserunitdir=${systemd_user_unitdir},--disable-user-session"
 PACKAGECONFIG[verbose-mode] = "--enable-verbose-mode,,,"
+
+CVE_PRODUCT += "d-bus_project:d-bus freedesktop:dbus freedesktop:libdbus"
Signature · 1 line
2.25.1