diff options
-rw-r--r-- | meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patch | 32 | ||||
-rw-r--r-- | meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb | 1 |
2 files changed, 33 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patch b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patch new file mode 100644 index 0000000000..b3ce9d8bc3 --- /dev/null +++ b/meta-oe/recipes-support/libsoup/libsoup-2.4/CVE-2025-32912.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 0984dddb11daf14fdf5ca24077cd0ebda796439a Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Fri, 16 May 2025 13:25:32 +0800 | ||
4 | Subject: [PATCH] auth-digest: Handle missing nonce | ||
5 | |||
6 | CVE: CVE-2025-32912 | ||
7 | Upstream-Status: Backport | ||
8 | [https://gitlab.gnome.org/GNOME/libsoup/-/commit/cd077513f267e43ce4b659eb18a1734d8a369992?merge_request_iid=434 | ||
9 | https://gitlab.gnome.org/GNOME/libsoup/-/commit/910ebdcd3dd82386717a201c13c834f3a63eed7f] | ||
10 | |||
11 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
12 | --- | ||
13 | libsoup/soup-auth-digest.c | 2 +- | ||
14 | 1 files changed, 1 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c | ||
17 | index 6d965d2..f1621ec 100644 | ||
18 | --- a/libsoup/soup-auth-digest.c | ||
19 | +++ b/libsoup/soup-auth-digest.c | ||
20 | @@ -156,7 +156,7 @@ soup_auth_digest_update (SoupAuth *auth, SoupMessage *msg, | ||
21 | guint qop_options; | ||
22 | gboolean ok = TRUE; | ||
23 | |||
24 | - if (!soup_auth_get_realm (auth)) | ||
25 | + if (!soup_auth_get_realm (auth) || !g_hash_table_lookup (auth_params, "nonce")) | ||
26 | return FALSE; | ||
27 | |||
28 | g_free (priv->domain); | ||
29 | |||
30 | -- | ||
31 | 2.34.1 | ||
32 | |||
diff --git a/meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb b/meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb index 3e4a8e14d4..09881f9062 100644 --- a/meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb +++ b/meta-oe/recipes-support/libsoup/libsoup-2.4_2.74.3.bb | |||
@@ -32,6 +32,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ | |||
32 | file://CVE-2025-32910-1.patch \ | 32 | file://CVE-2025-32910-1.patch \ |
33 | file://CVE-2025-32910-2.patch \ | 33 | file://CVE-2025-32910-2.patch \ |
34 | file://CVE-2025-32910-3.patch \ | 34 | file://CVE-2025-32910-3.patch \ |
35 | file://CVE-2025-32912.patch \ | ||
35 | " | 36 | " |
36 | SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13" | 37 | SRC_URI[sha256sum] = "e4b77c41cfc4c8c5a035fcdc320c7bc6cfb75ef7c5a034153df1413fa1d92f13" |
37 | 38 | ||