diff mbox series

ettercap: 0.8.4-> 0.8.4.1

Message ID 20260407205325.2089688-1-costamagnagianfranco@yahoo.it
State Under Review
Headers show
Series ettercap: 0.8.4-> 0.8.4.1 | expand

Commit Message

Gianfranco Costamagna April 7, 2026, 8:53 p.m. UTC
From: Gianfranco Costamagna <locutusofborg@debian.org>

1. Changelog
   https://github.com/Ettercap/ettercap/releases/tag/v0.8.4.1

2. Remove following patches as they were merged upstream
   CVE-2026-3606.patch

Signed-off-by: Gianfranco Costamagna <locutusofborg@debian.org>
Signed-off-by: Gianfranco Costamagna <costamagnagianfranco@yahoo.it>
---
 .../ettercap/ettercap/CVE-2026-3606.patch     | 48 -------------------
 ...{ettercap_0.8.4.bb => ettercap_0.8.4.1.bb} |  3 +-
 2 files changed, 1 insertion(+), 50 deletions(-)
 delete mode 100644 meta-networking/recipes-support/ettercap/ettercap/CVE-2026-3606.patch
 rename meta-networking/recipes-support/ettercap/{ettercap_0.8.4.bb => ettercap_0.8.4.1.bb} (93%)
diff mbox series

Patch

diff --git a/meta-networking/recipes-support/ettercap/ettercap/CVE-2026-3606.patch b/meta-networking/recipes-support/ettercap/ettercap/CVE-2026-3606.patch
deleted file mode 100644
index e1b19ea05b..0000000000
--- a/meta-networking/recipes-support/ettercap/ettercap/CVE-2026-3606.patch
+++ /dev/null
@@ -1,48 +0,0 @@ 
-From a7347f49b928f47fc37805c9f3a70a9487d45a65 Mon Sep 17 00:00:00 2001
-From: Alexander Koeppe <alexander@koeppe.rocks>
-Date: Sun, 8 Mar 2026 17:57:39 +0100
-Subject: [PATCH] Fix heap-out-of-bounds read issue in etterfilter
- (CVE-2026-3606)
-
-CVE: CVE-2026-3603
-Upstream-Status: Backport [https://github.com/Ettercap/ettercap/commit/41c312d4be6f6067968a275bf66b2abd2a0ba385]
-Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
----
- include/ec.h                  | 6 ++++++
- utils/etterfilter/ef_output.c | 4 ++--
- 2 files changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/include/ec.h b/include/ec.h
-index d69de613..80c7eaba 100644
---- a/include/ec.h
-+++ b/include/ec.h
-@@ -94,6 +94,12 @@
-    ON_ERROR(x, NULL, "virtual memory exhausted"); \
- } while(0)
- 
-+#define SAFE_RECALLOC(x, s) do { \
-+   x = realloc(x, s); \
-+   ON_ERROR(x, NULL, "virtual memory exhausted"); \
-+   memset(x, 0, s); \
-+} while(0)
-+
- #define SAFE_STRDUP(x, s) do{ \
-    x = strdup(s); \
-    ON_ERROR(x, NULL, "virtual memory exhausted"); \
-diff --git a/utils/etterfilter/ef_output.c b/utils/etterfilter/ef_output.c
-index 2530e599..2f49177e 100644
---- a/utils/etterfilter/ef_output.c
-+++ b/utils/etterfilter/ef_output.c
-@@ -150,10 +150,10 @@ static size_t create_data_segment(u_char** data, struct filter_header *fh, struc
- static size_t add_data_segment(u_char **data, size_t base, u_char **string, size_t slen)
- {
-    /* make room for the new string */
--   SAFE_REALLOC(*data, base + slen + 1);
-+   SAFE_RECALLOC(*data, base + slen + 1);
- 
-    /* copy the string, NULL separated */
--   memcpy(*data + base, *string, slen + 1);
-+   memcpy(*data + base, *string, slen);
- 
-    /* 
-     * change the pointer to the new string location 
diff --git a/meta-networking/recipes-support/ettercap/ettercap_0.8.4.bb b/meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb
similarity index 93%
rename from meta-networking/recipes-support/ettercap/ettercap_0.8.4.bb
rename to meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb
index 6fac3a0b84..a28de7b2bd 100644
--- a/meta-networking/recipes-support/ettercap/ettercap_0.8.4.bb
+++ b/meta-networking/recipes-support/ettercap/ettercap_0.8.4.1.bb
@@ -22,10 +22,9 @@  DEPENDS += "ethtool \
 RDEPENDS:${PN} += "bash ethtool libgcc"
 
 SRC_URI = "gitsm://github.com/Ettercap/ettercap;branch=master;protocol=https;tag=v${PV} \
-           file://CVE-2026-3606.patch \
            "
 
-SRCREV = "41da65f4026a9e4cea928e61941b976d9279f508"
+SRCREV = "0dc8409779f3a09cbfff4434b9a4d7b33480d88d"
 
 EXTRA_OECMAKE = " \
     -DCMAKE_SKIP_RPATH=TRUE \