mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 18:32:12 +02:00
libsoup: patch CVE-2025-4476
Upstream-Status: Backport [e64c221f9c]
(From OE-Core rev: 4cd294674ed05e1b72e722b46ac1e2b5f3603460)
Signed-off-by: Ashish Sharma <asharma@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
52b3a3b7c5
commit
41197b0df6
38
meta/recipes-support/libsoup/libsoup/CVE-2025-4476.patch
Normal file
38
meta/recipes-support/libsoup/libsoup/CVE-2025-4476.patch
Normal file
@@ -0,0 +1,38 @@
|
||||
From e64c221f9c7d09b48b610c5626b3b8c400f0907c Mon Sep 17 00:00:00 2001
|
||||
From: Michael Catanzaro <mcatanzaro@redhat.com>
|
||||
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
|
||||
|
||||
Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/e64c221f9c7d09b48b610c5626b3b8c400f0907c]
|
||||
CVE: CVE-2025-4476
|
||||
Signed-off-by: Ashish Sharma <asharma@mvista.com>
|
||||
|
||||
|
||||
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 d8bb2910..292f2045 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;
|
||||
--
|
||||
GitLab
|
||||
|
||||
@@ -36,6 +36,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \
|
||||
file://CVE-2025-32052.patch \
|
||||
file://CVE-2025-32053.patch \
|
||||
file://CVE-2025-46420.patch \
|
||||
file://CVE-2025-4476.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "ebdf90cf3599c11acbb6818a9d9e3fc9d2c68e56eb829b93962972683e1bf7c8"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user