libsoup: Fix CVE-2025-32910
PATCH v2 1/5 libsoup: Fix CVE-2025-32910
From: Vijay Anusuri <[email protected]>
Upstream-Status: Backport from https://gitlab.gnome.org/GNOME/libsoup/-/commit/ea16eeacb052e423eb5c3b0b705e5eab34b13832
--- .../libsoup-3.4.4/CVE-2025-32910.patch | 27 +++++++++++++++++++ meta/recipes-support/libsoup/libsoup_3.4.4.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch new file +27 -0
@@ -0,0 +1,27 @@ +From ea16eeacb052e423eb5c3b0b705e5eab34b13832 Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Fri, 27 Dec 2024 13:52:52 -0600 +Subject: [PATCH] auth-digest: Fix leak + +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/ea16eeacb052e423eb5c3b0b705e5eab34b13832] +CVE: CVE-2025-32910 +Signed-off-by: Vijay Anusuri <[email protected]> +--- + libsoup/auth/soup-auth-digest.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libsoup/auth/soup-auth-digest.c b/libsoup/auth/soup-auth-digest.c +index 350bfde6..9eb7fa0e 100644 +--- a/libsoup/auth/soup-auth-digest.c ++++ b/libsoup/auth/soup-auth-digest.c +@@ -72,6 +72,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)); +-- +GitLab +
meta/recipes-support/libsoup/libsoup_3.4.4.bb +1 -0
@@ -18,6 +18,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-2024-52531-3.patch \ + file://CVE-2025-32910.patch \ " SRC_URI[sha256sum] = "291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa"
Signature · 1 line
2.25.1
PATCH v2 2/5 libsoup: Fix CVE-2025-32909
From: Vijay Anusuri <[email protected]>
Upstream-Status: Backport from https://gitlab.gnome.org/GNOME/libsoup/-/commit/ba4c3a6f988beff59e45801ab36067293d24ce92
--- .../libsoup-3.4.4/CVE-2025-32909.patch | 36 +++++++++++++++++++ meta/recipes-support/libsoup/libsoup_3.4.4.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32909.patch
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32909.patch new file +36 -0
@@ -0,0 +1,36 @@ +From ba4c3a6f988beff59e45801ab36067293d24ce92 Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Wed, 8 Jan 2025 16:30:17 -0600 +Subject: [PATCH] content-sniffer: Handle sniffing resource shorter than 4 + bytes + +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/ba4c3a6f988beff59e45801ab36067293d24ce92] +CVE: CVE-2025-32909 +Signed-off-by: Vijay Anusuri <[email protected]> +--- + libsoup/content-sniffer/soup-content-sniffer.c | 7 ++++++- + 1 file changed, 6 insertions(+), 1 deletion(-) + +diff --git a/libsoup/content-sniffer/soup-content-sniffer.c b/libsoup/content-sniffer/soup-content-sniffer.c +index 5a181ff1..aeee2e25 100644 +--- a/libsoup/content-sniffer/soup-content-sniffer.c ++++ b/libsoup/content-sniffer/soup-content-sniffer.c +@@ -243,9 +243,14 @@ sniff_mp4 (SoupContentSniffer *sniffer, GBytes *buffer) + gsize resource_length; + const char *resource = g_bytes_get_data (buffer, &resource_length); + resource_length = MIN (512, resource_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) | +-- +GitLab +
meta/recipes-support/libsoup/libsoup_3.4.4.bb +1 -0
@@ -19,6 +19,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2024-52531-2.patch \ file://CVE-2024-52531-3.patch \ file://CVE-2025-32910.patch \ + file://CVE-2025-32909.patch \ " SRC_URI[sha256sum] = "291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa"
Signature · 1 line
2.25.1
PATCH v2 3/5 libsoup: Fix CVE-2025-32911 & CVE-2025-32913
In reply to [email protected]From: Vijay Anusuri <[email protected]>
Upstream-Status: Backport from
https://gitlab.gnome.org/GNOME/libsoup/-/commit/7b4ef0e004ece3a308ccfaa714c284f4c96ade34
& https://gitlab.gnome.org/GNOME/libsoup/-/commit/f4a761fb66512fff59798765e8ac5b9e57dceef0
--- .../CVE-2025-32911_CVE-2025-32913-1.patch | 72 +++++++++++++++++++ .../CVE-2025-32911_CVE-2025-32913-2.patch | 44 ++++++++++++ meta/recipes-support/libsoup/libsoup_3.4.4.bb | 2 + 3 files changed, 118 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32911_CVE-2025-32913-1.patch create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32911_CVE-2025-32913-2.patch
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32911_CVE-2025-32913-1.patch new file +72 -0
@@ -0,0 +1,72 @@ +From 7b4ef0e004ece3a308ccfaa714c284f4c96ade34 Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Fri, 27 Dec 2024 17:53:50 -0600 +Subject: [PATCH] soup_message_headers_get_content_disposition: Fix NULL deref + +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/7b4ef0e004ece3a308ccfaa714c284f4c96ade34] +CVE: CVE-2025-32911 CVE-2025-32913 #Dependency Patch +Signed-off-by: Vijay Anusuri <[email protected]> +--- + libsoup/soup-message-headers.c | 13 +++++++++---- + tests/header-parsing-test.c | 14 ++++++++++++++ + 2 files changed, 23 insertions(+), 4 deletions(-) + +diff --git a/libsoup/soup-message-headers.c b/libsoup/soup-message-headers.c +index 56cc1e9d..04f4c302 100644 +--- a/libsoup/soup-message-headers.c ++++ b/libsoup/soup-message-headers.c +@@ -1660,10 +1660,15 @@ soup_message_headers_get_content_disposition (SoupMessageHeaders *hdrs, + */ + if (params && g_hash_table_lookup_extended (*params, "filename", + &orig_key, &orig_value)) { +- char *filename = strrchr (orig_value, '/'); +- +- if (filename) +- g_hash_table_insert (*params, g_strdup (orig_key), filename + 1); ++ if (orig_value) { ++ char *filename = strrchr (orig_value, '/'); ++ ++ if (filename) ++ g_hash_table_insert (*params, g_strdup (orig_key), filename + 1); ++ } else { ++ /* filename with no value isn't valid. */ ++ g_hash_table_remove (*params, "filename"); ++ } + } + return TRUE; + } +diff --git a/tests/header-parsing-test.c b/tests/header-parsing-test.c +index 5e423d2b..d0b360c8 100644 +--- a/tests/header-parsing-test.c ++++ b/tests/header-parsing-test.c +@@ -1039,6 +1039,7 @@ do_param_list_tests (void) + #define RFC5987_TEST_HEADER_FALLBACK "attachment; filename*=Unknown''t%FF%FF%FFst.txt; filename=\"test.txt\"" + #define RFC5987_TEST_HEADER_NO_TYPE "filename=\"test.txt\"" + #define RFC5987_TEST_HEADER_NO_TYPE_2 "filename=\"test.txt\"; foo=bar" ++#define RFC5987_TEST_HEADER_EMPTY_FILENAME ";filename" + + static void + do_content_disposition_tests (void) +@@ -1139,6 +1140,19 @@ do_content_disposition_tests (void) + g_assert_cmpstr (parameter2, ==, "bar"); + g_hash_table_destroy (params); + ++ /* Empty filename */ ++ soup_message_headers_clear (hdrs); ++ soup_message_headers_append (hdrs, "Content-Disposition", ++ RFC5987_TEST_HEADER_EMPTY_FILENAME); ++ if (!soup_message_headers_get_content_disposition (hdrs, ++ &disposition, ++ ¶ms)) { ++ soup_test_assert (FALSE, "empty filename decoding FAILED"); ++ return; ++ } ++ g_assert_false (g_hash_table_contains (params, "filename")); ++ g_hash_table_destroy (params); ++ + soup_message_headers_unref (hdrs); + + /* Ensure that soup-multipart always quotes filename */ +-- +GitLab +
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32911_CVE-2025-32913-2.patch new file +44 -0
44 lines not on this page · raw message
meta/recipes-support/libsoup/libsoup_3.4.4.bb +2 -0
@@ -20,6 +20,8 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2024-52531-3.patch \ file://CVE-2025-32910.patch \ file://CVE-2025-32909.patch \ + file://CVE-2025-32911_CVE-2025-32913-1.patch \ + file://CVE-2025-32911_CVE-2025-32913-2.patch \ " SRC_URI[sha256sum] = "291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa"
Signature · 1 line
2.25.1
PATCH v2 4/5 libsoup: Fix CVE-2025-32912
In reply to [email protected]From: Vijay Anusuri <[email protected]>
Upstream-Status: Backport from
https://gitlab.gnome.org/GNOME/libsoup/-/commit/e40df6d48a1cbab56f5d15016cc861a503423cfe
&
https://gitlab.gnome.org/GNOME/libsoup/-/commit/405a8a34597a44bd58c4759e7d5e23f02c3b556a
&
https://gitlab.gnome.org/GNOME/libsoup/-/commit/cd077513f267e43ce4b659eb18a1734d8a369992
& https://gitlab.gnome.org/GNOME/libsoup/-/commit/910ebdcd3dd82386717a201c13c834f3a63eed7f
--- .../libsoup-3.4.4/CVE-2025-32912-1.patch | 98 ++++++++++++ .../libsoup-3.4.4/CVE-2025-32912-2.patch | 149 ++++++++++++++++++ .../libsoup-3.4.4/CVE-2025-32912-3.patch | 41 +++++ .../libsoup-3.4.4/CVE-2025-32912-4.patch | 30 ++++ meta/recipes-support/libsoup/libsoup_3.4.4.bb | 4 + 5 files changed, 322 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32912-1.patch create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32912-2.patch create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32912-3.patch create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32912-4.patch
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32912-1.patch new file +98 -0
@@ -0,0 +1,98 @@ +From e40df6d48a1cbab56f5d15016cc861a503423cfe Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Sun, 8 Dec 2024 20:00:35 -0600 +Subject: [PATCH] auth-digest: Handle missing realm in authenticate header + +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/e40df6d48a1cbab56f5d15016cc861a503423cfe] +CVE: CVE-2025-32912 #Dependency Patch1 +Signed-off-by: Vijay Anusuri <[email protected]> +--- + libsoup/auth/soup-auth-digest.c | 3 ++ + tests/auth-test.c | 50 +++++++++++++++++++++++++++++++++ + 2 files changed, 53 insertions(+) + +diff --git a/libsoup/auth/soup-auth-digest.c b/libsoup/auth/soup-auth-digest.c +index 2e81849af..4f12e87a5 100644 +--- a/libsoup/auth/soup-auth-digest.c ++++ b/libsoup/auth/soup-auth-digest.c +@@ -148,6 +148,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); +diff --git a/tests/auth-test.c b/tests/auth-test.c +index 158fdac10..3066e904a 100644 +--- a/tests/auth-test.c ++++ b/tests/auth-test.c +@@ -1866,6 +1866,55 @@ do_multiple_digest_algorithms (void) + soup_test_server_quit_unref (server); + } + ++static void ++on_request_read_for_missing_realm (SoupServer *server, ++ SoupServerMessage *msg, ++ gpointer user_data) ++{ ++ SoupMessageHeaders *response_headers = soup_server_message_get_response_headers (msg); ++ soup_message_headers_replace (response_headers, "WWW-Authenticate", "Digest qop=\"auth\""); ++} ++ ++static void ++do_missing_realm_test (void) ++{ ++ SoupSession *session; ++ SoupMessage *msg; ++ SoupServer *server; ++ SoupAuthDomain *digest_auth_domain; ++ gint status; ++ GUri *uri; ++ ++ server = soup_test_server_new (SOUP_TEST_SERVER_IN_THREAD); ++ soup_server_add_handler (server, NULL, ++ server_callback, NULL, NULL); ++ uri = soup_test_server_get_uri (server, "http", NULL); ++ ++ digest_auth_domain = soup_auth_domain_digest_new ( ++ "realm", "auth-test", ++ "auth-callback", server_digest_auth_callback, ++ NULL); ++ soup_auth_domain_add_path (digest_auth_domain, "/"); ++ soup_server_add_auth_domain (server, digest_auth_domain); ++ g_object_unref (digest_auth_domain); ++ ++ g_signal_connect (server, "request-read", ++ G_CALLBACK (on_request_read_for_missing_realm), ++ NULL); ++ ++ session = soup_test_session_new (NULL); ++ msg = soup_message_new_from_uri ("GET", uri); ++ g_signal_connect (msg, "authenticate", ++ G_CALLBACK (on_digest_authenticate), ++ NULL); ++ ++ status = soup_test_session_send_message (session, msg); ++ ++ g_assert_cmpint (status, ==, SOUP_STATUS_UNAUTHORIZED); ++ g_uri_unref (uri); ++ soup_test_server_quit_unref (server); ++} ++ + int + main (int argc, char **argv) + { +@@ -1899,6 +1948,7 @@ main (int argc, char **argv) + g_test_add_func ("/auth/auth-uri", do_auth_uri_test); + g_test_add_func ("/auth/cancel-request-on-authenticate", do_cancel_request_on_authenticate); + g_test_add_func ("/auth/multiple-algorithms", do_multiple_digest_algorithms); ++ g_test_add_func ("/auth/missing-realm", do_missing_realm_test); + + ret = g_test_run (); + +-- +GitLab +
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32912-2.patch new file +149 -0
149 lines not on this page · raw message
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32912-3.patch new file +41 -0
41 lines not on this page · raw message
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32912-4.patch new file +30 -0
@@ -0,0 +1,30 @@ +From 910ebdcd3dd82386717a201c13c834f3a63eed7f Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Sat, 8 Feb 2025 12:30:13 -0600 +Subject: [PATCH] digest-auth: Handle NULL nonce + +`contains` only handles a missing nonce, `lookup` handles both missing and empty. + +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/910ebdcd3dd82386717a201c13c834f3a63eed7f] +CVE: CVE-2025-32912 +Signed-off-by: Vijay Anusuri <[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 d69a4013..dc4dbfc5 100644 +--- a/libsoup/auth/soup-auth-digest.c ++++ b/libsoup/auth/soup-auth-digest.c +@@ -162,7 +162,7 @@ soup_auth_digest_update (SoupAuth *auth, SoupMessage *msg, + guint qop_options; + gboolean ok = TRUE; + +- if (!soup_auth_get_realm (auth) || !g_hash_table_contains (auth_params, "nonce")) ++ if (!soup_auth_get_realm (auth) || !g_hash_table_lookup (auth_params, "nonce")) + return FALSE; + + g_free (priv->domain); +-- +GitLab +
meta/recipes-support/libsoup/libsoup_3.4.4.bb +4 -0
@@ -22,6 +22,10 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32909.patch \ file://CVE-2025-32911_CVE-2025-32913-1.patch \ file://CVE-2025-32911_CVE-2025-32913-2.patch \ + file://CVE-2025-32912-1.patch \ + file://CVE-2025-32912-2.patch \ + file://CVE-2025-32912-3.patch \ + file://CVE-2025-32912-4.patch \ " SRC_URI[sha256sum] = "291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa"
Signature · 1 line
2.25.1
PATCH v2 5/5 libsoup: Fix CVE-2025-32906
In reply to [email protected]From: Vijay Anusuri <[email protected]>
Upstream-Status: Backport from
https://gitlab.gnome.org/GNOME/libsoup/-/commit/1f509f31b6f8420a3661c3f990424ab7b9164931
& https://gitlab.gnome.org/GNOME/libsoup/-/commit/af5b9a4a3945c52b940d5ac181ef51bb12011f1f
--- .../libsoup-3.4.4/CVE-2025-32906-1.patch | 61 ++++++++++++++ .../libsoup-3.4.4/CVE-2025-32906-2.patch | 83 +++++++++++++++++++ meta/recipes-support/libsoup/libsoup_3.4.4.bb | 2 + 3 files changed, 146 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32906-1.patch create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32906-2.patch
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32906-1.patch new file +61 -0
@@ -0,0 +1,61 @@ +From 1f509f31b6f8420a3661c3f990424ab7b9164931 Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Tue, 11 Feb 2025 14:36:26 -0600 +Subject: [PATCH] headers: Handle parsing edge case + +This version number is specifically crafted to pass sanity checks allowing it to go one byte out of bounds. + +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/1f509f31b6f8420a3661c3f990424ab7b9164931] +CVE: CVE-2025-32906 #Dependency Patch +Signed-off-by: Vijay Anusuri <[email protected]> +--- + libsoup/soup-headers.c | 2 +- + tests/header-parsing-test.c | 12 ++++++++++++ + 2 files changed, 13 insertions(+), 1 deletion(-) + +diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c +index 85385cea..9d6d00a3 100644 +--- a/libsoup/soup-headers.c ++++ b/libsoup/soup-headers.c +@@ -225,7 +225,7 @@ soup_headers_parse_request (const char *str, + !g_ascii_isdigit (version[5])) + return SOUP_STATUS_BAD_REQUEST; + major_version = strtoul (version + 5, &p, 10); +- if (*p != '.' || !g_ascii_isdigit (p[1])) ++ if (p + 1 >= str + len || *p != '.' || !g_ascii_isdigit (p[1])) + return SOUP_STATUS_BAD_REQUEST; + minor_version = strtoul (p + 1, &p, 10); + version_end = p; +diff --git a/tests/header-parsing-test.c b/tests/header-parsing-test.c +index 07ea2866..10ddb684 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 unterminated_http_version[] = { ++ 'G','E','T',' ','/',' ','H','T','T','P','/','1', '0', '0', '.' ++}; ++ + static struct RequestTest { + const char *description; + const char *bugref; +@@ -383,6 +387,14 @@ static struct RequestTest { + { { NULL } } + }, + ++ /* This couldn't be a C string as going one byte over would have been safe. */ ++ { "Long HTTP version terminating at missing minor version", "https://gitlab.gnome.org/GNOME/libsoup/-/issues/404", ++ unterminated_http_version, sizeof (unterminated_http_version), ++ SOUP_STATUS_BAD_REQUEST, ++ NULL, NULL, -1, ++ { { NULL } } ++ }, ++ + { "Non-HTTP request", NULL, + "GET / SOUP/1.1\r\nHost: example.com\r\n", -1, + SOUP_STATUS_BAD_REQUEST, +-- +GitLab +
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32906-2.patch new file +83 -0
83 lines not on this page · raw message
meta/recipes-support/libsoup/libsoup_3.4.4.bb +2 -0
@@ -26,6 +26,8 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ file://CVE-2025-32912-2.patch \ file://CVE-2025-32912-3.patch \ file://CVE-2025-32912-4.patch \ + file://CVE-2025-32906-1.patch \ + file://CVE-2025-32906-2.patch \ " SRC_URI[sha256sum] = "291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa"
Signature · 1 line
2.25.1
This seems to be identical to v1.
Quoted 65 lines · Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri <[email protected]>
Upstream-Status: Backport from https://gitlab.gnome.org/GNOME/libsoup/-/commit/ea16eeacb052e423eb5c3b0b705e5eab34b13832
Signed-off-by Vijay Anusuri <[email protected]>--- .../libsoup-3.4.4/CVE-2025-32910.patch | 27 +++++++++++++++++++ meta/recipes-support/libsoup/libsoup_3.4.4.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patchmeta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch new file +27
-0@@ -0,0 +1,27 @@ +From ea16eeacb052e423eb5c3b0b705e5eab34b13832 Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Fri, 27 Dec 2024 13:52:52 -0600 +Subject: [PATCH] auth-digest: Fix leak + +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/ea16eeacb052e423eb5c3b0b705e5eab34b13832] +CVE: CVE-2025-32910 +Signed-off-by: Vijay Anusuri <[email protected]> +--- + libsoup/auth/soup-auth-digest.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libsoup/auth/soup-auth-digest.c b/libsoup/auth/soup-auth-digest.c +index 350bfde6..9eb7fa0e 100644 +--- a/libsoup/auth/soup-auth-digest.c ++++ b/libsoup/auth/soup-auth-digest.c +@@ -72,6 +72,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)); +-- +GitLab +meta/recipes-support/libsoup/libsoup_3.4.4.bb +1
-1@@ -18,6 +18,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-2024-52531-3.patch \ + file://CVE-2025-32910.patch \ " SRC_URI[sha256sum] = "291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa" -=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group.
View/Reply Online (#215059): https://lists.openembedded.org/g/openembedded-core/message/215059
Mute This Topic: https://lists.openembedded.org/mt/112311177/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
I have renamed one of the patches in the v2 patch.
Thanks & Regards,
Vijay
Quoted 81 lines · Gyorgy Sarvari
This seems to be identical to v1.
Quoted 3 lines · Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri <[email protected]>
Upstream-Status: Backport from
https://gitlab.gnome.org/GNOME/libsoup/-/commit/ea16eeacb052e423eb5c3b0b705e5eab34b13832
Quoted 7 lines
Signed-off-by Vijay Anusuri <[email protected]>--- .../libsoup-3.4.4/CVE-2025-32910.patch | 27 +++++++++++++++++++ meta/recipes-support/libsoup/libsoup_3.4.4.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patchQuoted 2 lines
diff --git
a/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patchb/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patchmeta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch line 6
Quoted 11 lines
new file mode 100644
index 0000000000..32e0c86e62meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch new file +6
-0@@ -0,0 +1,27 @@ +From ea16eeacb052e423eb5c3b0b705e5eab34b13832 Mon Sep 17 00:00:00 2001 +From: Patrick Griffis <[email protected]> +Date: Fri, 27 Dec 2024 13:52:52 -0600 +Subject: [PATCH] auth-digest: Fix leak + +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/ea16eeacb052e423eb5c3b0b705e5eab34b13832
]meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch
Quoted 7 lines
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch new file +7
-0+CVE: CVE-2025-32910 +Signed-off-by: Vijay Anusuri <[email protected]> +--- + libsoup/auth/soup-auth-digest.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libsoup/auth/soup-auth-digest.c
b/libsoup/auth/soup-auth-digest.cReview
Quoted 15 lines
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch new file +14
-0+index 350bfde6..9eb7fa0e 100644 +--- a/libsoup/auth/soup-auth-digest.c ++++ b/libsoup/auth/soup-auth-digest.c +@@ -72,6 +72,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)); +-- +GitLab +(quoted diff) +0
-0b/meta/recipes-support/libsoup/libsoup_3.4.4.bb
meta/recipes-support/libsoup/libsoup_3.4.4.bb SRC_URI =
Quoted 4 lines
index
b2e32b892a..757e6432f7100644meta/recipes-support/libsoup/libsoup_3.4.4.bb +0
-0@@ -18,6 +18,7 @@ SRC_URI ="${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \
meta/recipes-support/libsoup/libsoup_3.4.4.bb SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \
Quoted 6 lines
meta/recipes-support/libsoup/libsoup_3.4.4.bb +1
-0file://CVE-2024-52531-1.patch \ file://CVE-2024-52531-2.patch \ file://CVE-2024-52531-3.patch \ + file://CVE-2025-32910.patch \ " SRC_URI[sha256sum] ="
291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa"Quoted 5 lines
meta/recipes-support/libsoup/libsoup_3.4.4.bb +0
-1-=-=-=-=-=-=-=-=-=-=-=-Links: You receive all messages sent to this group. View/Reply Online (#215059):
https://lists.openembedded.org/g/openembedded-core/message/215059
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/112311177/6084445
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Your reply makes me wonder if my feedback from yesterday reached you:
https://lists.openembedded.org/g/openembedded-core/message/214981 - don't know if you disagree with it, or maybe you just haven't seen it.
Quoted 100 lines · Vijay Anusuri
I have renamed one of the patches in the v2 patch.
Thanks & Regards,
VijayOn Thu, Apr 17, 2025 at 4:45 PM Gyorgy Sarvari <[email protected]> wrote:
This seems to be identical to v1. On 4/17/25 12:42, Vijay Anusuri via lists.openembedded.org <http://lists.openembedded.org> wrote: > From: Vijay Anusuri <[email protected]> > > Upstream-Status: Backport from https://gitlab.gnome.org/GNOME/libsoup/-/commit/ea16eeacb052e423eb5c3b0b705e5eab34b13832 > > Signed-off-by: Vijay Anusuri <[email protected]> > --- > .../libsoup-3.4.4/CVE-2025-32910.patch | 27 +++++++++++++++++++ > meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> | 1 + > 2 files changed, 28 insertions(+) > create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch > > diff --git a/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch b/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch > new file mode 100644 > index 0000000000..32e0c86e62 > --- /dev/null > +++ b/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch > @@ -0,0 +1,27 @@ > +From ea16eeacb052e423eb5c3b0b705e5eab34b13832 Mon Sep 17 00:00:00 2001 > +From: Patrick Griffis <[email protected]> > +Date: Fri, 27 Dec 2024 13:52:52 -0600 > +Subject: [PATCH] auth-digest: Fix leak > + > +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/ea16eeacb052e423eb5c3b0b705e5eab34b13832] > +CVE: CVE-2025-32910 > +Signed-off-by: Vijay Anusuri <[email protected]> > +--- > + libsoup/auth/soup-auth-digest.c | 1 + > + 1 file changed, 1 insertion(+) > + > +diff --git a/libsoup/auth/soup-auth-digest.c b/libsoup/auth/soup-auth-digest.c > +index 350bfde6..9eb7fa0e 100644 > +--- a/libsoup/auth/soup-auth-digest.c > ++++ b/libsoup/auth/soup-auth-digest.c > +@@ -72,6 +72,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)); > +-- > +GitLab > + > diff --git a/meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> b/meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> > index b2e32b892a..757e6432f7 100644 > --- a/meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> > +++ b/meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> > @@ -18,6 +18,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-2024-52531-3.patch \ > + file://CVE-2025-32910.patch \ > " > SRC_URI[sha256sum] = "291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa" > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#215059): https://lists.openembedded.org/g/openembedded-core/message/215059 > Mute This Topic: https://lists.openembedded.org/mt/112311177/6084445 > Group Owner: [email protected] <mailto:openembedded-core%[email protected]> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] > -=-=-=-=-=-=-=-=-=-=-=- >
I haven't seen your yesterday's message :
https://lists.openembedded.org/g/openembedded-core/message/214981
Those 2 missing commits were added as part of CVE-2025-32912 patch.
Thanks for letting me know. I will rename those patches and will send a v3 patch.
Thanks & Regards,
Vijay
Quoted 110 lines · Gyorgy Sarvari
Your reply makes me wonder if my feedback from yesterday reached you:
https://lists.openembedded.org/g/openembedded-core/message/214981 - don't know if you disagree with it, or maybe you just haven't seen it.Quoted 9 lines · Vijay Anusuri
I have renamed one of the patches in the v2 patch.
Thanks & Regards,
VijayOn Thu, Apr 17, 2025 at 4:45 PM Gyorgy Sarvari <[email protected]> wrote:
Quoted 8 lines
This seems to be identical to v1.
On 4/17/25 12:42, Vijay Anusuri via lists.openembedded.org
<http://lists.openembedded.org> wrote:
> From: Vijay Anusuri <[email protected]>
>
> Upstream-Status: Backport fromhttps://gitlab.gnome.org/GNOME/libsoup/-/commit/ea16eeacb052e423eb5c3b0b705e5eab34b13832
Quoted 20 lines
Quoted 4 lines
Signed-off-by Vijay Anusuri <[email protected]>--- .../libsoup-3.4.4/CVE-2025-32910.patch | 27+++++++++++++++++++ > meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> | 1 + > 2 files changed, 28 insertions(+) > create mode 100644 meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch > > diff --git a/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch b/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch > new file mode 100644 > index 0000000000..32e0c86e62 > --- /dev/null > +++ b/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch > @@ -0,0 +1,27 @@Quoted 8 lines
> +From ea16eeacb052e423eb5c3b0b705e5eab34b13832 Mon Sep 17 00:00:00 2001 > +From: Patrick Griffis <[email protected]> > +Date: Fri, 27 Dec 2024 13:52:52 -0600 > +Subject: [PATCH] auth-digest: Fix leak > + > +Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/ea16eeacb052e423eb5c3b0b705e5eab34b13832
]Quoted 39 lines
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch
Quoted 7 lines
meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch new file +7
-0+CVE: CVE-2025-32910 +Signed-off-by: Vijay Anusuri <[email protected]> +--- + libsoup/auth/soup-auth-digest.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/libsoup/auth/soup-auth-digest.cb/libsoup/auth/soup-auth-digest.c > +index 350bfde6..9eb7fa0e 100644 > +--- a/libsoup/auth/soup-auth-digest.c > ++++ b/libsoup/auth/soup-auth-digest.c > +@@ -72,6 +72,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)); > +-- > +GitLab > + > diff --git a/meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> b/meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> > index b2e32b892a..757e6432f7 100644 > --- a/meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> > +++ b/meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> > @@ -18,6 +18,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-2024-52531-3.patch \ > + file://CVE-2025-32910.patch \ > " > SRC_URI[sha256sum] =Quoted 8 lines
"291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa" > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#215059): https://lists.openembedded.org/g/openembedded-core/message/215059 > Mute This Topic:https://lists.openembedded.org/mt/112311177/6084445
Quoted 8 lines
Quoted 1 line
Group Owner: [email protected]
<mailto:openembedded-core%[email protected]> > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] > -=-=-=-=-=-=-=-=-=-=-=- >
Ahh, so I was missing something, it fixes multiple CVEs... thanks for the clarification.
Quoted 138 lines · Vijay Anusuri
I haven't seen your yesterday's message :
https://lists.openembedded.org/g/openembedded-core/message/214981Those 2 missing commits were added as part of CVE-2025-32912 patch.
Thanks for letting me know. I will rename those patches and will send a v3 patch.
Thanks & Regards,
VijayOn Thu, Apr 17, 2025 at 4:55 PM Gyorgy Sarvari <[email protected]> wrote:
Your reply makes me wonder if my feedback from yesterday reached you: https://lists.openembedded.org/g/openembedded-core/message/214981 - don't know if you disagree with it, or maybe you just haven't seen it. On 4/17/25 13:21, Vijay Anusuri wrote: > I have renamed one of the patches in the v2 patch. > > Thanks & Regards, > Vijay > > > On Thu, Apr 17, 2025 at 4:45 PM Gyorgy Sarvari <[email protected]> > wrote: > > This seems to be identical to v1. > > On 4/17/25 12:42, Vijay Anusuri via lists.openembedded.org <http://lists.openembedded.org> > <http://lists.openembedded.org> wrote: > > From: Vijay Anusuri <[email protected]> > > > > Upstream-Status: Backport from > https://gitlab.gnome.org/GNOME/libsoup/-/commit/ea16eeacb052e423eb5c3b0b705e5eab34b13832 > > > > Signed-off-by: Vijay Anusuri <[email protected]> > > --- > > .../libsoup-3.4.4/CVE-2025-32910.patch | 27 > +++++++++++++++++++ > > meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> > <http://libsoup_3.4.4.bb> | 1 + > > 2 files changed, 28 insertions(+) > > create mode 100644 > meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch > > > > diff --git > a/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch > b/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch > > new file mode 100644 > > index 0000000000..32e0c86e62 > > --- /dev/null > > +++ > b/meta/recipes-support/libsoup/libsoup-3.4.4/CVE-2025-32910.patch > > @@ -0,0 +1,27 @@ > > +From ea16eeacb052e423eb5c3b0b705e5eab34b13832 Mon Sep 17 > 00:00:00 2001 > > +From: Patrick Griffis <[email protected]> > > +Date: Fri, 27 Dec 2024 13:52:52 -0600 > > +Subject: [PATCH] auth-digest: Fix leak > > + > > +Upstream-Status: Backport > [https://gitlab.gnome.org/GNOME/libsoup/-/commit/ea16eeacb052e423eb5c3b0b705e5eab34b13832] > > +CVE: CVE-2025-32910 > > +Signed-off-by: Vijay Anusuri <[email protected]> > > +--- > > + libsoup/auth/soup-auth-digest.c | 1 + > > + 1 file changed, 1 insertion(+) > > + > > +diff --git a/libsoup/auth/soup-auth-digest.c > b/libsoup/auth/soup-auth-digest.c > > +index 350bfde6..9eb7fa0e 100644 > > +--- a/libsoup/auth/soup-auth-digest.c > > ++++ b/libsoup/auth/soup-auth-digest.c > > +@@ -72,6 +72,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)); > > +-- > > +GitLab > > + > > diff --git a/meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> > <http://libsoup_3.4.4.bb> > b/meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> > <http://libsoup_3.4.4.bb> > > index b2e32b892a..757e6432f7 100644 > > --- a/meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> > <http://libsoup_3.4.4.bb> > > +++ b/meta/recipes-support/libsoup/libsoup_3.4.4.bb <http://libsoup_3.4.4.bb> > <http://libsoup_3.4.4.bb> > > @@ -18,6 +18,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-2024-52531-3.patch \ > > + file://CVE-2025-32910.patch \ > > " > > SRC_URI[sha256sum] = > "291c67725f36ed90ea43efff25064b69c5a2d1981488477c05c481a3b4b0c5aa" > > > > > > -=-=-=-=-=-=-=-=-=-=-=- > > Links: You receive all messages sent to this group. > > View/Reply Online (#215059): > https://lists.openembedded.org/g/openembedded-core/message/215059 > > Mute This Topic: https://lists.openembedded.org/mt/112311177/6084445 > > Group Owner: [email protected] <mailto:openembedded-core%[email protected]> > <mailto:openembedded-core%[email protected] <mailto:openembedded-core%[email protected]>> > > Unsubscribe: > https://lists.openembedded.org/g/openembedded-core/unsub > [[email protected]] > > -=-=-=-=-=-=-=-=-=-=-=- > > >