summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-benchmark/iperf3/iperf3/CVE-2025-54350.patch39
-rw-r--r--meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb1
2 files changed, 40 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3/CVE-2025-54350.patch b/meta-oe/recipes-benchmark/iperf3/iperf3/CVE-2025-54350.patch
new file mode 100644
index 0000000000..e6de0e810c
--- /dev/null
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3/CVE-2025-54350.patch
@@ -0,0 +1,39 @@
1From 4cd6c8e85376a33bddd01fac143e27436d41f2b9 Mon Sep 17 00:00:00 2001
2From: "Bruce A. Mah" <bmah@es.net>
3Date: Tue, 24 Jun 2025 15:58:21 -0700
4Subject: [PATCH] Prevent crash due to assertion failures on malformed
5 authentication attempt.
6
7Reported by Han Lee (Apple Information Security)
8CVE-2025-54350
9
10CVE: CVE-2025-54350
11Upstream-Status: Backport [https://github.com/esnet/iperf/commit/4eab661da0bbaac04493fa40164e928c6df7934a]
12Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
13---
14 src/iperf_auth.c | 2 --
15 1 file changed, 2 deletions(-)
16
17diff --git a/src/iperf_auth.c b/src/iperf_auth.c
18index 86b4eba..632f03d 100644
19--- a/src/iperf_auth.c
20+++ b/src/iperf_auth.c
21@@ -28,7 +28,6 @@
22 #include "iperf_config.h"
23
24 #include <string.h>
25-#include <assert.h>
26 #include <time.h>
27 #include <sys/types.h>
28 /* FreeBSD needs _WITH_GETLINE to enable the getline() declaration */
29@@ -152,7 +151,6 @@ int Base64Decode(const char* b64message, unsigned char** buffer, size_t* length)
30
31 BIO_set_flags(bio, BIO_FLAGS_BASE64_NO_NL); //Do not use newlines to flush buffer
32 *length = BIO_read(bio, *buffer, strlen(b64message));
33- assert(*length == decodeLen); //length should equal decodeLen, else something went horribly wrong
34 BIO_free_all(bio);
35
36 return (0); //success
37--
382.50.0
39
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb
index e96d5f084b..7fb2c52d08 100644
--- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb
+++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb
@@ -16,6 +16,7 @@ SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \
16 file://0002-Remove-pg-from-profile_CFLAGS.patch \ 16 file://0002-Remove-pg-from-profile_CFLAGS.patch \
17 file://0001-configure.ac-check-for-CPP-prog.patch \ 17 file://0001-configure.ac-check-for-CPP-prog.patch \
18 file://CVE-2025-54349.patch \ 18 file://CVE-2025-54349.patch \
19 file://CVE-2025-54350.patch \
19 " 20 "
20 21
21SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c" 22SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c"