Patch review
cover Patch review
Please review this set of changes for walnascar and have comments back by end of day Thursday, June 12
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1768
The following changes since commit a7322472e41c3cac922e29d867ae3f2f74318279:
sstatetests: Switch to new CDN (2025-05-30 06:32:58 -0700)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/walnascar-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/walnascar-nut
Changqing Li (25):
libsoup-2.4: update patch 0001-CVE-2025-32911.patch libsoup-2.4: fix CVE-2025-32053 libsoup-2.4: fix CVE-2025-2784
libsoup-2.4: fix CVE-2024-52530 libsoup-2.4: fix CVE-2025-32906 libsoup-2.4: fix CVE-2025-32914 libsoup-2.4: fix CVE-2025-46420 libsoup-2.4: fix CVE-2025-46421 libsoup-2.4: fix CVE-2025-32050 libsoup-2.4: fix CVE-2025-32052 libsoup-2.4: fix CVE-2025-32909 libsoup-2.4: fix CVE-2025-32910 libsoup-2.4: fix CVE-2025-32912 libsoup-2.4: fix CVE-2024-52531 libsoup-2.4: fix CVE-2025-4476
libsoup: upgrade 3.6.4 -> 3.6.5 libsoup-2.4: fix CVE-2025-32907 libsoup-2.4: fix CVE-2025-4948
libsoup-2.4: fix CVE-2025-4969
libsoup: fix CVE-2025-32914
libsoup: fix CVE-2025-4476
libsoup: fix CVE-2025-32907
libsoup: fix CVE-2025-32908
libsoup: fix CVE-2025-4948
libsoup: fix CVE-2025-4969
Deepesh Varatharajan (2):
binutils: Fix CVE-2025-1181
binutils: Fix CVE-2025-5244
Patrick Williams (1):
systemd.bbclass: generate preset for templates
Peter Marko (1):
python3: upgrade 3.13.3 -> 3.13.4
Ross Burton (2):
python3: remove obsolete deletion of non-deterministic .pyc files
python3: backport the full fix for importlib scanning invalid
distributions
Trevor Gamblin (1):
python3: upgrade 3.13.2 -> 3.13.3
meta/classes-recipe/systemd.bbclass | 11 +-
.../binutils/binutils-2.44.inc | 3 +
.../binutils/0016-CVE-2025-1181-1.patch | 141 ++++++++
.../binutils/0016-CVE-2025-5244.patch | 25 ++
.../binutils/0017-CVE-2025-1181-2.patch | 337 ++++++++++++++++++
...shebang-overflow-on-python-config.py.patch | 2 +-
...-use-prefix-value-from-build-configu.patch | 2 +-
...-qemu-wrapper-when-gathering-profile.patch | 14 +-
...sts-due-to-load-variability-on-YP-AB.patch | 6 +-
..._fileno-test-due-to-load-variability.patch | 2 +-
...ctive_children-skip-problematic-test.patch | 2 +-
...t_readline-skip-limited-history-test.patch | 10 +-
...orlines-skip-due-to-load-variability.patch | 2 +-
.../python3/deterministic_imports.patch | 39 --
.../python/python3/makerace.patch | 2 +-
.../python/python3/valid-dists.patch | 160 +++++++++
.../{python3_3.13.2.bb => python3_3.13.4.bb} | 18 +-
.../libsoup-2.4/0001-CVE-2025-32911.patch | 2 +-
.../libsoup/libsoup-2.4/CVE-2024-52530.patch | 150 ++++++++
.../libsoup-2.4/CVE-2024-52531-1.patch | 39 ++
.../libsoup-2.4/CVE-2024-52531-2.patch | 133 +++++++
.../libsoup/libsoup-2.4/CVE-2025-2784.patch | 56 +++
.../libsoup/libsoup-2.4/CVE-2025-32050.patch | 29 ++
.../libsoup/libsoup-2.4/CVE-2025-32052.patch | 32 ++
.../libsoup/libsoup-2.4/CVE-2025-32053.patch | 39 ++
.../libsoup/libsoup-2.4/CVE-2025-32906.patch | 71 ++++
.../libsoup/libsoup-2.4/CVE-2025-32907.patch | 39 ++
.../libsoup/libsoup-2.4/CVE-2025-32909.patch | 38 ++
.../libsoup-2.4/CVE-2025-32910-1.patch | 32 ++
.../libsoup-2.4/CVE-2025-32910-2.patch | 94 +++++
.../libsoup-2.4/CVE-2025-32910-3.patch | 28 ++
.../libsoup/libsoup-2.4/CVE-2025-32912.patch | 32 ++
.../libsoup/libsoup-2.4/CVE-2025-32914.patch | 35 ++
.../libsoup/libsoup-2.4/CVE-2025-4476.patch | 38 ++
.../libsoup/libsoup-2.4/CVE-2025-46420.patch | 61 ++++
.../libsoup/libsoup-2.4/CVE-2025-46421.patch | 47 +++
.../libsoup/libsoup-2.4/CVE-2025-4948.patch | 38 ++
.../libsoup/libsoup-2.4/CVE-2025-4969.patch | 37 ++
.../libsoup/libsoup-2.4_2.74.3.bb | 23 +-
.../libsoup/libsoup/CVE-2025-32907-1.patch | 200 +++++++++++
.../libsoup/libsoup/CVE-2025-32907-2.patch | 68 ++++
.../libsoup/libsoup/CVE-2025-32908-1.patch | 89 +++++
.../libsoup/libsoup/CVE-2025-32908-2.patch | 53 +++
.../libsoup/libsoup/CVE-2025-32914.patch | 112 ++++++
.../libsoup/libsoup/CVE-2025-4476.patch | 39 ++
.../libsoup/libsoup/CVE-2025-4948.patch | 97 +++++
.../libsoup/libsoup/CVE-2025-4969.patch | 78 ++++
.../{libsoup_3.6.4.bb => libsoup_3.6.5.bb} | 13 +-
48 files changed, 2541 insertions(+), 77 deletions(-)
create mode 100644 meta/recipes-devtools/binutils/binutils/0016-CVE-2025-1181-1.patch
create mode 100644 meta/recipes-devtools/binutils/binutils/0016-CVE-2025-5244.patch
create mode 100644 meta/recipes-devtools/binutils/binutils/0017-CVE-2025-1181-2.patch
delete mode 100644 meta/recipes-devtools/python/python3/deterministic_imports.patch
create mode 100644 meta/recipes-devtools/python/python3/valid-dists.patch
rename meta/recipes-devtools/python/{python3_3.13.2.bb => python3_3.13.4.bb} (95%)
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52530.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-1.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-2.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-2784.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32052.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32053.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32906.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32907.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32909.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-2.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-3.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32914.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4476.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-46420.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-46421.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4948.patch
create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4969.patch
create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32907-1.patch
create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32907-2.patch
create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32908-1.patch
create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32908-2.patch
create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32914.patch
create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-4476.patch
create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-4948.patch
create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-4969.patch
rename meta/recipes-support/libsoup/{libsoup_3.6.4.bb => libsoup_3.6.5.bb} (83%)Signature · 1 line
2.43.0
PATCH 1/32 libsoup-2.4: update patch 0001-CVE-2025-32911.patch
From: Changqing Li <[email protected]>
CVE-2025-32913 also fixed in this patch
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/435
--- .../libsoup/libsoup-2.4/0001-CVE-2025-32911.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libsoup/libsoup-2.4/0001-CVE-2025-32911.patch +1 -1
@@ -3,7 +3,7 @@ From: Changqing Li <[email protected]> Date: Wed, 30 Apr 2025 14:59:55 +0800 Subject: [PATCH] CVE-2025-32911 -CVE: CVE-2025-32911 +CVE: CVE-2025-32911 CVE-2025-32913 Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/422/commits] Signed-off-by: Changqing Li <[email protected]>
Signature · 1 line
2.43.0
PATCH 2/32 libsoup-2.4: fix CVE-2025-32053
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/426
--- .../libsoup/libsoup-2.4/CVE-2025-32053.patch | 39 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 4 +- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32053.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32053.patch new file +39 -0
@@ -0,0 +1,39 @@ +From d9bcffd6cd5e8ec32889a594f7348d67a5101b3a Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Mon, 12 May 2025 13:58:42 +0800 +Subject: [PATCH] Fix heap buffer overflow in + soup-content-sniffer.c:sniff_feed_or_html() + +CVE: CVE-2025-32053 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/eaed42ca8d40cd9ab63764e3d63641180505f40a] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-content-sniffer.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c +index 967ec61..5f2896e 100644 +--- a/libsoup/soup-content-sniffer.c ++++ b/libsoup/soup-content-sniffer.c +@@ -620,7 +620,7 @@ skip_insignificant_space (const char *resource, int *pos, int resource_length) + (resource[*pos] == '\x0D')) { + *pos = *pos + 1; + +- if (*pos > resource_length) ++ if (*pos >= resource_length) + return TRUE; + } + +@@ -682,7 +682,7 @@ sniff_feed_or_html (SoupContentSniffer *sniffer, SoupBuffer *buffer) + do { + pos++; + +- if (pos > resource_length) ++ if ((pos + 1) > resource_length) + goto text_html; + } while (resource[pos] != '>'); + +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +3 -1
@@ -16,7 +16,9 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://0001-CVE-2025-32911.patch \ file://CVE-2024-52532-1.patch \ file://CVE-2024-52532-2.patch \ - file://CVE-2024-52532-3.patch" + file://CVE-2024-52532-3.patch \ + file://CVE-2025-32053.patch \ +" SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13" CVE_PRODUCT = "libsoup"
Signature · 1 line
2.43.0
PATCH 3/32 libsoup-2.4: fix CVE-2025-2784
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/422
--- .../libsoup/libsoup-2.4/CVE-2025-2784.patch | 56 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 57 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-2784.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-2784.patch new file +56 -0
@@ -0,0 +1,56 @@ +From 2eacbd762332795e00692ddab2515c6da23198d3 Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Mon, 12 May 2025 14:06:41 +0800 +Subject: [PATCH] sniffer: Add better coverage of skip_insignificant_space() + +CVE: CVE-2025-2784 +Upstream-Status: Backport +[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/435/diffs?commit_id=242a10fbb12dbdc12d254bd8fc8669a0ac055304; + https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/442/diffs?commit_id=c415ad0b6771992e66c70edf373566c6e247089d] + +Test code is not added since it uses some functions not defined in +version 2.74. These tests are not used now, so just ignore them. + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-content-sniffer.c | 9 +++---- + 1 files changed, 3 insertions(+), 4 deletions(-) + +diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c +index 5f2896e..9554636 100644 +--- a/libsoup/soup-content-sniffer.c ++++ b/libsoup/soup-content-sniffer.c +@@ -612,8 +612,10 @@ sniff_text_or_binary (SoupContentSniffer *sniffer, SoupBuffer *buffer) + } + + static gboolean +-skip_insignificant_space (const char *resource, int *pos, int resource_length) ++skip_insignificant_space (const char *resource, gsize *pos, gsize resource_length) + { ++ if (*pos >= resource_length) ++ return TRUE; + while ((resource[*pos] == '\x09') || + (resource[*pos] == '\x20') || + (resource[*pos] == '\x0A') || +@@ -632,7 +634,7 @@ sniff_feed_or_html (SoupContentSniffer *sniffer, SoupBuffer *buffer) + { + const char *resource = (const char *)buffer->data; + int resource_length = MIN (512, buffer->length); +- int pos = 0; ++ gsize pos = 0; + + if (resource_length < 3) + goto text_html; +@@ -642,9 +644,6 @@ sniff_feed_or_html (SoupContentSniffer *sniffer, SoupBuffer *buffer) + pos = 3; + + look_for_tag: +- if (pos > resource_length) +- goto text_html; +- + if (skip_insignificant_space (resource, &pos, resource_length)) + goto text_html; + +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -18,6 +18,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2024-52532-2.patch \ file://CVE-2024-52532-3.patch \ file://CVE-2025-32053.patch \ + file://CVE-2025-2784.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 4/32 libsoup-2.4: fix CVE-2024-52530
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/377
--- .../libsoup/libsoup-2.4/CVE-2024-52530.patch | 150 ++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 151 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52530.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52530.patch new file +150 -0
@@ -0,0 +1,150 @@ +From 4a2bb98e03d79146c729dca52c8d6edc635218ff Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Mon, 8 Jul 2024 12:33:15 -0500 +Subject: [PATCH] headers: Strictly don't allow NUL bytes + +In the past (2015) this was allowed for some problematic sites. However Chromium also does not allow NUL bytes in either header names or values these days. So this should no longer be a problem. + +CVE: CVE-2024-52530 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/402/diffs?commit_id=04df03bc092ac20607f3e150936624d4f536e68b] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-headers.c | 15 +++------ + tests/header-parsing-test.c | 62 +++++++++++++++++-------------------- + 2 files changed, 32 insertions(+), 45 deletions(-) + +diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c +index eec28ad..e5d3c03 100644 +--- a/libsoup/soup-headers.c ++++ b/libsoup/soup-headers.c +@@ -50,13 +50,14 @@ soup_headers_parse (const char *str, int len, SoupMessageHeaders *dest) + * ignorable trailing whitespace. + */ + ++ /* No '\0's are allowed */ ++ if (memchr (str, '\0', len)) ++ return FALSE; ++ + /* Skip over the Request-Line / Status-Line */ + headers_start = memchr (str, '\n', len); + if (!headers_start) + return FALSE; +- /* No '\0's in the Request-Line / Status-Line */ +- if (memchr (str, '\0', headers_start - str)) +- return FALSE; + + /* We work on a copy of the headers, which we can write '\0's + * into, so that we don't have to individually g_strndup and +@@ -68,14 +69,6 @@ soup_headers_parse (const char *str, int len, SoupMessageHeaders *dest) + headers_copy[copy_len] = '\0'; + value_end = headers_copy; + +- /* There shouldn't be any '\0's in the headers already, but +- * this is the web we're talking about. +- */ +- while ((p = memchr (headers_copy, '\0', copy_len))) { +- memmove (p, p + 1, copy_len - (p - headers_copy)); +- copy_len--; +- } +- + while (*(value_end + 1)) { + name = value_end + 1; + name_end = strchr (name, ':'); +diff --git a/tests/header-parsing-test.c b/tests/header-parsing-test.c +index 752196e..c1d3b33 100644 +--- a/tests/header-parsing-test.c ++++ b/tests/header-parsing-test.c +@@ -358,24 +358,6 @@ static struct RequestTest { + } + }, + +- { "NUL in header name", "760832", +- "GET / HTTP/1.1\r\nHost\x00: example.com\r\n", 36, +- SOUP_STATUS_OK, +- "GET", "/", SOUP_HTTP_1_1, +- { { "Host", "example.com" }, +- { NULL } +- } +- }, +- +- { "NUL in header value", "760832", +- "GET / HTTP/1.1\r\nHost: example\x00" "com\r\n", 35, +- SOUP_STATUS_OK, +- "GET", "/", SOUP_HTTP_1_1, +- { { "Host", "examplecom" }, +- { NULL } +- } +- }, +- + /************************/ + /*** INVALID REQUESTS ***/ + /************************/ +@@ -448,6 +430,21 @@ static struct RequestTest { + SOUP_STATUS_EXPECTATION_FAILED, + NULL, NULL, -1, + { { NULL } } ++ }, ++ ++ // https://gitlab.gnome.org/GNOME/libsoup/-/issues/377 ++ { "NUL in header name", NULL, ++ "GET / HTTP/1.1\r\nHost\x00: example.com\r\n", 36, ++ SOUP_STATUS_BAD_REQUEST, ++ NULL, NULL, -1, ++ { { NULL } } ++ }, ++ ++ { "NUL in header value", NULL, ++ "HTTP/1.1 200 OK\r\nFoo: b\x00" "ar\r\n", 28, ++ SOUP_STATUS_BAD_REQUEST, ++ NULL, NULL, -1, ++ { { NULL } } + } + }; + static const int num_reqtests = G_N_ELEMENTS (reqtests); +@@ -620,22 +617,6 @@ static struct ResponseTest { + { NULL } } + }, + +- { "NUL in header name", "760832", +- "HTTP/1.1 200 OK\r\nF\x00oo: bar\r\n", 28, +- SOUP_HTTP_1_1, SOUP_STATUS_OK, "OK", +- { { "Foo", "bar" }, +- { NULL } +- } +- }, +- +- { "NUL in header value", "760832", +- "HTTP/1.1 200 OK\r\nFoo: b\x00" "ar\r\n", 28, +- SOUP_HTTP_1_1, SOUP_STATUS_OK, "OK", +- { { "Foo", "bar" }, +- { NULL } +- } +- }, +- + /********************************/ + /*** VALID CONTINUE RESPONSES ***/ + /********************************/ +@@ -768,6 +749,19 @@ static struct ResponseTest { + { { NULL } + } + }, ++ ++ // https://gitlab.gnome.org/GNOME/libsoup/-/issues/377 ++ { "NUL in header name", NULL, ++ "HTTP/1.1 200 OK\r\nF\x00oo: bar\r\n", 28, ++ -1, 0, NULL, ++ { { NULL } } ++ }, ++ ++ { "NUL in header value", "760832", ++ "HTTP/1.1 200 OK\r\nFoo: b\x00" "ar\r\n", 28, ++ -1, 0, NULL, ++ { { NULL } } ++ }, + }; + static const int num_resptests = G_N_ELEMENTS (resptests); + +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -19,6 +19,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2024-52532-3.patch \ file://CVE-2025-32053.patch \ file://CVE-2025-2784.patch \ + file://CVE-2024-52530.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 5/32 libsoup-2.4: fix CVE-2025-32906
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/404
--- .../libsoup/libsoup-2.4/CVE-2025-32906.patch | 71 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 72 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32906.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32906.patch new file +71 -0
@@ -0,0 +1,71 @@ +From 4b8809cca4bbcbf9514314d86227f985362258b0 Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Wed, 12 Feb 2025 11:30:02 -0600 +Subject: [PATCH] headers: Handle parsing only newlines + +Closes #404 +Closes #407 + +CVE: CVE-2025-32906 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/af5b9a4a3945c52b940d5ac181ef51bb12011f1f] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-headers.c | 4 ++-- + tests/header-parsing-test.c | 11 +++++++++++ + 2 files changed, 13 insertions(+), 2 deletions(-) + +diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c +index e5d3c03..87bb3dc 100644 +--- a/libsoup/soup-headers.c ++++ b/libsoup/soup-headers.c +@@ -185,7 +185,7 @@ soup_headers_parse_request (const char *str, + /* RFC 2616 4.1 "servers SHOULD ignore any empty line(s) + * received where a Request-Line is expected." + */ +- while ((*str == '\r' || *str == '\n') && len > 0) { ++ while (len > 0 && (*str == '\r' || *str == '\n')) { + str++; + len--; + } +@@ -369,7 +369,7 @@ soup_headers_parse_response (const char *str, + * after a response, which we then see prepended to the next + * response on that connection. + */ +- while ((*str == '\r' || *str == '\n') && len > 0) { ++ while (len > 0 && (*str == '\r' || *str == '\n')) { + str++; + len--; + } +diff --git a/tests/header-parsing-test.c b/tests/header-parsing-test.c +index c1d3b33..b811115 100644 +--- a/tests/header-parsing-test.c ++++ b/tests/header-parsing-test.c +@@ -6,6 +6,10 @@ typedef struct { + const char *name, *value; + } Header; + ++static char only_newlines[] = { ++ '\n', '\n', '\n', '\n' ++}; ++ + static struct RequestTest { + const char *description; + const char *bugref; +@@ -445,6 +449,13 @@ static struct RequestTest { + SOUP_STATUS_BAD_REQUEST, + NULL, NULL, -1, + { { NULL } } ++ }, ++ ++ { "Only newlines", NULL, ++ only_newlines, sizeof (only_newlines), ++ SOUP_STATUS_BAD_REQUEST, ++ NULL, NULL, -1, ++ { { NULL } } + } + }; + static const int num_reqtests = G_N_ELEMENTS (reqtests); +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -20,6 +20,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32053.patch \ file://CVE-2025-2784.patch \ file://CVE-2024-52530.patch \ + file://CVE-2025-32906.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 8/32 libsoup-2.4: fix CVE-2025-46421
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/439
--- .../libsoup/libsoup-2.4/CVE-2025-46421.patch | 47 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 48 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-46421.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-46421.patch new file +47 -0
@@ -0,0 +1,47 @@ +From 5eb225f02bb35de56cfeedd87bde716bf1cb750b Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Wed, 5 Feb 2025 16:18:10 -0600 +Subject: [PATCH] session: Strip authentication credentails on + cross-origin redirect + +This should match the behavior of Firefox and Safari but not of Chromium. + +CVE: CVE-2025-46421 +Upstream-Status: Backport +[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/436/diffs?commit_id=3e5c26415811f19e7737238bb23305ffaf96f66b] + +Test code not added since it included some headers not in version 2.74.3 + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-session.c | 8 ++++- + 2 files changed, 85 insertions(+), 1 deletion(-) + +diff --git a/libsoup/soup-session.c b/libsoup/soup-session.c +index 83421ef..8d6ac61 100644 +--- a/libsoup/soup-session.c ++++ b/libsoup/soup-session.c +@@ -1189,12 +1189,18 @@ soup_session_redirect_message (SoupSession *session, SoupMessage *msg) + SOUP_ENCODING_NONE); + } + ++ /* Strip all credentials on cross-origin redirect. */ ++ if (!soup_uri_host_equal (soup_message_get_uri (msg), new_uri)) { ++ soup_message_headers_remove (msg->request_headers, "Authorization"); ++ soup_message_set_auth (msg, NULL); ++ } ++ + soup_message_set_uri (msg, new_uri); + soup_uri_free (new_uri); + + soup_session_requeue_message (session, msg); + return TRUE; +-} ++} + + static void + redirect_handler (SoupMessage *msg, gpointer user_data) + +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -23,6 +23,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32906.patch \ file://CVE-2025-32914.patch \ file://CVE-2025-46420.patch \ + file://CVE-2025-46421.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 9/32 libsoup-2.4: fix CVE-2025-32050
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/424
--- .../libsoup/libsoup-2.4/CVE-2025-32050.patch | 29 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 30 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch new file +29 -0
@@ -0,0 +1,29 @@ +From 5709dfffb6fdc5b66ce001bf82a755ad8ad1d992 Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Mon, 28 Oct 2024 12:29:48 -0500 +Subject: [PATCH] Fix using int instead of size_t for strcspn return + +CVE: CVE-2025-32050 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/9bb0a55de55c6940ced811a64fbca82fe93a9323] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-headers.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c +index 9707ca0..67905b2 100644 +--- a/libsoup/soup-headers.c ++++ b/libsoup/soup-headers.c +@@ -902,7 +902,7 @@ append_param_quoted (GString *string, + const char *name, + const char *value) + { +- int len; ++ gsize len; + + g_string_append (string, name); + g_string_append (string, "=\""); +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -24,6 +24,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32914.patch \ file://CVE-2025-46420.patch \ file://CVE-2025-46421.patch \ + file://CVE-2025-32050.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 6/32 libsoup-2.4: fix CVE-2025-32914
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/450
--- .../libsoup/libsoup-2.4/CVE-2025-32914.patch | 35 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 36 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32914.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32914.patch new file +35 -0
@@ -0,0 +1,35 @@ +From ac844b9fc7945c38ea21fb7cf1a49a5c226d7c9c Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Mon, 12 May 2025 16:17:20 +0800 +Subject: [PATCH] Resolve "(CVE-2025-32914) (#YWH-PGM9867-23) OOB Read on + libsoup through function "soup_multipart_new_from_message" in + soup-multipart.c leads to crash or exit of process" + +CVE: CVE-2025-32914 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/450/diffs?commit_id=5bfcf8157597f2d327050114fb37ff600004dbcf] + +Test code are not added since some functions not aligned with version +2.74.3 + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-multipart.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletion(-) + +diff --git a/libsoup/soup-multipart.c b/libsoup/soup-multipart.c +index a7e550f..dd93973 100644 +--- a/libsoup/soup-multipart.c ++++ b/libsoup/soup-multipart.c +@@ -181,7 +181,7 @@ soup_multipart_new_from_message (SoupMessageHeaders *headers, + return NULL; + } + +- split = strstr (start, "\r\n\r\n"); ++ split = g_strstr_len (start, body_end - start, "\r\n\r\n"); + if (!split || split > end) { + soup_multipart_free (multipart); + soup_buffer_free (flattened); + +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -21,6 +21,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-2784.patch \ file://CVE-2024-52530.patch \ file://CVE-2025-32906.patch \ + file://CVE-2025-32914.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 7/32 libsoup-2.4: fix CVE-2025-46420
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/438
--- .../libsoup/libsoup-2.4/CVE-2025-46420.patch | 61 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 62 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-46420.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-46420.patch new file +61 -0
@@ -0,0 +1,61 @@ +From 81e03c538d6a102406114567f4f1c468033ce2e4 Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Thu, 26 Dec 2024 18:31:42 -0600 +Subject: [PATCH] soup_header_parse_quality_list: Fix leak + +When iterating over the parsed list we now steal the allocated strings that we want and then free_full the list which may contain remaining strings. + +CVE: CVE-2025-46420 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/421/diffs?commit_id=c9083869ec2a3037e6df4bd86b45c419ba295f8e] + + Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-headers.c | 11 +++++------ + 1 file changed, 5 insertions(+), 6 deletions(-) + +diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c +index 87bb3dc..9707ca0 100644 +--- a/libsoup/soup-headers.c ++++ b/libsoup/soup-headers.c +@@ -528,7 +528,7 @@ soup_header_parse_quality_list (const char *header, GSList **unacceptable) + GSList *unsorted; + QualityItem *array; + GSList *sorted, *iter; +- char *item, *semi; ++ char *semi; + const char *param, *equal, *value; + double qval; + int n; +@@ -541,9 +541,8 @@ soup_header_parse_quality_list (const char *header, GSList **unacceptable) + unsorted = soup_header_parse_list (header); + array = g_new0 (QualityItem, g_slist_length (unsorted)); + for (iter = unsorted, n = 0; iter; iter = iter->next) { +- item = iter->data; + qval = 1.0; +- for (semi = strchr (item, ';'); semi; semi = strchr (semi + 1, ';')) { ++ for (semi = strchr (iter->data, ';'); semi; semi = strchr (semi + 1, ';')) { + param = skip_lws (semi + 1); + if (*param != 'q') + continue; +@@ -575,15 +574,15 @@ soup_header_parse_quality_list (const char *header, GSList **unacceptable) + if (qval == 0.0) { + if (unacceptable) { + *unacceptable = g_slist_prepend (*unacceptable, +- item); ++ g_steal_pointer (&iter->data)); + } + } else { +- array[n].item = item; ++ array[n].item = g_steal_pointer (&iter->data); + array[n].qval = qval; + n++; + } + } +- g_slist_free (unsorted); ++ g_slist_free_full (unsorted, g_free); + + qsort (array, n, sizeof (QualityItem), sort_by_qval); + sorted = NULL; +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -22,6 +22,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2024-52530.patch \ file://CVE-2025-32906.patch \ file://CVE-2025-32914.patch \ + file://CVE-2025-46420.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 10/32 libsoup-2.4: fix CVE-2025-32052
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/425
--- .../libsoup/libsoup-2.4/CVE-2025-32052.patch | 32 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32052.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32052.patch new file +32 -0
@@ -0,0 +1,32 @@ +From f4a67a9a3033586edaee715d40d5992e02d32893 Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Sat, 16 Nov 2024 12:07:30 -0600 +Subject: [PATCH] Fix heap buffer overflow in soup_content_sniffer_sniff + +Co-Author: Ar Jun <[email protected]> + +CVE: CVE-2025-32052 +Upstream-Status: Backport +[https://gitlab.gnome.org/GNOME/libsoup/-/commit/f182429e5b1fc034050510da20c93256c4fa9652#500da7cfde649872c49169be34b03a1c42a53ddb] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-content-sniffer.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c +index 9554636..eac9e7b 100644 +--- a/libsoup/soup-content-sniffer.c ++++ b/libsoup/soup-content-sniffer.c +@@ -504,7 +504,7 @@ sniff_unknown (SoupContentSniffer *sniffer, SoupBuffer *buffer, + guint index_pattern = 0; + gboolean skip_row = FALSE; + +- while ((index_stream < resource_length) && ++ while ((index_stream < resource_length - 1) && + (index_pattern <= type_row->pattern_length)) { + /* Skip insignificant white space ("WS" in the spec) */ + if (type_row->pattern[index_pattern] == ' ') { +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -25,6 +25,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-46420.patch \ file://CVE-2025-46421.patch \ file://CVE-2025-32050.patch \ + file://CVE-2025-32052.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 11/32 libsoup-2.4: fix CVE-2025-32909
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/431
--- .../libsoup/libsoup-2.4/CVE-2025-32909.patch | 38 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 39 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32909.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32909.patch new file +38 -0
@@ -0,0 +1,38 @@ +From e6e088e62c10ab91fa2f2ad5c122332aa7cde97c Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Mon, 12 May 2025 16:55:37 +0800 +Subject: [PATCH] content-sniffer: Handle sniffing resource shorter than + 4 bytes + +CVE: CVE-2025-32909 +Upstream-Status: Backport +[https://gitlab.gnome.org/GNOME/libsoup/-/commit/ba4c3a6f988beff59e45801ab36067293d24ce92] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-content-sniffer.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/libsoup/soup-content-sniffer.c b/libsoup/soup-content-sniffer.c +index eac9e7b..73d2245 100644 +--- a/libsoup/soup-content-sniffer.c ++++ b/libsoup/soup-content-sniffer.c +@@ -227,9 +227,14 @@ sniff_mp4 (SoupContentSniffer *sniffer, SoupBuffer *buffer) + { + const char *resource = (const char *)buffer->data; + guint resource_length = MIN (512, buffer->length); +- guint32 box_size = *((guint32*)resource); ++ guint32 box_size; + guint i; + ++ if (resource_length < sizeof (guint32)) ++ return FALSE; ++ ++ box_size = *((guint32*)resource); ++ + #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ + box_size = ((box_size >> 24) | + ((box_size << 8) & 0x00FF0000) | +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -26,6 +26,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-46421.patch \ file://CVE-2025-32050.patch \ file://CVE-2025-32052.patch \ + file://CVE-2025-32909.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 12/32 libsoup-2.4: fix CVE-2025-32910
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/432
--- .../libsoup-2.4/CVE-2025-32910-1.patch | 32 +++++++ .../libsoup-2.4/CVE-2025-32910-2.patch | 94 +++++++++++++++++++ .../libsoup-2.4/CVE-2025-32910-3.patch | 28 ++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 3 + 4 files changed, 157 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-2.patch create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-3.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch new file +32 -0
@@ -0,0 +1,32 @@ +From a7e711d0f162c6edc8acad2a96981d4890784ea3 Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Mon, 12 May 2025 17:02:55 +0800 +Subject: [PATCH] auth-digest: Handle missing realm/nonce in authenticate + header + +CVE: CVE-2025-32910 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/417/diffs?commit_id=e40df6d48a1cbab56f5d15016cc861a503423cfe] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-auth-digest.c | 3 +++ + 1 files changed, 3 insertions(+) + +diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c +index e8ba990..0ab3499 100644 +--- a/libsoup/soup-auth-digest.c ++++ b/libsoup/soup-auth-digest.c +@@ -142,6 +142,9 @@ soup_auth_digest_update (SoupAuth *auth, SoupMessage *msg, + guint qop_options; + gboolean ok = TRUE; + ++ if (!soup_auth_get_realm (auth)) ++ return FALSE; ++ + g_free (priv->domain); + g_free (priv->nonce); + g_free (priv->opaque); + +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-2.patch new file +94 -0
94 lines not on this page · raw message
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-3.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 74c95d54fe42041fe161cb74c76d942ffd37a5dd Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Fri, 16 May 2025 13:21:43 +0800 +Subject: [PATCH] auth-digest: Fix leak + +CVE: CVE-2025-32910 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/417/diffs?commit_id=ea16eeacb052e423eb5c3b0b705e5eab34b13832] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-auth-digest.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c +index 10a8591..6d965d2 100644 +--- a/libsoup/soup-auth-digest.c ++++ b/libsoup/soup-auth-digest.c +@@ -66,6 +66,7 @@ soup_auth_digest_finalize (GObject *object) + g_free (priv->nonce); + g_free (priv->domain); + g_free (priv->cnonce); ++ g_free (priv->opaque); + + memset (priv->hex_urp, 0, sizeof (priv->hex_urp)); + memset (priv->hex_a1, 0, sizeof (priv->hex_a1)); +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +3 -0
@@ -27,6 +27,9 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32050.patch \ file://CVE-2025-32052.patch \ file://CVE-2025-32909.patch \ + file://CVE-2025-32910-1.patch \ + file://CVE-2025-32910-2.patch \ + file://CVE-2025-32910-3.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 13/32 libsoup-2.4: fix CVE-2025-32912
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/434
--- .../libsoup/libsoup-2.4/CVE-2025-32912.patch | 32 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 33 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 0984dddb11daf14fdf5ca24077cd0ebda796439a Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Fri, 16 May 2025 13:25:32 +0800 +Subject: [PATCH] auth-digest: Handle missing nonce + +CVE: CVE-2025-32912 +Upstream-Status: Backport +[https://gitlab.gnome.org/GNOME/libsoup/-/commit/cd077513f267e43ce4b659eb18a1734d8a369992?merge_request_iid=434 +https://gitlab.gnome.org/GNOME/libsoup/-/commit/910ebdcd3dd82386717a201c13c834f3a63eed7f] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-auth-digest.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletion(-) + +diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c +index 6d965d2..f1621ec 100644 +--- a/libsoup/soup-auth-digest.c ++++ b/libsoup/soup-auth-digest.c +@@ -156,7 +156,7 @@ soup_auth_digest_update (SoupAuth *auth, SoupMessage *msg, + guint qop_options; + gboolean ok = TRUE; + +- if (!soup_auth_get_realm (auth)) ++ if (!soup_auth_get_realm (auth) || !g_hash_table_lookup (auth_params, "nonce")) + return FALSE; + + g_free (priv->domain); + +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -30,6 +30,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32910-1.patch \ file://CVE-2025-32910-2.patch \ file://CVE-2025-32910-3.patch \ + file://CVE-2025-32912.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 14/32 libsoup-2.4: fix CVE-2024-52531
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/423
--- .../libsoup-2.4/CVE-2024-52531-1.patch | 39 +++++ .../libsoup-2.4/CVE-2024-52531-2.patch | 133 ++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 2 + 3 files changed, 174 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-1.patch create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-2.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-1.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 8331e681c85c3b1893d8d5193783f631bfc07acb Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Fri, 16 May 2025 13:42:08 +0800 +Subject: [PATCH] tests: Add test for passing invalid UTF-8 to + soup_header_parse_semi_param_list() + +CVE: CVE-2024-52531 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/407/diffs?commit_id=825fda3425546847b42ad5270544e9388ff349fe] + +Signed-off-by: Changqing Li <[email protected]> +--- + tests/header-parsing-test.c | 11 +++++++++++ + 1 file changed, 11 insertions(+) + +diff --git a/tests/header-parsing-test.c b/tests/header-parsing-test.c +index b811115..cfcc003 100644 +--- a/tests/header-parsing-test.c ++++ b/tests/header-parsing-test.c +@@ -836,6 +836,17 @@ static struct ParamListTest { + { "filename", "t\xC3\xA9st.txt" }, + }, + }, ++ ++/* This tests invalid UTF-8 data which *should* never be passed here but it was designed to be robust against it. */ ++ { TRUE, ++ "invalid*=\x69\x27\x27\x93\x93\x93\x93\xff\x61\x61\x61\x61\x61\x61\x61\x62\x63\x64\x65\x0a; filename*=iso-8859-1''\x69\x27\x27\x93\x93\x93\x93\xff\x61\x61\x61\x61\x61\x61\x61\x62\x63\x64\x65\x0a; foo", ++ { ++ { "filename", "i''\302\223\302\223\302\223\302\223\303\277aaaaaaabcde" }, ++ { "invalid", "\302\223\302\223\302\223\302\223\303\277aaaaaaabcde" }, ++ { "foo", NULL }, ++ }, ++ } ++ + }; + static const int num_paramlisttests = G_N_ELEMENTS (paramlisttests); + +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-2.patch new file +133 -0
133 lines not on this page · raw message
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +2 -0
@@ -31,6 +31,8 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32910-2.patch \ file://CVE-2025-32910-3.patch \ file://CVE-2025-32912.patch \ + file://CVE-2024-52531-1.patch \ + file://CVE-2024-52531-2.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 15/32 libsoup-2.4: fix CVE-2025-4476
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/440
--- .../libsoup/libsoup-2.4/CVE-2025-4476.patch | 38 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 39 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4476.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4476.patch new file +38 -0
@@ -0,0 +1,38 @@ +From 52a0f9234d384b9dab368835b22e5a5a01542168 Mon Sep 17 00:00:00 2001 +From: Changqing Li <[email protected]> +Date: Fri, 16 May 2025 14:16:10 +0800 +Subject: [PATCH] auth-digest: fix crash in + soup_auth_digest_get_protection_space() + +We need to validate the Domain parameter in the WWW-Authenticate header. + +Unfortunately this crash only occurs when listening on default ports 80 +and 443, so there's no good way to test for this. The test would require +running as root. + +Fixes #440 + +CVE: CVE-2025-4476 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/e64c221f9c7d09b48b610c5626b3b8c400f0907c?merge_request_iid=457] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-auth-digest.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c +index f1621ec..a2dc560 100644 +--- a/libsoup/soup-auth-digest.c ++++ b/libsoup/soup-auth-digest.c +@@ -229,7 +229,7 @@ soup_auth_digest_get_protection_space (SoupAuth *auth, SoupURI *source_uri) + uri = soup_uri_new (d); + if (uri && uri->scheme == source_uri->scheme && + uri->port == source_uri->port && +- !strcmp (uri->host, source_uri->host)) ++ !g_strcmp0 (uri->host, source_uri->host)) + dir = g_strdup (uri->path); + else + dir = NULL; +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -33,6 +33,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32912.patch \ file://CVE-2024-52531-1.patch \ file://CVE-2024-52531-2.patch \ + file://CVE-2025-4476.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 16/32 libsoup: upgrade 3.6.4 -> 3.6.5
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Changes in libsoup from 3.6.4 to 3.6.5:
* session: Strip authentication credentials on cross-origin redirects [Patrick Griffis]
* build: Use pkg-config instead of krb5-config for the gssapi dependency [Patrick Griffis]
* http1: When using chunked encoding report an error in case of unexpected stream end [Andrzej Surdej]
* http2: When a message has no content still respect its Content-Type [Patrick Griffis]
* http2: Revert manual window size management temporarily, as it could stall [Patrick Griffis]
* sniffer: Fix potential overflows [Patrick Griffis]
* hsts: Fix minor leak [Patrick Griffis]
* headers: Fix a few parsing edge cases that could be an out of bound read [Patrick Griffis]
* connection: Avoid ever calling disconnect twice [Patrick Griffis]
* auth-digest: Fix handling when a nonce isn't present [Patrick Griffis]
* cookies: Limit max size of max-age, path, and domain attributes to 1024 bytes [Patrick Griffis]
* cookies: Limit max size of name and value to 4096 bytes [Patrick Griffis]
* docs: Remove references to old libsoup domain [Simon McVittie]
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/commit/766e17528251c9b696a6076300ac61adc95536ac
---
.../libsoup/{libsoup_3.6.4.bb => libsoup_3.6.5.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/libsoup/{libsoup_3.6.4.bb => libsoup_3.6.5.bb} (96%)meta/recipes-support/libsoup/libsoup_3.6.5.bb renamed from meta/recipes-support/libsoup/libsoup_3.6.4.bb +1 -1
@@ -12,7 +12,7 @@ DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 libpsl nghttp2" SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz" -SRC_URI[sha256sum] = "9b54c76f5276b05bebcaf2b6c2a141a188fc7bb1d0624eda259dac13a6665c8a" +SRC_URI[sha256sum] = "6891765aac3e949017945c3eaebd8cc8216df772456dc9f460976fbdb7ada234" PROVIDES = "libsoup-3.0" CVE_PRODUCT = "libsoup"
Signature · 1 line
2.43.0
PATCH 17/32 libsoup-2.4: fix CVE-2025-32907
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/428
--- .../libsoup/libsoup-2.4/CVE-2025-32907.patch | 39 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 40 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32907.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32907.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 8158b4084dcba2a233dfcb7359c53ab2840148f7 Mon Sep 17 00:00:00 2001 +From: Milan Crha <[email protected]> +Date: Tue, 15 Apr 2025 12:17:39 +0200 +Subject: [PATCH 1/2] soup-message-headers: Correct merge of ranges + +It had been skipping every second range, which generated an array +of a lot of insane ranges, causing large memory usage by the server. + +Closes #428 + +Part-of: <https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/452> + +CVE: CVE-2025-32907 +Upstream-Status: Backport +[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/452/diffs?commit_id=9bb92f7a685e31e10e9e8221d0342280432ce836] + +Test part not applied since test codes use some functions not in this +version + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-message-headers.c | 1 + + 1 files changed, 1 insertions(+) + +diff --git a/libsoup/soup-message-headers.c b/libsoup/soup-message-headers.c +index 78b2455..00b9763 100644 +--- a/libsoup/soup-message-headers.c ++++ b/libsoup/soup-message-headers.c +@@ -1024,6 +1024,7 @@ soup_message_headers_get_ranges_internal (SoupMessageHeaders *hdrs, + if (cur->start <= prev->end) { + prev->end = MAX (prev->end, cur->end); + g_array_remove_index (array, i); ++ i--; + } + } + } +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -34,6 +34,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2024-52531-1.patch \ file://CVE-2024-52531-2.patch \ file://CVE-2025-4476.patch \ + file://CVE-2025-32907.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 18/32 libsoup-2.4: fix CVE-2025-4948
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
http://gitlab.gnome.org/GNOME/libsoup/-/issues/449
--- .../libsoup/libsoup-2.4/CVE-2025-4948.patch | 38 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 39 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4948.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4948.patch new file +38 -0
@@ -0,0 +1,38 @@ +From dfdc9b3cc73e6fe88cc12792ba00e14642572339 Mon Sep 17 00:00:00 2001 +From: Milan Crha <[email protected]> +Date: Thu, 15 May 2025 17:49:11 +0200 +Subject: [PATCH] soup-multipart: Verify boundary limits for multipart body + +It could happen that the boundary started at a place which resulted into +a negative number, which in an unsigned integer is a very large value. +Check the body size is not a negative value before setting it. + +Closes https://gitlab.gnome.org/GNOME/libsoup/-/issues/449 + +Part-of: <https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/463> + +CVE: CVE-2025-4948 +Upstream-Status: Backport +[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/463/diffs?commit_id=f2f28afe0b3b2b3009ab67d6874457ec6bac70c0] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-multipart.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libsoup/soup-multipart.c b/libsoup/soup-multipart.c +index dd93973..ce2fc10 100644 +--- a/libsoup/soup-multipart.c ++++ b/libsoup/soup-multipart.c +@@ -214,7 +214,7 @@ soup_multipart_new_from_message (SoupMessageHeaders *headers, + */ + part_body = soup_buffer_new_subbuffer (flattened, + split - flattened->data, +- end - 2 - split); ++ end - 2 >= split ? end - 2 - split : 0); + g_ptr_array_add (multipart->bodies, part_body); + + start = end; +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -35,6 +35,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2024-52531-2.patch \ file://CVE-2025-4476.patch \ file://CVE-2025-32907.patch \ + file://CVE-2025-4948.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 19/32 libsoup-2.4: fix CVE-2025-4969
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/447
--- .../libsoup/libsoup-2.4/CVE-2025-4969.patch | 37 +++++++++++++++++++ .../libsoup/libsoup-2.4_2.74.3.bb | 1 + 2 files changed, 38 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4969.patch
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4969.patch new file +37 -0
@@ -0,0 +1,37 @@ +From a7d0c58608ed830bedfb6b92aea11e00feb55aa9 Mon Sep 17 00:00:00 2001 +From: Milan Crha <[email protected]> +Date: Mon, 19 May 2025 17:48:27 +0200 +Subject: [PATCH] soup-multipart: Verify array bounds before accessing its + members + +The boundary could be at a place which, calculated, pointed +before the beginning of the array. Check the bounds, to avoid +read out of the array bounds. + +Closes https://gitlab.gnome.org/GNOME/libsoup/-/issues/447 + +CVE: CVE-2025-4969 +Upstream-Status: Backport +[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/467/diffs?commit_id=b5b4dd10d4810f0c87b4eaffe88504f06e502f33] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-multipart.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libsoup/soup-multipart.c b/libsoup/soup-multipart.c +index ce2fc10..a29cdf0 100644 +--- a/libsoup/soup-multipart.c ++++ b/libsoup/soup-multipart.c +@@ -108,7 +108,7 @@ find_boundary (const char *start, const char *end, + continue; + + /* Check that it's at start of line */ +- if (!(b == start || (b[-1] == '\n' && b[-2] == '\r'))) ++ if (!(b == start || (b - start >= 2 && b[-1] == '\n' && b[-2] == '\r'))) + continue; + + /* Check for "--" or "\r\n" after boundary */ +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +1 -0
@@ -36,6 +36,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-4476.patch \ file://CVE-2025-32907.patch \ file://CVE-2025-4948.patch \ + file://CVE-2025-4969.patch \ " SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13"
Signature · 1 line
2.43.0
PATCH 20/32 libsoup: fix CVE-2025-32914
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/436
--- .../libsoup/libsoup/CVE-2025-32914.patch | 112 ++++++++++++++++++ meta/recipes-support/libsoup/libsoup_3.6.5.bb | 3 +- 2 files changed, 114 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32914.patch
meta/recipes-support/libsoup/libsoup/CVE-2025-32914.patch new file +112 -0
@@ -0,0 +1,112 @@ +From 020d19f22b7e55f44febd17e237982665323e0bc Mon Sep 17 00:00:00 2001 +From: Milan Crha <[email protected]> +Date: Tue, 15 Apr 2025 09:03:00 +0200 +Subject: [PATCH] multipart: Fix read out of buffer bounds under + soup_multipart_new_from_message() + +This is CVE-2025-32914, special crafted input can cause read out of buffer bounds +of the body argument. + +Closes #436 + +CVE: CVE-2025-32914 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/450/diffs?commit_id=5bfcf8157597f2d327050114fb37ff600004dbcf] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-multipart.c | 2 +- + tests/multipart-test.c | 58 ++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 59 insertions(+), 1 deletion(-) + +diff --git a/libsoup/soup-multipart.c b/libsoup/soup-multipart.c +index 2421c91..102ce37 100644 +--- a/libsoup/soup-multipart.c ++++ b/libsoup/soup-multipart.c +@@ -173,7 +173,7 @@ soup_multipart_new_from_message (SoupMessageHeaders *headers, + return NULL; + } + +- split = strstr (start, "\r\n\r\n"); ++ split = g_strstr_len (start, body_end - start, "\r\n\r\n"); + if (!split || split > end) { + soup_multipart_free (multipart); + return NULL; +diff --git a/tests/multipart-test.c b/tests/multipart-test.c +index 2c0e7e9..f5b9868 100644 +--- a/tests/multipart-test.c ++++ b/tests/multipart-test.c +@@ -471,6 +471,62 @@ test_multipart (gconstpointer data) + loop = NULL; + } + ++static void ++test_multipart_bounds_good (void) ++{ ++ #define TEXT "line1\r\nline2" ++ SoupMultipart *multipart; ++ SoupMessageHeaders *headers, *set_headers = NULL; ++ GBytes *bytes, *set_bytes = NULL; ++ const char *raw_data = "--123\r\nContent-Type: text/plain;\r\n\r\n" TEXT "\r\n--123--\r\n"; ++ gboolean success; ++ ++ headers = soup_message_headers_new (SOUP_MESSAGE_HEADERS_MULTIPART); ++ soup_message_headers_append (headers, "Content-Type", "multipart/mixed; boundary=\"123\""); ++ ++ bytes = g_bytes_new (raw_data, strlen (raw_data)); ++ ++ multipart = soup_multipart_new_from_message (headers, bytes); ++ ++ g_assert_nonnull (multipart); ++ g_assert_cmpint (soup_multipart_get_length (multipart), ==, 1); ++ success = soup_multipart_get_part (multipart, 0, &set_headers, &set_bytes); ++ g_assert_true (success); ++ g_assert_nonnull (set_headers); ++ g_assert_nonnull (set_bytes); ++ g_assert_cmpint (strlen (TEXT), ==, g_bytes_get_size (set_bytes)); ++ g_assert_cmpstr ("text/plain", ==, soup_message_headers_get_content_type (set_headers, NULL)); ++ g_assert_cmpmem (TEXT, strlen (TEXT), g_bytes_get_data (set_bytes, NULL), g_bytes_get_size (set_bytes)); ++ ++ soup_message_headers_unref (headers); ++ g_bytes_unref (bytes); ++ ++ soup_multipart_free (multipart); ++ ++ #undef TEXT ++} ++ ++static void ++test_multipart_bounds_bad (void) ++{ ++ SoupMultipart *multipart; ++ SoupMessageHeaders *headers; ++ GBytes *bytes; ++ const char *raw_data = "--123\r\nContent-Type: text/plain;\r\nline1\r\nline2\r\n--123--\r\n"; ++ ++ headers = soup_message_headers_new (SOUP_MESSAGE_HEADERS_MULTIPART); ++ soup_message_headers_append (headers, "Content-Type", "multipart/mixed; boundary=\"123\""); ++ ++ bytes = g_bytes_new (raw_data, strlen (raw_data)); ++ ++ /* it did read out of raw_data/bytes bounds */ ++ multipart = soup_multipart_new_from_message (headers, bytes); ++ g_assert_null (multipart); ++ ++ soup_message_headers_unref (headers); ++ g_bytes_unref (bytes); ++} ++ + int + main (int argc, char **argv) + { +@@ -498,6 +554,8 @@ main (int argc, char **argv) + g_test_add_data_func ("/multipart/sync", GINT_TO_POINTER (SYNC_MULTIPART), test_multipart); + g_test_add_data_func ("/multipart/async", GINT_TO_POINTER (ASYNC_MULTIPART), test_multipart); + g_test_add_data_func ("/multipart/async-small-reads", GINT_TO_POINTER (ASYNC_MULTIPART_SMALL_READS), test_multipart); ++ g_test_add_func ("/multipart/bounds-good", test_multipart_bounds_good); ++ g_test_add_func ("/multipart/bounds-bad", test_multipart_bounds_bad); + + ret = g_test_run (); + +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup_3.6.5.bb +2 -1
@@ -11,7 +11,8 @@ DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 libpsl nghttp2" SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" -SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz" +SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ + file://CVE-2025-32914.patch" SRC_URI[sha256sum] = "6891765aac3e949017945c3eaebd8cc8216df772456dc9f460976fbdb7ada234" PROVIDES = "libsoup-3.0"
Signature · 1 line
2.43.0
PATCH 21/32 libsoup: fix CVE-2025-4476
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/440
--- .../libsoup/libsoup/CVE-2025-4476.patch | 39 +++++++++++++++++++ meta/recipes-support/libsoup/libsoup_3.6.5.bb | 3 +- 2 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-4476.patch
meta/recipes-support/libsoup/libsoup/CVE-2025-4476.patch new file +39 -0
@@ -0,0 +1,39 @@ +From 71d33e37139fee6216ad2bf4e926f987076a6cff Mon Sep 17 00:00:00 2001 +From: Michael Catanzaro <[email protected]> +Date: Thu, 8 May 2025 09:27:01 -0500 +Subject: [PATCH] auth-digest: fix crash in + soup_auth_digest_get_protection_space() + +We need to validate the Domain parameter in the WWW-Authenticate header. + +Unfortunately this crash only occurs when listening on default ports 80 +and 443, so there's no good way to test for this. The test would require +running as root. + +Fixes #440 + +CVE: CVE-2025-4476 +Upstream-Status: Backport +[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/457/diffs?commit_id=e64c221f9c7d09b48b610c5626b3b8c400f0907c] + +Signed-off-by: Changqing Li <[email protected] +--- + libsoup/auth/soup-auth-digest.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libsoup/auth/soup-auth-digest.c b/libsoup/auth/soup-auth-digest.c +index d8bb291..292f204 100644 +--- a/libsoup/auth/soup-auth-digest.c ++++ b/libsoup/auth/soup-auth-digest.c +@@ -220,7 +220,7 @@ soup_auth_digest_get_protection_space (SoupAuth *auth, GUri *source_uri) + if (uri && + g_strcmp0 (g_uri_get_scheme (uri), g_uri_get_scheme (source_uri)) == 0 && + g_uri_get_port (uri) == g_uri_get_port (source_uri) && +- !strcmp (g_uri_get_host (uri), g_uri_get_host (source_uri))) ++ !g_strcmp0 (g_uri_get_host (uri), g_uri_get_host (source_uri))) + dir = g_strdup (g_uri_get_path (uri)); + else + dir = NULL; +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup_3.6.5.bb +2 -1
@@ -12,7 +12,8 @@ DEPENDS = "glib-2.0 glib-2.0-native libxml2 sqlite3 libpsl nghttp2" SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ - file://CVE-2025-32914.patch" + file://CVE-2025-32914.patch \ + file://CVE-2025-4476.patch" SRC_URI[sha256sum] = "6891765aac3e949017945c3eaebd8cc8216df772456dc9f460976fbdb7ada234" PROVIDES = "libsoup-3.0"
Signature · 1 line
2.43.0
PATCH 22/32 libsoup: fix CVE-2025-32907
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/429
--- .../libsoup/libsoup/CVE-2025-32907-1.patch | 200 ++++++++++++++++++ .../libsoup/libsoup/CVE-2025-32907-2.patch | 68 ++++++ meta/recipes-support/libsoup/libsoup_3.6.5.bb | 4 +- 3 files changed, 271 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32907-1.patch create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32907-2.patch
meta/recipes-support/libsoup/libsoup/CVE-2025-32907-1.patch new file +200 -0
@@ -0,0 +1,200 @@ +From 7507b0713c2f02af1cd561ebb99477e0a099419d Mon Sep 17 00:00:00 2001 +From: Milan Crha <[email protected]> +Date: Tue, 15 Apr 2025 12:17:39 +0200 +Subject: [PATCH 1/2] soup-message-headers: Correct merge of ranges + +It had been skipping every second range, which generated an array +of a lot of insane ranges, causing large memory usage by the server. + +Closes #428 + +Part-of: <https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/452> + +CVE: CVE-2025-32907 +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/452/commits] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-message-headers.c | 1 + + tests/meson.build | 1 + + tests/server-mem-limit-test.c | 144 +++++++++++++++++++++++++++++++++ + 3 files changed, 146 insertions(+) + create mode 100644 tests/server-mem-limit-test.c + +diff --git a/libsoup/soup-message-headers.c b/libsoup/soup-message-headers.c +index ee7a3cb..f101d4b 100644 +--- a/libsoup/soup-message-headers.c ++++ b/libsoup/soup-message-headers.c +@@ -1244,6 +1244,7 @@ soup_message_headers_get_ranges_internal (SoupMessageHeaders *hdrs, + if (cur->start <= prev->end) { + prev->end = MAX (prev->end, cur->end); + g_array_remove_index (array, i); ++ i--; + } + } + } +diff --git a/tests/meson.build b/tests/meson.build +index ee118a0..8e7b51d 100644 +--- a/tests/meson.build ++++ b/tests/meson.build +@@ -102,6 +102,7 @@ tests = [ + {'name': 'samesite'}, + {'name': 'session'}, + {'name': 'server-auth'}, ++ {'name': 'server-mem-limit'}, + {'name': 'server'}, + {'name': 'sniffing', + 'depends': [test_resources], +diff --git a/tests/server-mem-limit-test.c b/tests/server-mem-limit-test.c +new file mode 100644 +index 0000000..98f1c40 +--- /dev/null ++++ b/tests/server-mem-limit-test.c +@@ -0,0 +1,144 @@ ++/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 8 -*- */ ++/* ++ * Copyright (C) 2025 Red Hat <www.redhat.com> ++ */ ++ ++#include "test-utils.h" ++ ++#include <sys/resource.h> ++ ++/* ++ This test limits memory usage to trigger too large buffer allocation crash. ++ As restoring the limits back to what it was does not always work, it's split ++ out of the server-test.c test with copied minimal server code. ++ */ ++ ++typedef struct { ++ SoupServer *server; ++ GUri *base_uri, *ssl_base_uri; ++ GSList *handlers; ++} ServerData; ++ ++static void ++server_setup_nohandler (ServerData *sd, gconstpointer test_data) ++{ ++ sd->server = soup_test_server_new (SOUP_TEST_SERVER_IN_THREAD); ++ sd->base_uri = soup_test_server_get_uri (sd->server, "http", NULL); ++ if (tls_available) ++ sd->ssl_base_uri = soup_test_server_get_uri (sd->server, "https", NULL); ++} ++ ++static void ++server_add_handler (ServerData *sd, ++ const char *path, ++ SoupServerCallback callback, ++ gpointer user_data, ++ GDestroyNotify destroy) ++{ ++ soup_server_add_handler (sd->server, path, callback, user_data, destroy); ++ sd->handlers = g_slist_prepend (sd->handlers, g_strdup (path)); ++} ++ ++static void ++server_setup (ServerData *sd, gconstpointer test_data) ++{ ++ server_setup_nohandler (sd, test_data); ++} ++ ++static void ++server_teardown (ServerData *sd, gconstpointer test_data) ++{ ++ GSList *iter; ++ ++ for (iter = sd->handlers; iter; iter = iter->next) ++ soup_server_remove_handler (sd->server, iter->data); ++ g_slist_free_full (sd->handlers, g_free); ++ ++ g_clear_pointer (&sd->server, soup_test_server_quit_unref); ++ g_clear_pointer (&sd->base_uri, g_uri_unref); ++ g_clear_pointer (&sd->ssl_base_uri, g_uri_unref); ++} ++ ++static void ++server_file_callback (SoupServer *server, ++ SoupServerMessage *msg, ++ const char *path, ++ GHashTable *query, ++ gpointer data) ++{ ++ void *mem; ++ ++ g_assert_cmpstr (path, ==, "/file"); ++ g_assert_cmpstr (soup_server_message_get_method (msg), ==, SOUP_METHOD_GET); ++ ++ mem = g_malloc0 (sizeof (char) * 1024 * 1024); ++ /* fedora-scan CI claims a warning about possibly leaked `mem` variable, thus use ++ the copy and free it explicitly, to workaround the false positive; the g_steal_pointer() ++ did not help for the malloc-ed memory */ ++ soup_server_message_set_response (msg, "application/octet-stream", SOUP_MEMORY_COPY, mem, sizeof (char) * 1024 *1024); ++ soup_server_message_set_status (msg, SOUP_STATUS_OK, NULL); ++ g_free (mem); ++} ++ ++static void ++do_ranges_overlaps_test (ServerData *sd, gconstpointer test_data) ++{ ++ SoupSession *session; ++ SoupMessage *msg; ++ GString *range; ++ GUri *uri; ++ const char *chunk = ",0,0,0,0,0,0,0,0,0,0,0"; ++ ++ g_test_bug ("428"); ++ ++ #ifdef G_OS_WIN32 ++ g_test_skip ("Cannot run under windows"); ++ return; ++ #endif ++ ++ range = g_string_sized_new (99 * 1024); ++ g_string_append (range, "bytes=1024"); ++ while (range->len < 99 * 1024) ++ g_string_append (range, chunk); ++ ++ session = soup_test_session_new (NULL); ++ server_add_handler (sd, "/file", server_file_callback, NULL, NULL); ++ ++ uri = g_uri_parse_relative (sd->base_uri, "/file", SOUP_HTTP_URI_FLAGS, NULL); ++ ++ msg = soup_message_new_from_uri ("GET", uri); ++ soup_message_headers_append (soup_message_get_request_headers (msg), "Range", range->str); ++ ++ soup_test_session_send_message (session, msg); ++ ++ soup_test_assert_message_status (msg, SOUP_STATUS_PARTIAL_CONTENT); ++ ++ g_object_unref (msg); ++ ++ g_string_free (range, TRUE); ++ g_uri_unref (uri); ++ ++ soup_test_session_abort_unref (session); ++} ++ ++int ++main (int argc, char **argv) ++{ ++ int ret; ++ ++ test_init (argc, argv, NULL); ++ ++ #ifndef G_OS_WIN32 ++ struct rlimit new_rlimit = { 1024 * 1024 * 64, 1024 * 1024 * 64 }; ++ /* limit memory usage, to trigger too large memory allocation abort */ ++ g_assert_cmpint (setrlimit (RLIMIT_DATA, &new_rlimit), ==, 0); ++ #endif ++ ++ g_test_add ("/server-mem/range-overlaps", ServerData, NULL, ++ server_setup, do_ranges_overlaps_test, server_teardown); ++ ++ ret = g_test_run (); ++ ++ test_cleanup (); ++ return ret; ++} +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup/CVE-2025-32907-2.patch new file +68 -0
68 lines not on this page · raw message
meta/recipes-support/libsoup/libsoup_3.6.5.bb +3 -1
@@ -13,7 +13,9 @@ SHRT_VER = "${@d.getVar('PV').split('.')[0]}.${@d.getVar('PV').split('.')[1]}" SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32914.patch \ - file://CVE-2025-4476.patch" + file://CVE-2025-4476.patch \ + file://CVE-2025-32907-1.patch \ + file://CVE-2025-32907-2.patch" SRC_URI[sha256sum] = "6891765aac3e949017945c3eaebd8cc8216df772456dc9f460976fbdb7ada234" PROVIDES = "libsoup-3.0"
Signature · 1 line
2.43.0
PATCH 23/32 libsoup: fix CVE-2025-32908
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/429
--- .../libsoup/libsoup/CVE-2025-32908-1.patch | 89 +++++++++++++++++++ .../libsoup/libsoup/CVE-2025-32908-2.patch | 53 +++++++++++ meta/recipes-support/libsoup/libsoup_3.6.5.bb | 4 +- 3 files changed, 145 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32908-1.patch create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32908-2.patch
meta/recipes-support/libsoup/libsoup/CVE-2025-32908-1.patch new file +89 -0
@@ -0,0 +1,89 @@ +From 56b8eb061a02c4e99644d6f1e62e601d0d814beb Mon Sep 17 00:00:00 2001 +From: Milan Crha <[email protected]> +Date: Tue, 15 Apr 2025 09:59:05 +0200 +Subject: [PATCH 1/2] soup-server-http2: Check validity of the constructed + connection URI + +The HTTP/2 pseudo-headers can contain invalid values, which the GUri rejects +and returns NULL, but the soup-server did not check the validity and could +abort the server itself later in the code. + +Closes #429 + +CVE: CVE-2025-32908 +Upstream-Status: Backport +[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/451/diffs?commit_id=a792b23ab87cacbf4dd9462bf7b675fa678efbae] + +Signed-off-by: Changqing Li <[email protected]> +--- + .../http2/soup-server-message-io-http2.c | 4 +++ + tests/http2-test.c | 28 +++++++++++++++++++ + 2 files changed, 32 insertions(+) + +diff --git a/libsoup/server/http2/soup-server-message-io-http2.c b/libsoup/server/http2/soup-server-message-io-http2.c +index 943ecfd..f1fe2d5 100644 +--- a/libsoup/server/http2/soup-server-message-io-http2.c ++++ b/libsoup/server/http2/soup-server-message-io-http2.c +@@ -771,9 +771,13 @@ on_frame_recv_callback (nghttp2_session *session, + char *uri_string; + GUri *uri; + ++ if (msg_io->scheme == NULL || msg_io->authority == NULL || msg_io->path == NULL) ++ return NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE; + uri_string = g_strdup_printf ("%s://%s%s", msg_io->scheme, msg_io->authority, msg_io->path); + uri = g_uri_parse (uri_string, SOUP_HTTP_URI_FLAGS, NULL); + g_free (uri_string); ++ if (uri == NULL) ++ return NGHTTP2_ERR_TEMPORAL_CALLBACK_FAILURE; + soup_server_message_set_uri (msg_io->msg, uri); + g_uri_unref (uri); + +diff --git a/tests/http2-test.c b/tests/http2-test.c +index ef097f4..df86d9b 100644 +--- a/tests/http2-test.c ++++ b/tests/http2-test.c +@@ -1241,6 +1241,30 @@ do_connection_closed_test (Test *test, gconstpointer data) + g_uri_unref (uri); + } + ++static void ++do_broken_pseudo_header_test (Test *test, gconstpointer data) ++{ ++ char *path; ++ SoupMessage *msg; ++ GUri *uri; ++ GBytes *body = NULL; ++ GError *error = NULL; ++ ++ uri = g_uri_parse_relative (base_uri, "/ag", SOUP_HTTP_URI_FLAGS, NULL); ++ ++ /* an ugly cheat to construct a broken URI, which can be sent from other libs */ ++ path = (char *) g_uri_get_path (uri); ++ path[1] = '%'; ++ ++ msg = soup_message_new_from_uri (SOUP_METHOD_GET, uri); ++ body = soup_test_session_async_send (test->session, msg, NULL, &error); ++ g_assert_error (error, G_IO_ERROR, G_IO_ERROR_PARTIAL_INPUT); ++ g_assert_null (body); ++ g_clear_error (&error); ++ g_object_unref (msg); ++ g_uri_unref (uri); ++} ++ + static gboolean + unpause_message (SoupServerMessage *msg) + { +@@ -1549,6 +1573,10 @@ main (int argc, char **argv) + setup_session, + do_connection_closed_test, + teardown_session); ++ g_test_add ("/http2/broken-pseudo-header", Test, NULL, ++ setup_session, ++ do_broken_pseudo_header_test, ++ teardown_session); + + ret = g_test_run (); + +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup/CVE-2025-32908-2.patch new file +53 -0
53 lines not on this page · raw message
meta/recipes-support/libsoup/libsoup_3.6.5.bb +3 -1
@@ -15,7 +15,9 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32914.patch \ file://CVE-2025-4476.patch \ file://CVE-2025-32907-1.patch \ - file://CVE-2025-32907-2.patch" + file://CVE-2025-32907-2.patch \ + file://CVE-2025-32908-1.patch \ + file://CVE-2025-32908-2.patch" SRC_URI[sha256sum] = "6891765aac3e949017945c3eaebd8cc8216df772456dc9f460976fbdb7ada234" PROVIDES = "libsoup-3.0"
Signature · 1 line
2.43.0
PATCH 24/32 libsoup: fix CVE-2025-4948
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/449
--- .../libsoup/libsoup/CVE-2025-4948.patch | 97 +++++++++++++++++++ meta/recipes-support/libsoup/libsoup_3.6.5.bb | 4 +- 2 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-4948.patch
meta/recipes-support/libsoup/libsoup/CVE-2025-4948.patch new file +97 -0
@@ -0,0 +1,97 @@ +From 0076a5ef3f2a3d11805438e7fd90775f8c40569e Mon Sep 17 00:00:00 2001 +From: Milan Crha <[email protected]> +Date: Thu, 15 May 2025 17:49:11 +0200 +Subject: [PATCH] soup-multipart: Verify boundary limits for multipart body + +It could happen that the boundary started at a place which resulted into +a negative number, which in an unsigned integer is a very large value. +Check the body size is not a negative value before setting it. + +Closes https://gitlab.gnome.org/GNOME/libsoup/-/issues/449 + +Part-of: <https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/463> + +CVE: CVE-2025-4948 +Upstream-Status: Backport +[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/463/diffs?commit_id=f2f28afe0b3b2b3009ab67d6874457ec6bac70c0] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-multipart.c | 2 +- + tests/multipart-test.c | 40 ++++++++++++++++++++++++++++++++++++++++ + 2 files changed, 41 insertions(+), 1 deletion(-) + +diff --git a/libsoup/soup-multipart.c b/libsoup/soup-multipart.c +index 102ce37..a587fe7 100644 +--- a/libsoup/soup-multipart.c ++++ b/libsoup/soup-multipart.c +@@ -204,7 +204,7 @@ soup_multipart_new_from_message (SoupMessageHeaders *headers, + */ + part_body = g_bytes_new_from_bytes (body, // FIXME + split - body_data, +- end - 2 - split); ++ end - 2 >= split ? end - 2 - split : 0); + g_ptr_array_add (multipart->bodies, part_body); + + start = end; +diff --git a/tests/multipart-test.c b/tests/multipart-test.c +index f5b9868..92b673e 100644 +--- a/tests/multipart-test.c ++++ b/tests/multipart-test.c +@@ -527,6 +527,45 @@ test_multipart_bounds_bad (void) + g_bytes_unref (bytes); + } + ++static void ++test_multipart_too_large (void) ++{ ++ const char *raw_body = ++ "-------------------\r\n" ++ "-\n" ++ "Cont\"\r\n" ++ "Content-Tynt----e:n\x8erQK\r\n" ++ "Content-Disposition: name= form-; name=\"file\"; filename=\"ype:i/ -d; ----\xae\r\n" ++ "Content-Typimag\x01/png--\\\n" ++ "\r\n" ++ "---:\n\r\n" ++ "\r\n" ++ "-------------------------------------\r\n" ++ "---------\r\n" ++ "----------------------"; ++ GBytes *body; ++ GHashTable *params; ++ SoupMessageHeaders *headers; ++ SoupMultipart *multipart; ++ ++ params = g_hash_table_new (g_str_hash, g_str_equal); ++ g_hash_table_insert (params, (gpointer) "boundary", (gpointer) "-----------------"); ++ headers = soup_message_headers_new (SOUP_MESSAGE_HEADERS_MULTIPART); ++ soup_message_headers_set_content_type (headers, "multipart/form-data", params); ++ g_hash_table_unref (params); ++ ++ body = g_bytes_new_static (raw_body, strlen (raw_body)); ++ multipart = soup_multipart_new_from_message (headers, body); ++ soup_message_headers_unref (headers); ++ g_bytes_unref (body); ++ ++ g_assert_nonnull (multipart); ++ g_assert_cmpint (soup_multipart_get_length (multipart), ==, 1); ++ g_assert_true (soup_multipart_get_part (multipart, 0, &headers, &body)); ++ g_assert_cmpint (g_bytes_get_size (body), ==, 0); ++ soup_multipart_free (multipart); ++} ++ + int + main (int argc, char **argv) + { +@@ -556,6 +595,7 @@ main (int argc, char **argv) + g_test_add_data_func ("/multipart/async-small-reads", GINT_TO_POINTER (ASYNC_MULTIPART_SMALL_READS), test_multipart); + g_test_add_func ("/multipart/bounds-good", test_multipart_bounds_good); + g_test_add_func ("/multipart/bounds-bad", test_multipart_bounds_bad); ++ g_test_add_func ("/multipart/too-large", test_multipart_too_large); + + ret = g_test_run (); + +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup_3.6.5.bb +3 -1
@@ -17,7 +17,9 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32907-1.patch \ file://CVE-2025-32907-2.patch \ file://CVE-2025-32908-1.patch \ - file://CVE-2025-32908-2.patch" + file://CVE-2025-32908-2.patch \ + file://CVE-2025-4948.patch \ +" SRC_URI[sha256sum] = "6891765aac3e949017945c3eaebd8cc8216df772456dc9f460976fbdb7ada234" PROVIDES = "libsoup-3.0"
Signature · 1 line
2.43.0
PATCH 25/32 libsoup: fix CVE-2025-4969
In reply to Steve SakomanFrom: Changqing Li <[email protected]>
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/447
--- .../libsoup/libsoup/CVE-2025-4969.patch | 78 +++++++++++++++++++ meta/recipes-support/libsoup/libsoup_3.6.5.bb | 1 + 2 files changed, 79 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-4969.patch
meta/recipes-support/libsoup/libsoup/CVE-2025-4969.patch new file +78 -0
@@ -0,0 +1,78 @@ +From e8ef88ed86929c9a0dc343a4c7d29a8f2bcf400f Mon Sep 17 00:00:00 2001 +From: Milan Crha <[email protected]> +Date: Mon, 19 May 2025 17:48:27 +0200 +Subject: [PATCH] soup-multipart: Verify array bounds before accessing its + members + +The boundary could be at a place which, calculated, pointed +before the beginning of the array. Check the bounds, to avoid +read out of the array bounds. + +Closes https://gitlab.gnome.org/GNOME/libsoup/-/issues/447 + +CVE: CVE-2025-4969 +Upstream-Status: Backport +[https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/467/commits] + +Signed-off-by: Changqing Li <[email protected]> +--- + libsoup/soup-multipart.c | 2 +- + tests/multipart-test.c | 22 ++++++++++++++++++++++ + 2 files changed, 23 insertions(+), 1 deletion(-) + +diff --git a/libsoup/soup-multipart.c b/libsoup/soup-multipart.c +index a587fe7..27257e4 100644 +--- a/libsoup/soup-multipart.c ++++ b/libsoup/soup-multipart.c +@@ -104,7 +104,7 @@ find_boundary (const char *start, const char *end, + continue; + + /* Check that it's at start of line */ +- if (!(b == start || (b[-1] == '\n' && b[-2] == '\r'))) ++ if (!(b == start || (b - start >= 2 && b[-1] == '\n' && b[-2] == '\r'))) + continue; + + /* Check for "--" or "\r\n" after boundary */ +diff --git a/tests/multipart-test.c b/tests/multipart-test.c +index 92b673e..3792563 100644 +--- a/tests/multipart-test.c ++++ b/tests/multipart-test.c +@@ -527,6 +527,27 @@ test_multipart_bounds_bad (void) + g_bytes_unref (bytes); + } + ++static void ++test_multipart_bounds_bad_2 (void) ++{ ++ SoupMultipart *multipart; ++ SoupMessageHeaders *headers; ++ GBytes *bytes; ++ const char *raw_data = "\n--123\r\nline\r\n--123--\r"; ++ ++ headers = soup_message_headers_new (SOUP_MESSAGE_HEADERS_MULTIPART); ++ soup_message_headers_append (headers, "Content-Type", "multipart/mixed; boundary=\"123\""); ++ ++ bytes = g_bytes_new (raw_data, strlen (raw_data)); ++ ++ multipart = soup_multipart_new_from_message (headers, bytes); ++ g_assert_nonnull (multipart); ++ ++ soup_multipart_free (multipart); ++ soup_message_headers_unref (headers); ++ g_bytes_unref (bytes); ++} ++ + static void + test_multipart_too_large (void) + { +@@ -595,6 +616,7 @@ main (int argc, char **argv) + g_test_add_data_func ("/multipart/async-small-reads", GINT_TO_POINTER (ASYNC_MULTIPART_SMALL_READS), test_multipart); + g_test_add_func ("/multipart/bounds-good", test_multipart_bounds_good); + g_test_add_func ("/multipart/bounds-bad", test_multipart_bounds_bad); ++ g_test_add_func ("/multipart/bounds-bad-2", test_multipart_bounds_bad_2); + g_test_add_func ("/multipart/too-large", test_multipart_too_large); + + ret = g_test_run (); +-- +2.34.1 +
meta/recipes-support/libsoup/libsoup_3.6.5.bb +1 -0
@@ -19,6 +19,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32908-1.patch \ file://CVE-2025-32908-2.patch \ file://CVE-2025-4948.patch \ + file://CVE-2025-4969.patch \ " SRC_URI[sha256sum] = "6891765aac3e949017945c3eaebd8cc8216df772456dc9f460976fbdb7ada234"
Signature · 1 line
2.43.0
PATCH 26/32 binutils: Fix CVE-2025-1181
In reply to Steve SakomanFrom: Deepesh Varatharajan <[email protected]>
PR 32641 [https://sourceware.org/bugzilla/show_bug.cgi?id=32641]
PR 32643 [https://sourceware.org/bugzilla/show_bug.cgi?id=32643]
Upstream-Status: Backport
[https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=18cc11a2771d9e40180485da9a4fb660c03efac3
&& https://sourceware.org/git/?p=binutils-gdb.git;a=commitdiff;h=931494c9a89558acb36a03a340c01726545eef24]
--- .../binutils/binutils-2.44.inc | 2 + .../binutils/0016-CVE-2025-1181-1.patch | 141 ++++++++ .../binutils/0017-CVE-2025-1181-2.patch | 337 ++++++++++++++++++ 3 files changed, 480 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/0016-CVE-2025-1181-1.patch create mode 100644 meta/recipes-devtools/binutils/binutils/0017-CVE-2025-1181-2.patch
meta/recipes-devtools/binutils/binutils-2.44.inc +2 -0
@@ -38,5 +38,7 @@ SRC_URI = "\ file://0015-CVE-2025-1178.patch \ file://CVE-2025-1180.patch \ file://CVE-2025-1182.patch \ + file://0016-CVE-2025-1181-1.patch \ + file://0017-CVE-2025-1181-2.patch \ " S = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils/0016-CVE-2025-1181-1.patch new file +141 -0
141 lines not on this page · raw message
meta/recipes-devtools/binutils/binutils/0017-CVE-2025-1181-2.patch new file +337 -0
337 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH 27/32 binutils: Fix CVE-2025-5244
In reply to Steve SakomanFrom: Deepesh Varatharajan <[email protected]>
PR32858 ld segfault on fuzzed object
We missed one place where it is necessary to check for empty groups.
Backport a patch from upstream to fix CVE-2025-5244
Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=d1458933830456e54223d9fc61f0d9b3a19256f5]
--- .../binutils/binutils-2.44.inc | 1 + .../binutils/0016-CVE-2025-5244.patch | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 meta/recipes-devtools/binutils/binutils/0016-CVE-2025-5244.patch
meta/recipes-devtools/binutils/binutils-2.44.inc +1 -0
@@ -40,5 +40,6 @@ SRC_URI = "\ file://CVE-2025-1182.patch \ file://0016-CVE-2025-1181-1.patch \ file://0017-CVE-2025-1181-2.patch \ + file://0016-CVE-2025-5244.patch \ " S = "${WORKDIR}/git"
meta/recipes-devtools/binutils/binutils/0016-CVE-2025-5244.patch new file +25 -0
@@ -0,0 +1,25 @@ +From: Alan Modra <[email protected]> +Date: Thu, 10 Apr 2025 19:41:49 +0930 + +Upstream-Status: Backport [https://sourceware.org/git/?p=binutils-gdb.git;a=patch;h=d1458933830456e54223d9fc61f0d9b3a19256f5] +CVE: CVE-2025-5244 + +PR32858 ld segfault on fuzzed object +We missed one place where it is necessary to check for empty groups. + +Signed-off-by: Deepesh Varatharajan <[email protected]> + +diff --git a/bfd/elflink.c b/bfd/elflink.c +index a76e8e38da7..549b7b7dd92 100644 +--- a/bfd/elflink.c ++++ b/bfd/elflink.c +@@ -14408,7 +14408,8 @@ elf_gc_sweep (bfd *abfd, struct bfd_link_info *info) + if (o->flags & SEC_GROUP) + { + asection *first = elf_next_in_group (o); +- o->gc_mark = first->gc_mark; ++ if (first != NULL) ++ o->gc_mark = first->gc_mark; + } + + if (o->gc_mark)
Signature · 1 line
2.43.0
PATCH 28/32 systemd.bbclass: generate preset for templates
In reply to Steve SakomanFrom: Patrick Williams <[email protected]>
There was a regression introduced by the change to use systemd-systemctl-native rather than a python fake implementation, which caused template units to not be properly enabled when set in the SYSTEMD_SERVICE variable. Through investigation, it seems that the best way to re-enable template instances is to handle them explicitly in the systemd.bbclass and enable them with preset, like most units are handled[1,2].
Per the systemd.preset manpage, the format for template units is different than for regular units[3]. We need to coalesce all the template instances onto a single line and emit them as an additional space-deliminated argument.
Ran this against openbmc's phosphor-ipmi-net recipe and generated the following preset file:
``` $ cat packages-split/phosphor-ipmi-net/usr/lib/systemd/system-preset/98-phosphor-ipmi-net.preset enable [email protected] eth0 enable [email protected] eth0 ```
[1]: https://lore.kernel.org/openembedded-core/[email protected]/
[2]: https://lore.kernel.org/openembedded-core/aDdoTVtCmElpURYD@heinlein/
[3]: https://www.freedesktop.org/software/systemd/man/latest/systemd.preset.html
(From OE-Core rev: f33d9b1f434e40a459614d8dc21ce45e11581008)
--- meta/classes-recipe/systemd.bbclass | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)
meta/classes-recipe/systemd.bbclass +10 -1
@@ -224,6 +224,8 @@ python systemd_populate_packages() { service, pkg_systemd, "Also looked for service unit '{0}'.".format(base) if base is not None else "")) def systemd_create_presets(pkg, action, user): + import re + # Check there is at least one service of given type (system/user), don't # create empty files. needs_preset = False
@@ -239,10 +241,17 @@ python systemd_populate_packages() { presetf = oe.path.join(d.getVar("PKGD"), d.getVar("systemd_unitdir"), "%s-preset/98-%s.preset" % (prefix, pkg)) bb.utils.mkdirhier(os.path.dirname(presetf)) with open(presetf, 'a') as fd: + template_services = {} for service in d.getVar('SYSTEMD_SERVICE:%s' % pkg).split(): if not systemd_service_exists(service, user, d): continue - fd.write("%s %s\n" % (action,service)) + if '@' in service and '@.' not in service: + (servicename, instance, service_type) = re.split('[@.]', service) + template_services.setdefault(servicename + '@.' + service_type, []).append(instance) + else: + fd.write("%s %s\n" % (action,service)) + for template, instances in template_services.items(): + fd.write("%s %s %s\n" % (action, template, ' '.join(instances))) d.appendVar("FILES:%s" % pkg, ' ' + oe.path.join(d.getVar("systemd_unitdir"), "%s-preset/98-%s.preset" % (prefix, pkg))) # Run all modifications once when creating package
Signature · 1 line
2.43.0
PATCH 29/32 python3: remove obsolete deletion of non-deterministic .pyc files
In reply to Steve SakomanFrom: Ross Burton <[email protected]>
These .pyc files were non-deterministic because they used frozensets[1], but this has been fixed in 3.11 onwards.
[1] https://github.com/python/cpython/issues/81777
[2] https://github.com/python/cpython/commit/51999c960e7fc45feebd629421dec6524a5fc803
(From OE-Core rev: c8c391ed3e0598a3bea7bc0981126d870315063d)
--- meta/recipes-devtools/python/python3_3.13.2.bb | 14 -------------- 1 file changed, 14 deletions(-)
meta/recipes-devtools/python/python3_3.13.2.bb +0 -14
@@ -235,20 +235,6 @@ do_install:append() { $sysconfigfile cp $sysconfigfile ${D}${libdir}/python-sysconfigdata/_sysconfigdata.py - - # Unfortunately the following pyc files are non-deterministc due to 'frozenset' - # being written without strict ordering, even with PYTHONHASHSEED = 0 - # Upstream is discussing ways to solve the issue properly, until then let's - # just not install the problematic files. - # More info: http://benno.id.au/blog/2013/01/15/python-determinism - rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_range.cpython* - rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/test/__pycache__/test_xml_etree.cpython* - - # Similar to the above, we're getting reproducibility issues with - # /usr/lib/python3.10/__pycache__/traceback.cpython-310.pyc - # so remove it too - rm -f ${D}${libdir}/python${PYTHON_MAJMIN}/__pycache__/traceback.cpython* - # Remove the opt-1.pyc and opt-2.pyc files. They effectively waste space on embedded # style targets as they're only used when python is called with the -O or -OO options # which is rare.
Signature · 1 line
2.43.0
PATCH 30/32 python3: backport the full fix for importlib scanning invalid distributions
In reply to Steve SakomanFrom: Ross Burton <[email protected]>
Even with our fixes in deterministic_imports.patch the importlib.metadata package scan was still returning Distribution objects for empty directories. This interacts badly with rebuilds when recipes are changing as when a recipe is removed from the sysroot directories are not removed[1].
In particular this breaks python3-meson-python-native rebuilds when Meson upgrades from 1.7 to 1.8: the site-packages directory has an empty meson-1.7.dist-info/ and populated meson-1.8.dist-info/. Whilst it's deterministic to return the empty 1.7 first, this breaks pypa/build as it looks through the distributions in order.
We had discussed this with upstream previously and there's a more comprehensive fix upstream (actually in importlib_metadata, not cpython) which ensures that valid distribution objects are listed first. So we can drop our patch and replace it with a backport to fix these rebuilds.
[1] oe-core 4f94d929639 ("sstate/staging: Handle directory creation race issue")
(From OE-Core rev: 73de8daa6293403f5b92d313af32882c47bce396)
--- .../python3/deterministic_imports.patch | 39 ----- .../python/python3/valid-dists.patch | 160 ++++++++++++++++++ .../recipes-devtools/python/python3_3.13.2.bb | 2 +- 3 files changed, 161 insertions(+), 40 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3/deterministic_imports.patch create mode 100644 meta/recipes-devtools/python/python3/valid-dists.patch
meta/recipes-devtools/python/python3/deterministic_imports.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 0a02e3b85176a5ce4dd98830bb65dac8596142e9 Mon Sep 17 00:00:00 2001 -From: Richard Purdie <[email protected]> -Date: Fri, 27 May 2022 17:05:44 +0100 -Subject: [PATCH] python3: Ensure stale empty python module directories don't - -There are two issues here. Firstly, the modules are accessed in on disk order. This -means behaviour seen on one system might not reproduce on another and is a real headache. - -Secondly, empty directories left behind by previous modules might be looked at. This -has caused a long string of different issues for us. - -As a result, patch this to a behaviour which works for us. - -Upstream-Status: Submitted [https://github.com/python/cpython/issues/120492; need to first talk to upstream to see if they'll take one or both fixes] -Signed-off-by: Richard Purdie <[email protected]> ---- - Lib/importlib/metadata/__init__.py | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/Lib/importlib/metadata/__init__.py b/Lib/importlib/metadata/__init__.py -index 8ce62dd..a6ea6e9 100644 ---- a/Lib/importlib/metadata/__init__.py -+++ b/Lib/importlib/metadata/__init__.py -@@ -786,7 +786,14 @@ class Lookup: - self.infos = FreezableDefaultDict(list) - self.eggs = FreezableDefaultDict(list) - -- for child in path.children(): -+ for child in sorted(path.children()): -+ childpath = pathlib.Path(path.root, child) -+ try: -+ if childpath.is_dir() and not any(childpath.iterdir()): -+ # Empty directories aren't interesting -+ continue -+ except PermissionError: -+ continue - low = child.lower() - if low.endswith((".dist-info", ".egg-info")): - # rpartition is faster than splitext and suitable for this purpose.
meta/recipes-devtools/python/python3/valid-dists.patch new file +160 -0
160 lines not on this page · raw message
meta/recipes-devtools/python/python3_3.13.2.bb +1 -1
@@ -20,7 +20,7 @@ SRC_URI = "http://www.python.org/ftp/python/${PV}/Python-${PV}.tar.xz \ file://makerace.patch \ file://0001-sysconfig.py-use-platlibdir-also-for-purelib.patch \ file://0001-Lib-pty.py-handle-stdin-I-O-errors-same-way-as-maste.patch \ - file://deterministic_imports.patch \ + file://valid-dists.patch \ file://0001-Avoid-shebang-overflow-on-python-config.py.patch \ file://0001-Update-test_sysconfig-for-posix_user-purelib.patch \ file://0001-skip-no_stdout_fileno-test-due-to-load-variability.patch \
Signature · 1 line
2.43.0
PATCH 31/32 python3: upgrade 3.13.2 -> 3.13.3
In reply to Steve SakomanFrom: Trevor Gamblin <[email protected]>
This adds some security fixes and many new changes to the library.
Changelog: https://docs.python.org/3/whatsnew/changelog.html#python-3-13-3-final
Modify 0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch to remove 'test_types' from the pgo-wrapper call, since that fails now under qemu.
Reproducibility looks OK.
ptest results OK:
|== Tests result: SUCCESS == | |29 tests skipped: | test.test_asyncio.test_windows_events | test.test_asyncio.test_windows_utils test.test_gdb.test_backtrace | test.test_gdb.test_cfunction test.test_gdb.test_cfunction_full | test.test_gdb.test_misc test.test_gdb.test_pretty_print | test_android test_apple test_asdl_parser test_clinic test_devpoll | test_free_threading test_generated_cases test_idle test_ioctl | test_kqueue test_launcher test_msvcrt test_startfile test_tcl | test_tkinter test_ttk test_ttk_textonly test_turtle test_winapi | test_winconsoleio test_winreg test_wmi | |9 tests skipped (resource denied): | test_curses test_peg_generator test_pyrepl test_smtpnet | test_socketserver test_urllib2net test_urllibnet test_winsound | test_zipfile64 | |442 tests OK. | |Total duration: 2 min 48 sec |Total tests: run=43,896 skipped=2,268 |Total test files: run=471/480 skipped=29 resource_denied=9 |Result: SUCCESS |DURATION: 169 |END: /usr/lib/python3/ptest |2025-05-12T12:34 |STOP: ptest-runner |TOTAL: 1 FAIL: 0 |root@qemux86-64:~#
(From OE-Core rev: 063d5a5fb2f71b523f378b95167553b28804c3ad)
---
...e-use-qemu-wrapper-when-gathering-profile.patch | 14 +++++++++++---
.../{python3_3.13.2.bb => python3_3.13.3.bb} | 2 +-
2 files changed, 12 insertions(+), 4 deletions(-)
rename meta/recipes-devtools/python/{python3_3.13.2.bb => python3_3.13.3.bb} (99%)meta/recipes-devtools/python/python3/0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch +11 -3
@@ -1,16 +1,21 @@ -From 701720a5bab5b42fd7520fd9dd95fd2c7e42c186 Mon Sep 17 00:00:00 2001 +From e7a8a7385f561f214054cf95f0a22bfa064eee0b Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Wed, 30 Jan 2019 12:41:04 +0100 Subject: [PATCH] Makefile.pre: use qemu wrapper when gathering profile data Upstream-Status: Inappropriate [oe-core specific] Signed-off-by: Alexander Kanavin <[email protected]> + +Update to remove test_types from the test list, since that fails under +qemu now. + +Signed-off-by: Trevor Gamblin <[email protected]> --- Makefile.pre.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index f9932dd..be1b9ea 100644 +index 3bd4495f95b..8e8fc60bc76 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -751,8 +751,7 @@ profile-run-stamp:
@@ -19,7 +24,10 @@ index f9932dd..be1b9ea 100644 # Next, run the profile task to generate the profile information. - @ # FIXME: can't run for a cross build - $(LLVM_PROF_FILE) $(RUNSHARED) ./$(BUILDPYTHON) $(PROFILE_TASK) -+ ./pgo-wrapper ./python -m test.regrtest --pgo test_grammar test_opcodes test_dict test_types ++ ./pgo-wrapper ./python -m test.regrtest --pgo test_grammar test_opcodes test_dict $(LLVM_PROF_MERGER) # Remove profile generation binary since we are done with it. $(MAKE) clean-retain-profile +-- +2.39.5 +
meta/recipes-devtools/python/python3_3.13.3.bb renamed from meta/recipes-devtools/python/python3_3.13.2.bb +1 -1
@@ -36,7 +36,7 @@ SRC_URI:append:class-native = " \ file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \ " -SRC_URI[sha256sum] = "d984bcc57cd67caab26f7def42e523b1c015bbc5dc07836cf4f0b63fa159eb56" +SRC_URI[sha256sum] = "40f868bcbdeb8149a3149580bb9bfd407b3321cd48f0be631af955ac92c0e041" # exclude pre-releases for both python 2.x and 3.x UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
Signature · 1 line
2.43.0
PATCH 32/32 python3: upgrade 3.13.3 -> 3.13.4
In reply to Steve SakomanFrom: Peter Marko <[email protected]>
Refresh patches.
* https://www.python.org/downloads/release/python-3134/
Security content in this release
* gh-135034: [CVE 2024-12718] [CVE 2025-4138] [CVE 2025-4330] [CVE 2025-4435] [CVE 2025-4517] Fixes multiple issues that allowed tarfile extraction filters (filter="data" and filter="tar") to be bypassed using crafted symlinks and hard links.
* gh-133767: Fix use-after-free in the “unicode-escape” decoder with a non-“strict” error handler.
* gh-128840: Short-circuit the processing of long IPv6 addresses early in ipaddress to prevent excessive memory consumption and a minor denial-of-service.
gh-133767 got meawhile CVE-2025-4516 assigned.
---
...01-Avoid-shebang-overflow-on-python-config.py.patch | 2 +-
...config.py-use-prefix-value-from-build-configu.patch | 2 +-
...ailing-tests-due-to-load-variability-on-YP-AB.patch | 6 +++---
...no_stdout_fileno-test-due-to-load-variability.patch | 2 +-
...01-test_active_children-skip-problematic-test.patch | 2 +-
.../0001-test_readline-skip-limited-history-test.patch | 10 +++++-----
...1-test_storlines-skip-due-to-load-variability.patch | 2 +-
meta/recipes-devtools/python/python3/makerace.patch | 2 +-
.../python/{python3_3.13.3.bb => python3_3.13.4.bb} | 2 +-
9 files changed, 15 insertions(+), 15 deletions(-)
rename meta/recipes-devtools/python/{python3_3.13.3.bb => python3_3.13.4.bb} (99%)meta/recipes-devtools/python/python3/0001-Avoid-shebang-overflow-on-python-config.py.patch +1 -1
@@ -19,7 +19,7 @@ diff --git a/Makefile.pre.in b/Makefile.pre.in index 9ec3a71..f7d5382 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2578,6 +2578,8 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh +@@ -2585,6 +2585,8 @@ python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh @ # Substitution happens here, as the completely-expanded BINDIR @ # is not available in configure sed -e "s,@EXENAME@,$(EXENAME)," < $(srcdir)/Misc/python-config.in >python-config.py
meta/recipes-devtools/python/python3/0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch +1 -1
@@ -17,7 +17,7 @@ diff --git a/Lib/sysconfig/__init__.py b/Lib/sysconfig/__init__.py index f8e1c7d..0882526 100644 --- a/Lib/sysconfig/__init__.py +++ b/Lib/sysconfig/__init__.py -@@ -494,6 +494,11 @@ def _init_config_vars(): +@@ -501,6 +501,11 @@ def _init_config_vars(): _CONFIG_VARS['VPATH'] = sys._vpath if os.name == 'posix': _init_posix(_CONFIG_VARS)
meta/recipes-devtools/python/python3/0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch +3 -3
@@ -26,7 +26,7 @@ diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing. index 5dae370..23eb971 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py -@@ -688,6 +688,7 @@ class _TestProcess(BaseTestCase): +@@ -701,6 +701,7 @@ class _TestProcess(BaseTestCase): close_queue(q) @support.requires_resource('walltime')
@@ -34,7 +34,7 @@ index 5dae370..23eb971 100644 def test_many_processes(self): if self.TYPE == 'threads': self.skipTest('test not appropriate for {}'.format(self.TYPE)) -@@ -2211,6 +2212,7 @@ class _TestBarrier(BaseTestCase): +@@ -2232,6 +2233,7 @@ class _TestBarrier(BaseTestCase): except threading.BrokenBarrierError: results.append(True)
@@ -42,7 +42,7 @@ index 5dae370..23eb971 100644 def test_timeout(self): """ Test wait(timeout) -@@ -5299,6 +5301,7 @@ class TestWait(unittest.TestCase): +@@ -5320,6 +5322,7 @@ class TestWait(unittest.TestCase): time.sleep(period) @support.requires_resource('walltime')
meta/recipes-devtools/python/python3/0001-skip-no_stdout_fileno-test-due-to-load-variability.patch +1 -1
@@ -19,7 +19,7 @@ diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py index c5394de..ed17fb6 100644 --- a/Lib/test/test_builtin.py +++ b/Lib/test/test_builtin.py -@@ -2435,6 +2435,7 @@ class PtyTests(unittest.TestCase): +@@ -2474,6 +2474,7 @@ class PtyTests(unittest.TestCase): "byte 0xe9 in position 4: ordinal not in " "range(128)")
meta/recipes-devtools/python/python3/0001-test_active_children-skip-problematic-test.patch +1 -1
@@ -17,7 +17,7 @@ diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing. index 23eb971..b1295b2 100644 --- a/Lib/test/_test_multiprocessing.py +++ b/Lib/test/_test_multiprocessing.py -@@ -585,6 +585,7 @@ class _TestProcess(BaseTestCase): +@@ -594,6 +594,7 @@ class _TestProcess(BaseTestCase): self.assertTrue(type(cpus) is int) self.assertTrue(cpus >= 1)
meta/recipes-devtools/python/python3/0001-test_readline-skip-limited-history-test.patch +5 -5
@@ -13,12 +13,12 @@ Upstream-Status: Inappropriate [OE-specific] Signed-off-by: Trevor Gamblin <[email protected]> --- - Lib/test/test_readline.py | 2 ++ - 1 file changed, 2 insertions(+) + Lib/test/test_readline.py | 3 +++ + 1 file changed, 3 insertions(+) --- a/Lib/test/test_readline.py +++ b/Lib/test/test_readline.py -@@ -70,6 +70,7 @@ class TestHistoryManipulation (unittest. +@@ -71,6 +71,7 @@ class TestHistoryManipulation (unittest.TestCase): @unittest.skipUnless(hasattr(readline, "append_history_file"), "append_history not available")
@@ -26,7 +26,7 @@ Signed-off-by: Trevor Gamblin <[email protected]> def test_write_read_append(self): hfile = tempfile.NamedTemporaryFile(delete=False) hfile.close() -@@ -141,6 +142,7 @@ class TestHistoryManipulation (unittest. +@@ -142,6 +143,7 @@ class TestHistoryManipulation (unittest.TestCase): self.assertEqual(readline.get_history_item(1), "entrée 1") self.assertEqual(readline.get_history_item(2), "entrée 22")
@@ -34,7 +34,7 @@ Signed-off-by: Trevor Gamblin <[email protected]> def test_write_read_limited_history(self): previous_length = readline.get_history_length() self.addCleanup(readline.set_history_length, previous_length) -@@ -382,6 +384,7 @@ readline.write_history_file(history_file +@@ -390,6 +392,7 @@ readline.write_history_file(history_file) self.assertIn(b"done", output)
meta/recipes-devtools/python/python3/0001-test_storlines-skip-due-to-load-variability.patch +1 -1
@@ -19,7 +19,7 @@ diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py index bed0e6d..36602be 100644 --- a/Lib/test/test_ftplib.py +++ b/Lib/test/test_ftplib.py -@@ -627,6 +627,7 @@ class TestFTPClass(TestCase): +@@ -630,6 +630,7 @@ class TestFTPClass(TestCase): self.client.storbinary('stor', f, rest=r) self.assertEqual(self.server.handler_instance.rest, str(r))
meta/recipes-devtools/python/python3/makerace.patch +1 -1
@@ -20,7 +20,7 @@ diff --git a/Makefile.pre.in b/Makefile.pre.in index be1b9ea..9ec3a71 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -2485,7 +2485,7 @@ COMPILEALL_OPTS=-j0 +@@ -2492,7 +2492,7 @@ COMPILEALL_OPTS=-j0 TEST_MODULES=@TEST_MODULES@ .PHONY: libinstall
meta/recipes-devtools/python/python3_3.13.4.bb renamed from meta/recipes-devtools/python/python3_3.13.3.bb +1 -1
@@ -36,7 +36,7 @@ SRC_URI:append:class-native = " \ file://0001-Lib-sysconfig.py-use-prefix-value-from-build-configu.patch \ " -SRC_URI[sha256sum] = "40f868bcbdeb8149a3149580bb9bfd407b3321cd48f0be631af955ac92c0e041" +SRC_URI[sha256sum] = "27b15a797562a2971dce3ffe31bb216042ce0b995b39d768cf15f784cc757365" # exclude pre-releases for both python 2.x and 3.x UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
Signature · 1 line
2.43.0
Hi Steve,
Below patch is missing in your merge, Can you add it?
[OE-core][scarthgap,walnascar,master][PATCH v3] tune-cortexr52: Remove aarch64 for ARM Cortex-R52
Thanks,
Sandeep
Quoted 155 lines · Steve Sakoman via lists.openembedded.org
Please review this set of changes for walnascar and have comments back by end of day Thursday, June 12
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1768
The following changes since commit
a7322472e41c3cac922e29d867ae3f2f74318279:sstatetests: Switch to new CDN (2025-05-30 06:32:58 -0700)
are available in the Git repository at:
https://git.openembedded.org/openembedded-core-contrib stable/walnascar-nut
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/walnascar-nutChangqing Li (25):
libsoup-2.4: update patch 0001-CVE-2025-32911.patch libsoup-2.4: fix CVE-2025-32053 libsoup-2.4: fix CVE-2025-2784 libsoup-2.4: fix CVE-2024-52530 libsoup-2.4: fix CVE-2025-32906 libsoup-2.4: fix CVE-2025-32914 libsoup-2.4: fix CVE-2025-46420 libsoup-2.4: fix CVE-2025-46421 libsoup-2.4: fix CVE-2025-32050 libsoup-2.4: fix CVE-2025-32052 libsoup-2.4: fix CVE-2025-32909 libsoup-2.4: fix CVE-2025-32910 libsoup-2.4: fix CVE-2025-32912 libsoup-2.4: fix CVE-2024-52531 libsoup-2.4: fix CVE-2025-4476 libsoup: upgrade 3.6.4 -> 3.6.5 libsoup-2.4: fix CVE-2025-32907 libsoup-2.4: fix CVE-2025-4948 libsoup-2.4: fix CVE-2025-4969 libsoup: fix CVE-2025-32914 libsoup: fix CVE-2025-4476 libsoup: fix CVE-2025-32907 libsoup: fix CVE-2025-32908 libsoup: fix CVE-2025-4948 libsoup: fix CVE-2025-4969Deepesh Varatharajan (2):
binutils: Fix CVE-2025-1181 binutils: Fix CVE-2025-5244Patrick Williams (1):
systemd.bbclass: generate preset for templatesPeter Marko (1):
python3: upgrade 3.13.3 -> 3.13.4Ross Burton (2):
python3: remove obsolete deletion of non-deterministic .pyc files
python3: backport the full fix for importlib scanning invalid
distributionsTrevor Gamblin (1):
python3: upgrade 3.13.2 -> 3.13.3meta/classes-recipe/systemd.bbclass | 11 +- .../binutils/binutils-2.44.inc | 3 + .../binutils/0016-CVE-2025-1181-1.patch | 141 ++++++++ .../binutils/0016-CVE-2025-5244.patch | 25 ++ .../binutils/0017-CVE-2025-1181-2.patch | 337 ++++++++++++++++++ ...shebang-overflow-on-python-config.py.patch | 2 +- ...-use-prefix-value-from-build-configu.patch | 2 +- ...-qemu-wrapper-when-gathering-profile.patch | 14 +- ...sts-due-to-load-variability-on-YP-AB.patch | 6 +- ..._fileno-test-due-to-load-variability.patch | 2 +- ...ctive_children-skip-problematic-test.patch | 2 +- ...t_readline-skip-limited-history-test.patch | 10 +- ...orlines-skip-due-to-load-variability.patch | 2 +- .../python3/deterministic_imports.patch | 39 -- .../python/python3/makerace.patch | 2 +- .../python/python3/valid-dists.patch | 160 +++++++++ .../{python3_3.13.2.bb => python3_3.13.4.bb} | 18 +- .../libsoup-2.4/0001-CVE-2025-32911.patch | 2 +- .../libsoup/libsoup-2.4/CVE-2024-52530.patch | 150 ++++++++ .../libsoup-2.4/CVE-2024-52531-1.patch | 39 ++ .../libsoup-2.4/CVE-2024-52531-2.patch | 133 +++++++ .../libsoup/libsoup-2.4/CVE-2025-2784.patch | 56 +++ .../libsoup/libsoup-2.4/CVE-2025-32050.patch | 29 ++ .../libsoup/libsoup-2.4/CVE-2025-32052.patch | 32 ++ .../libsoup/libsoup-2.4/CVE-2025-32053.patch | 39 ++ .../libsoup/libsoup-2.4/CVE-2025-32906.patch | 71 ++++ .../libsoup/libsoup-2.4/CVE-2025-32907.patch | 39 ++ .../libsoup/libsoup-2.4/CVE-2025-32909.patch | 38 ++ .../libsoup-2.4/CVE-2025-32910-1.patch | 32 ++ .../libsoup-2.4/CVE-2025-32910-2.patch | 94 +++++ .../libsoup-2.4/CVE-2025-32910-3.patch | 28 ++ .../libsoup/libsoup-2.4/CVE-2025-32912.patch | 32 ++ .../libsoup/libsoup-2.4/CVE-2025-32914.patch | 35 ++ .../libsoup/libsoup-2.4/CVE-2025-4476.patch | 38 ++ .../libsoup/libsoup-2.4/CVE-2025-46420.patch | 61 ++++ .../libsoup/libsoup-2.4/CVE-2025-46421.patch | 47 +++ .../libsoup/libsoup-2.4/CVE-2025-4948.patch | 38 ++ .../libsoup/libsoup-2.4/CVE-2025-4969.patch | 37 ++ .../libsoup/libsoup-2.4_2.74.3.bb | 23 +- .../libsoup/libsoup/CVE-2025-32907-1.patch | 200 +++++++++++ .../libsoup/libsoup/CVE-2025-32907-2.patch | 68 ++++ .../libsoup/libsoup/CVE-2025-32908-1.patch | 89 +++++ .../libsoup/libsoup/CVE-2025-32908-2.patch | 53 +++ .../libsoup/libsoup/CVE-2025-32914.patch | 112 ++++++ .../libsoup/libsoup/CVE-2025-4476.patch | 39 ++ .../libsoup/libsoup/CVE-2025-4948.patch | 97 +++++ .../libsoup/libsoup/CVE-2025-4969.patch | 78 ++++ .../{libsoup_3.6.4.bb => libsoup_3.6.5.bb} | 13 +- 48 files changed, 2541 insertions(+), 77 deletions(-)create mode 100644
meta/recipes-devtools/binutils/binutils/0016-CVE-2025-1181-1.patchcreate mode 100644meta/recipes-devtools/binutils/binutils/0016-CVE-2025-5244.patchcreate mode 100644meta/recipes-devtools/binutils/binutils/0017-CVE-2025-1181-2.patchdelete mode 100644meta/recipes-devtools/python/python3/deterministic_imports.patchcreate mode 100644meta/recipes-devtools/python/python3/valid-dists.patchrename meta/recipes-devtools/python/{python3_3.13.2.bb => python3_3.13.4.bb} (95%) create mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52530.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-1.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-2.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-2784.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32052.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32053.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32906.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32907.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32909.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-2.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-3.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32914.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4476.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-46420.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-46421.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4948.patchcreate mode 100644meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4969.patchcreate mode 100644meta/recipes-support/libsoup/libsoup/CVE-2025-32907-1.patchcreate mode 100644meta/recipes-support/libsoup/libsoup/CVE-2025-32907-2.patchcreate mode 100644meta/recipes-support/libsoup/libsoup/CVE-2025-32908-1.patchcreate mode 100644meta/recipes-support/libsoup/libsoup/CVE-2025-32908-2.patchcreate mode 100644meta/recipes-support/libsoup/libsoup/CVE-2025-32914.patchcreate mode 100644meta/recipes-support/libsoup/libsoup/CVE-2025-4476.patchcreate mode 100644meta/recipes-support/libsoup/libsoup/CVE-2025-4948.patchcreate mode 100644meta/recipes-support/libsoup/libsoup/CVE-2025-4969.patchrename meta/recipes-support/libsoup/{libsoup_3.6.4.bb => libsoup_3.6.5.bb} (83%)-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#218369): https://lists.openembedded.org/g/openembedded-core/message/218369
Mute This Topic: https://lists.openembedded.org/mt/113572634/3619217
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Ok, will add it to the next batch.
In the future it would be helpful to me if you wouldn't send patches targeted for more than one branch. When you do this I need to remember to keep checking the master branch to see if it is accepted. This greatly increases the odds that I'm going forget about it! So best to submit for master and then send a version for any other branches after it is already in master.
Thanks!
Steve
Quoted 207 lines · Sandeep
Hi Steve,
Below patch is missing in your merge, Can you add it?
[OE-core][scarthgap,walnascar,master][PATCH v3] tune-cortexr52: Remove aarch64 for ARM Cortex-R52
Thanks,
SandeepQuoted 8 lines · Steve Sakoman via lists.openembedded.org
Please review this set of changes for walnascar and have comments back by end of day Thursday, June 12
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1768
The following changes since commit
a7322472e41c3cac922e29d867ae3f2f74318279:Quoted 6 lines
sstatetests: Switch to new CDN (2025-05-30 06:32:58 -0700)
are available in the Git repository at:
stable/walnascar-nut
Quoted 1 line
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/walnascar-nut
Quoted 95 lines
Changqing Li (25):
libsoup-2.4: update patch 0001-CVE-2025-32911.patch libsoup-2.4: fix CVE-2025-32053 libsoup-2.4: fix CVE-2025-2784 libsoup-2.4: fix CVE-2024-52530 libsoup-2.4: fix CVE-2025-32906 libsoup-2.4: fix CVE-2025-32914 libsoup-2.4: fix CVE-2025-46420 libsoup-2.4: fix CVE-2025-46421 libsoup-2.4: fix CVE-2025-32050 libsoup-2.4: fix CVE-2025-32052 libsoup-2.4: fix CVE-2025-32909 libsoup-2.4: fix CVE-2025-32910 libsoup-2.4: fix CVE-2025-32912 libsoup-2.4: fix CVE-2024-52531 libsoup-2.4: fix CVE-2025-4476 libsoup: upgrade 3.6.4 -> 3.6.5 libsoup-2.4: fix CVE-2025-32907 libsoup-2.4: fix CVE-2025-4948 libsoup-2.4: fix CVE-2025-4969 libsoup: fix CVE-2025-32914 libsoup: fix CVE-2025-4476 libsoup: fix CVE-2025-32907 libsoup: fix CVE-2025-32908 libsoup: fix CVE-2025-4948 libsoup: fix CVE-2025-4969Deepesh Varatharajan (2):
binutils: Fix CVE-2025-1181 binutils: Fix CVE-2025-5244Patrick Williams (1):
systemd.bbclass: generate preset for templatesPeter Marko (1):
python3: upgrade 3.13.3 -> 3.13.4Ross Burton (2):
python3: remove obsolete deletion of non-deterministic .pyc files
python3: backport the full fix for importlib scanning invalid
distributionsTrevor Gamblin (1):
python3: upgrade 3.13.2 -> 3.13.3meta/classes-recipe/systemd.bbclass | 11 +- .../binutils/binutils-2.44.inc | 3 + .../binutils/0016-CVE-2025-1181-1.patch | 141 ++++++++ .../binutils/0016-CVE-2025-5244.patch | 25 ++ .../binutils/0017-CVE-2025-1181-2.patch | 337 ++++++++++++++++++ ...shebang-overflow-on-python-config.py.patch | 2 +- ...-use-prefix-value-from-build-configu.patch | 2 +- ...-qemu-wrapper-when-gathering-profile.patch | 14 +- ...sts-due-to-load-variability-on-YP-AB.patch | 6 +- ..._fileno-test-due-to-load-variability.patch | 2 +- ...ctive_children-skip-problematic-test.patch | 2 +- ...t_readline-skip-limited-history-test.patch | 10 +- ...orlines-skip-due-to-load-variability.patch | 2 +- .../python3/deterministic_imports.patch | 39 -- .../python/python3/makerace.patch | 2 +- .../python/python3/valid-dists.patch | 160 +++++++++ .../{python3_3.13.2.bb => python3_3.13.4.bb} | 18 +- .../libsoup-2.4/0001-CVE-2025-32911.patch | 2 +- .../libsoup/libsoup-2.4/CVE-2024-52530.patch | 150 ++++++++ .../libsoup-2.4/CVE-2024-52531-1.patch | 39 ++ .../libsoup-2.4/CVE-2024-52531-2.patch | 133 +++++++ .../libsoup/libsoup-2.4/CVE-2025-2784.patch | 56 +++ .../libsoup/libsoup-2.4/CVE-2025-32050.patch | 29 ++ .../libsoup/libsoup-2.4/CVE-2025-32052.patch | 32 ++ .../libsoup/libsoup-2.4/CVE-2025-32053.patch | 39 ++ .../libsoup/libsoup-2.4/CVE-2025-32906.patch | 71 ++++ .../libsoup/libsoup-2.4/CVE-2025-32907.patch | 39 ++ .../libsoup/libsoup-2.4/CVE-2025-32909.patch | 38 ++ .../libsoup-2.4/CVE-2025-32910-1.patch | 32 ++ .../libsoup-2.4/CVE-2025-32910-2.patch | 94 +++++ .../libsoup-2.4/CVE-2025-32910-3.patch | 28 ++ .../libsoup/libsoup-2.4/CVE-2025-32912.patch | 32 ++ .../libsoup/libsoup-2.4/CVE-2025-32914.patch | 35 ++ .../libsoup/libsoup-2.4/CVE-2025-4476.patch | 38 ++ .../libsoup/libsoup-2.4/CVE-2025-46420.patch | 61 ++++ .../libsoup/libsoup-2.4/CVE-2025-46421.patch | 47 +++ .../libsoup/libsoup-2.4/CVE-2025-4948.patch | 38 ++ .../libsoup/libsoup-2.4/CVE-2025-4969.patch | 37 ++ .../libsoup/libsoup-2.4_2.74.3.bb | 23 +- .../libsoup/libsoup/CVE-2025-32907-1.patch | 200 +++++++++++ .../libsoup/libsoup/CVE-2025-32907-2.patch | 68 ++++ .../libsoup/libsoup/CVE-2025-32908-1.patch | 89 +++++ .../libsoup/libsoup/CVE-2025-32908-2.patch | 53 +++ .../libsoup/libsoup/CVE-2025-32914.patch | 112 ++++++ .../libsoup/libsoup/CVE-2025-4476.patch | 39 ++ .../libsoup/libsoup/CVE-2025-4948.patch | 97 +++++ .../libsoup/libsoup/CVE-2025-4969.patch | 78 ++++ .../{libsoup_3.6.4.bb => libsoup_3.6.5.bb} | 13 +- 48 files changed, 2541 insertions(+), 77 deletions(-)Quoted 1 line
create mode 100644
meta/recipes-devtools/binutils/binutils/0016-CVE-2025-1181-1.patchQuoted 1 line
create mode 100644
meta/recipes-devtools/binutils/binutils/0016-CVE-2025-5244.patchQuoted 1 line
create mode 100644
meta/recipes-devtools/binutils/binutils/0017-CVE-2025-1181-2.patchQuoted 1 line
delete mode 100644
meta/recipes-devtools/python/python3/deterministic_imports.patchQuoted 1 line
create mode 100644
meta/recipes-devtools/python/python3/valid-dists.patchQuoted 1 line
rename meta/recipes-devtools/python/{python3_3.13.2.bb =>
python3_3.13.4.bb} (95%)
Quoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52530.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-1.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-2.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-2784.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32052.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32053.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32906.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32907.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32909.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-2.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-3.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32914.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4476.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-46420.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-46421.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4948.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4969.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup/CVE-2025-32907-1.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup/CVE-2025-32907-2.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup/CVE-2025-32908-1.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup/CVE-2025-32908-2.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup/CVE-2025-32914.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup/CVE-2025-4476.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup/CVE-2025-4948.patchQuoted 1 line
create mode 100644
meta/recipes-support/libsoup/libsoup/CVE-2025-4969.patchQuoted 1 line
rename meta/recipes-support/libsoup/{libsoup_3.6.4.bb =>
libsoup_3.6.5.bb} (83%)
Quoted 5 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#218369):https://lists.openembedded.org/g/openembedded-core/message/218369
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/113572634/3619217
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Sorry I keep forgetting this, Sure I will do next time.
Thanks,
Sandeep
Quoted 230 lines · Steve Sakoman
Ok, will add it to the next batch.
In the future it would be helpful to me if you wouldn't send patches targeted for more than one branch. When you do this I need to remember to keep checking the master branch to see if it is accepted. This greatly increases the odds that I'm going forget about it! So best to submit for master and then send a version for any other branches after it is already in master.
Thanks!
Steve
On Tue, Jun 10, 2025, 10:11 AM Gundlupet Raju, Sandeep <[email protected]> wrote:
Hi Steve, Below patch is missing in your merge, Can you add it? [OE-core][scarthgap,walnascar,master][PATCH v3] tune-cortexr52: Remove aarch64 for ARM Cortex-R52 Thanks, Sandeep On 6/10/2025 10:08 AM, Steve Sakoman via lists.openembedded.org <http://lists.openembedded.org> wrote: > Please review this set of changes for walnascar and have comments back by > end of day Thursday, June 12 > > Passed a-full on autobuilder: > > https://autobuilder.yoctoproject.org/valkyrie/#/builders/29/builds/1768 > > The following changes since commit a7322472e41c3cac922e29d867ae3f2f74318279: > > sstatetests: Switch to new CDN (2025-05-30 06:32:58 -0700) > > are available in the Git repository at: > > https://git.openembedded.org/openembedded-core-contrib stable/walnascar-nut > https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/walnascar-nut > > Changqing Li (25): > libsoup-2.4: update patch 0001-CVE-2025-32911.patch > libsoup-2.4: fix CVE-2025-32053 > libsoup-2.4: fix CVE-2025-2784 > libsoup-2.4: fix CVE-2024-52530 > libsoup-2.4: fix CVE-2025-32906 > libsoup-2.4: fix CVE-2025-32914 > libsoup-2.4: fix CVE-2025-46420 > libsoup-2.4: fix CVE-2025-46421 > libsoup-2.4: fix CVE-2025-32050 > libsoup-2.4: fix CVE-2025-32052 > libsoup-2.4: fix CVE-2025-32909 > libsoup-2.4: fix CVE-2025-32910 > libsoup-2.4: fix CVE-2025-32912 > libsoup-2.4: fix CVE-2024-52531 > libsoup-2.4: fix CVE-2025-4476 > libsoup: upgrade 3.6.4 -> 3.6.5 > libsoup-2.4: fix CVE-2025-32907 > libsoup-2.4: fix CVE-2025-4948 > libsoup-2.4: fix CVE-2025-4969 > libsoup: fix CVE-2025-32914 > libsoup: fix CVE-2025-4476 > libsoup: fix CVE-2025-32907 > libsoup: fix CVE-2025-32908 > libsoup: fix CVE-2025-4948 > libsoup: fix CVE-2025-4969 > > Deepesh Varatharajan (2): > binutils: Fix CVE-2025-1181 > binutils: Fix CVE-2025-5244 > > Patrick Williams (1): > systemd.bbclass: generate preset for templates > > Peter Marko (1): > python3: upgrade 3.13.3 -> 3.13.4 > > Ross Burton (2): > python3: remove obsolete deletion of non-deterministic .pyc files > python3: backport the full fix for importlib scanning invalid > distributions > > Trevor Gamblin (1): > python3: upgrade 3.13.2 -> 3.13.3 > > meta/classes-recipe/systemd.bbclass | 11 +- > .../binutils/binutils-2.44.inc | 3 + > .../binutils/0016-CVE-2025-1181-1.patch | 141 ++++++++ > .../binutils/0016-CVE-2025-5244.patch | 25 ++ > .../binutils/0017-CVE-2025-1181-2.patch | 337 ++++++++++++++++++ > ...shebang-overflow-on-python-config.py.patch | 2 +- > ...-use-prefix-value-from-build-configu.patch | 2 +- > ...-qemu-wrapper-when-gathering-profile.patch | 14 +- > ...sts-due-to-load-variability-on-YP-AB.patch | 6 +- > ..._fileno-test-due-to-load-variability.patch | 2 +- > ...ctive_children-skip-problematic-test.patch | 2 +- > ...t_readline-skip-limited-history-test.patch | 10 +- > ...orlines-skip-due-to-load-variability.patch | 2 +- > .../python3/deterministic_imports.patch | 39 -- > .../python/python3/makerace.patch | 2 +- > .../python/python3/valid-dists.patch | 160 +++++++++ > .../{python3_3.13.2.bb <http://python3_3.13.2.bb> => python3_3.13.4.bb <http://python3_3.13.4.bb>} | 18 +- > .../libsoup-2.4/0001-CVE-2025-32911.patch | 2 +- > .../libsoup/libsoup-2.4/CVE-2024-52530.patch | 150 ++++++++ > .../libsoup-2.4/CVE-2024-52531-1.patch | 39 ++ > .../libsoup-2.4/CVE-2024-52531-2.patch | 133 +++++++ > .../libsoup/libsoup-2.4/CVE-2025-2784.patch | 56 +++ > .../libsoup/libsoup-2.4/CVE-2025-32050.patch | 29 ++ > .../libsoup/libsoup-2.4/CVE-2025-32052.patch | 32 ++ > .../libsoup/libsoup-2.4/CVE-2025-32053.patch | 39 ++ > .../libsoup/libsoup-2.4/CVE-2025-32906.patch | 71 ++++ > .../libsoup/libsoup-2.4/CVE-2025-32907.patch | 39 ++ > .../libsoup/libsoup-2.4/CVE-2025-32909.patch | 38 ++ > .../libsoup-2.4/CVE-2025-32910-1.patch | 32 ++ > .../libsoup-2.4/CVE-2025-32910-2.patch | 94 +++++ > .../libsoup-2.4/CVE-2025-32910-3.patch | 28 ++ > .../libsoup/libsoup-2.4/CVE-2025-32912.patch | 32 ++ > .../libsoup/libsoup-2.4/CVE-2025-32914.patch | 35 ++ > .../libsoup/libsoup-2.4/CVE-2025-4476.patch | 38 ++ > .../libsoup/libsoup-2.4/CVE-2025-46420.patch | 61 ++++ > .../libsoup/libsoup-2.4/CVE-2025-46421.patch | 47 +++ > .../libsoup/libsoup-2.4/CVE-2025-4948.patch | 38 ++ > .../libsoup/libsoup-2.4/CVE-2025-4969.patch | 37 ++ > .../libsoup/libsoup-2.4_2.74.3.bb <http://libsoup-2.4_2.74.3.bb> | 23 +- > .../libsoup/libsoup/CVE-2025-32907-1.patch | 200 +++++++++++ > .../libsoup/libsoup/CVE-2025-32907-2.patch | 68 ++++ > .../libsoup/libsoup/CVE-2025-32908-1.patch | 89 +++++ > .../libsoup/libsoup/CVE-2025-32908-2.patch | 53 +++ > .../libsoup/libsoup/CVE-2025-32914.patch | 112 ++++++ > .../libsoup/libsoup/CVE-2025-4476.patch | 39 ++ > .../libsoup/libsoup/CVE-2025-4948.patch | 97 +++++ > .../libsoup/libsoup/CVE-2025-4969.patch | 78 ++++ > .../{libsoup_3.6.4.bb <http://libsoup_3.6.4.bb> => libsoup_3.6.5.bb <http://libsoup_3.6.5.bb>} | 13 +- > 48 files changed, 2541 insertions(+), 77 deletions(-) > create mode 100644 meta/recipes-devtools/binutils/binutils/0016-CVE-2025-1181-1.patch > create mode 100644 meta/recipes-devtools/binutils/binutils/0016-CVE-2025-5244.patch > create mode 100644 meta/recipes-devtools/binutils/binutils/0017-CVE-2025-1181-2.patch > delete mode 100644 meta/recipes-devtools/python/python3/deterministic_imports.patch > create mode 100644 meta/recipes-devtools/python/python3/valid-dists.patch > rename meta/recipes-devtools/python/{python3_3.13.2.bb <http://python3_3.13.2.bb> => python3_3.13.4.bb <http://python3_3.13.4.bb>} (95%) > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52530.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-1.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2024-52531-2.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-2784.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32050.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32052.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32053.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32906.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32907.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32909.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-2.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-3.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32914.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4476.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-46420.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-46421.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4948.patch > create mode 100644 meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-4969.patch > create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32907-1.patch > create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32907-2.patch > create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32908-1.patch > create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32908-2.patch > create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-32914.patch > create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-4476.patch > create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-4948.patch > create mode 100644 meta/recipes-support/libsoup/libsoup/CVE-2025-4969.patch > rename meta/recipes-support/libsoup/{libsoup_3.6.4.bb <http://libsoup_3.6.4.bb> => libsoup_3.6.5.bb <http://libsoup_3.6.5.bb>} (83%) > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#218369): https://lists.openembedded.org/g/openembedded-core/message/218369 > Mute This Topic: https://lists.openembedded.org/mt/113572634/3619217 > Group Owner: [email protected] <mailto:openembedded-core%[email protected]> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] > -=-=-=-=-=-=-=-=-=-=-=- >