diff options
-rw-r--r-- | meta-oe/recipes-benchmark/iperf3/iperf3/CVE-2025-54350.patch | 24 | ||||
-rw-r--r-- | meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb | 1 |
2 files changed, 25 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..12ca38b830 --- /dev/null +++ b/meta-oe/recipes-benchmark/iperf3/iperf3/CVE-2025-54350.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Subject: [PATCH] iperf3: Fix CVE-2025-54350 | ||
2 | CVE: CVE-2025-54350 | ||
3 | Upstream-Status: Backport [https://github.com/esnet/iperf/commit/4eab661da0bbaac04493fa40164e928c6df7934a] | ||
4 | Comment: Patch is refreshed as per codebase of 3.18 | ||
5 | Signed-off-by: Nitin Wankhade <nitin.wankhade333@gmail.com> | ||
6 | --- | ||
7 | --- a/src/iperf_auth.c 2025-09-12 10:21:48.186090000 +0530 | ||
8 | +++ b/src/iperf_auth.c 2025-09-15 11:13:21.123222080 +0530 | ||
9 | @@ -28,7 +28,6 @@ | ||
10 | #include "iperf_config.h" | ||
11 | |||
12 | #include <string.h> | ||
13 | -#include <assert.h> | ||
14 | #include <time.h> | ||
15 | #include <sys/types.h> | ||
16 | /* FreeBSD needs _WITH_GETLINE to enable the getline() declaration */ | ||
17 | @@ -152,7 +151,6 @@ | ||
18 | |||
19 | BIO_set_flags(bio, BIO_FLAGS_BASE64_NO_NL); //Do not use newlines to flush buffer | ||
20 | *length = BIO_read(bio, *buffer, strlen(b64message)); | ||
21 | - assert(*length == decodeLen); //length should equal decodeLen, else something went horribly wrong | ||
22 | BIO_free_all(bio); | ||
23 | |||
24 | return (0); //success | ||
diff --git a/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb index 265611e533..91d266a2d5 100644 --- a/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb +++ b/meta-oe/recipes-benchmark/iperf3/iperf3_3.18.bb | |||
@@ -17,6 +17,7 @@ SRC_URI = "git://github.com/esnet/iperf.git;branch=master;protocol=https \ | |||
17 | file://0001-configure.ac-check-for-CPP-prog.patch \ | 17 | file://0001-configure.ac-check-for-CPP-prog.patch \ |
18 | file://0001-fix-build-with-gcc-15.patch \ | 18 | file://0001-fix-build-with-gcc-15.patch \ |
19 | file://CVE-2025-54349.patch \ | 19 | file://CVE-2025-54349.patch \ |
20 | file://CVE-2025-54350.patch \ | ||
20 | " | 21 | " |
21 | 22 | ||
22 | SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c" | 23 | SRCREV = "2a2984488d6de8f7a2d1f5938e03ca7be57e227c" |