avahi: patch CVE-2025-68276
PATCH 1/4 avahi: patch CVE-2025-68276
From: Ankur Tyagi <[email protected]>
Backport the patch[1] from the PR[2] mentioned in the nvd[3].
[1] https://github.com/avahi/avahi/commit/2d48e42d44a183f26a4d12d1f5d41abb9b7c6355
[2] https://github.com/avahi/avahi/pull/806
[3] https://nvd.nist.gov/vuln/detail/CVE-2025-68276
Dropped CI changes from the original PR during backport.
Signed-off-by Ankur Tyagi <[email protected]>
Signed-off-by Yoann Congal <[email protected]>
Signed-off-by Peter Marko <[email protected]>
--- meta/recipes-connectivity/avahi/avahi_0.8.bb | 1 + .../avahi/files/CVE-2025-68276.patch | 65 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch
meta/recipes-connectivity/avahi/avahi_0.8.bb +1 -0
@@ -37,6 +37,7 @@ SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV} file://CVE-2023-38473.patch \ file://CVE-2024-52616.patch \ file://CVE-2024-52615.patch \ + file://CVE-2025-68276.patch \ " UPSTREAM_CHECK_URI = "https://github.com/lathiat/avahi/releases/"
meta/recipes-connectivity/avahi/files/CVE-2025-68276.patch new file +65 -0
65 lines not on this page · raw message
PATCH 2/4 avahi: patch CVE-2025-68468
From: Amaury Couderc <[email protected]>
Signed-off-by Amaury Couderc <[email protected]>
Signed-off-by Mathieu Dubois-Briand <[email protected]>
Signed-off-by Ross Burton <[email protected]>
Signed-off-by Richard Purdie <[email protected]>
(cherry picked from commit 9f2ed8adc37a42b561b3c4853cf8106fba39889e)
Signed-off-by Yoann Congal <[email protected]>
Signed-off-by Peter Marko <[email protected]>
--- meta/recipes-connectivity/avahi/avahi_0.8.bb | 1 + .../avahi/files/CVE-2025-68468.patch | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2025-68468.patch
meta/recipes-connectivity/avahi/avahi_0.8.bb +1 -0
@@ -38,6 +38,7 @@ SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV} file://CVE-2024-52616.patch \ file://CVE-2024-52615.patch \ file://CVE-2025-68276.patch \ + file://CVE-2025-68468.patch \ " UPSTREAM_CHECK_URI = "https://github.com/lathiat/avahi/releases/"
meta/recipes-connectivity/avahi/files/CVE-2025-68468.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 483f83828cfda965fac914ff1b39c63c256372b2 Mon Sep 17 00:00:00 2001 +From: Hugo Muis <[email protected]> +Date: Sun, 2 Mar 2025 18:06:24 +0100 +Subject: [PATCH] core: fix DoS bug by removing incorrect assertion + +Closes https://github.com/avahi/avahi/issues/683 + +CVE: CVE-2025-68468 + +Upstream-Status: Backport +[https://github.com/avahi/avahi/commit/f66be13d7f31a3ef806d226bf8b67240179d309a] + +Signed-off-by: Amaury Couderc <[email protected]> +--- + avahi-core/browse.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/avahi-core/browse.c b/avahi-core/browse.c +index 86e4432..79595fe 100644 +--- a/avahi-core/browse.c ++++ b/avahi-core/browse.c +@@ -295,7 +295,6 @@ static void lookup_multicast_callback( + lookup_drop_cname(l, interface, protocol, 0, r); + else { + /* It's a normal record, so let's call the user callback */ +- assert(avahi_key_equal(b->key, l->key)); + + b->callback(b, interface, protocol, event, r, flags, b->userdata); + } +-- +2.43.0 +
PATCH 3/4 avahi: patch CVE-2025-68471
In reply to Peter MarkoFrom: Amaury Couderc <[email protected]>
Signed-off-by Amaury Couderc <[email protected]>
Signed-off-by Mathieu Dubois-Briand <[email protected]>
Signed-off-by Ross Burton <[email protected]>
Signed-off-by Richard Purdie <[email protected]>
(cherry picked from commit 5ec4156330c765bc52dbce28dbba6def9868d30f)
Signed-off-by Yoann Congal <[email protected]>
Signed-off-by Peter Marko <[email protected]>
--- meta/recipes-connectivity/avahi/avahi_0.8.bb | 1 + .../avahi/files/CVE-2025-68471.patch | 36 +++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2025-68471.patch
meta/recipes-connectivity/avahi/avahi_0.8.bb +1 -0
@@ -39,6 +39,7 @@ SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV} file://CVE-2024-52615.patch \ file://CVE-2025-68276.patch \ file://CVE-2025-68468.patch \ + file://CVE-2025-68471.patch \ " UPSTREAM_CHECK_URI = "https://github.com/lathiat/avahi/releases/"
meta/recipes-connectivity/avahi/files/CVE-2025-68471.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 4e84c1d6eb2f54d1643bd7ce62817c722ca36d25 Mon Sep 17 00:00:00 2001 +From: Hugo Muis <[email protected]> +Date: Sun, 2 Mar 2025 18:06:24 +0100 +Subject: [PATCH] core: fix DoS bug by changing assert to return + +Closes https://github.com/avahi/avahi/issues/678 + +CVE: CVE-2025-68471 + +Upstream-Status: Backport +[https://github.com/avahi/avahi/commit/9c6eb53bf2e290aed84b1f207e3ce35c54cc0aa1] + +Signed-off-by: Amaury Couderc <[email protected]> +--- + avahi-core/browse.c | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) + +diff --git a/avahi-core/browse.c b/avahi-core/browse.c +index 2941e57..86e4432 100644 +--- a/avahi-core/browse.c ++++ b/avahi-core/browse.c +@@ -320,7 +320,10 @@ static int lookup_start(AvahiSRBLookup *l) { + assert(l); + + assert(!(l->flags & AVAHI_LOOKUP_USE_WIDE_AREA) != !(l->flags & AVAHI_LOOKUP_USE_MULTICAST)); +- assert(!l->wide_area && !l->multicast); ++ if (l->wide_area || l->multicast) { ++ /* Avoid starting a duplicate lookup */ ++ return 0; ++ } + + if (l->flags & AVAHI_LOOKUP_USE_WIDE_AREA) { + +-- +2.43.0 +
PATCH 4/4 avahi: patch CVE-2026-24401
In reply to Peter MarkoFrom: Ankur Tyagi <[email protected]>
Details https://nvd.nist.gov/vuln/detail/CVE-2026-24401
Signed-off-by Ankur Tyagi <[email protected]>
Signed-off-by Mathieu Dubois-Briand <[email protected]>
Signed-off-by Ross Burton <[email protected]>
Signed-off-by Richard Purdie <[email protected]>
(cherry picked from commit 183d0ee54f1c194e245a7bbf243c19b3c2acf4f5)
Signed-off-by Yoann Congal <[email protected]>
Signed-off-by Peter Marko <[email protected]>
--- meta/recipes-connectivity/avahi/avahi_0.8.bb | 1 + .../avahi/files/CVE-2026-24401.patch | 74 +++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2026-24401.patch
meta/recipes-connectivity/avahi/avahi_0.8.bb +1 -0
@@ -40,6 +40,7 @@ SRC_URI = "https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV} file://CVE-2025-68276.patch \ file://CVE-2025-68468.patch \ file://CVE-2025-68471.patch \ + file://CVE-2026-24401.patch \ " UPSTREAM_CHECK_URI = "https://github.com/lathiat/avahi/releases/"
meta/recipes-connectivity/avahi/files/CVE-2026-24401.patch new file +74 -0
74 lines not on this page · raw message