diff options
| author | Changqing Li <changqing.li@windriver.com> | 2025-05-30 15:13:06 +0800 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-06-13 09:01:25 -0700 |
| commit | 93f514659119255d2f210ea22b7ec7e8283cb01c (patch) | |
| tree | e77401848a5c6d360839846316f203eb475b73a4 /meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch | |
| parent | 6c2bade41f1762f4723c09ef28b36e273fa88906 (diff) | |
| download | poky-93f514659119255d2f210ea22b7ec7e8283cb01c.tar.gz | |
libsoup-2.4: fix CVE-2025-32910
Refer:
https://gitlab.gnome.org/GNOME/libsoup/-/issues/432
(From OE-Core rev: 1ecca7b624a7f33513d5e585bedec6438acef3e8)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch')
| -rw-r--r-- | meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch b/meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch new file mode 100644 index 0000000000..c1dc6860f2 --- /dev/null +++ b/meta/recipes-support/libsoup/libsoup-2.4/CVE-2025-32910-1.patch | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | From a7e711d0f162c6edc8acad2a96981d4890784ea3 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Changqing Li <changqing.li@windriver.com> | ||
| 3 | Date: Mon, 12 May 2025 17:02:55 +0800 | ||
| 4 | Subject: [PATCH] auth-digest: Handle missing realm/nonce in authenticate | ||
| 5 | header | ||
| 6 | |||
| 7 | CVE: CVE-2025-32910 | ||
| 8 | Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/merge_requests/417/diffs?commit_id=e40df6d48a1cbab56f5d15016cc861a503423cfe] | ||
| 9 | |||
| 10 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
| 11 | --- | ||
| 12 | libsoup/soup-auth-digest.c | 3 +++ | ||
| 13 | 1 files changed, 3 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/libsoup/soup-auth-digest.c b/libsoup/soup-auth-digest.c | ||
| 16 | index e8ba990..0ab3499 100644 | ||
| 17 | --- a/libsoup/soup-auth-digest.c | ||
| 18 | +++ b/libsoup/soup-auth-digest.c | ||
| 19 | @@ -142,6 +142,9 @@ soup_auth_digest_update (SoupAuth *auth, SoupMessage *msg, | ||
| 20 | guint qop_options; | ||
| 21 | gboolean ok = TRUE; | ||
| 22 | |||
| 23 | + if (!soup_auth_get_realm (auth)) | ||
| 24 | + return FALSE; | ||
| 25 | + | ||
| 26 | g_free (priv->domain); | ||
| 27 | g_free (priv->nonce); | ||
| 28 | g_free (priv->opaque); | ||
| 29 | |||
| 30 | -- | ||
| 31 | 2.34.1 | ||
| 32 | |||
