From: Changqing Li Date: Tue, 3 Jun 2025 05:20:55 +0000 (+0800) Subject: libsoup: fix CVE-2025-4476 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0b93d8cedfd102fcd723786b975a5cf684c2b0e8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libsoup: fix CVE-2025-4476 Refer: https://gitlab.gnome.org/GNOME/libsoup/-/issues/440 Signed-off-by: Changqing Li Signed-off-by: Steve Sakoman --- diff --git a/meta/recipes-support/libsoup/libsoup/CVE-2025-4476.patch b/meta/recipes-support/libsoup/libsoup/CVE-2025-4476.patch new file mode 100644 index 0000000000..d0b1f12709 --- /dev/null +++ b/meta/recipes-support/libsoup/libsoup/CVE-2025-4476.patch @@ -0,0 +1,39 @@ +From 71d33e37139fee6216ad2bf4e926f987076a6cff Mon Sep 17 00:00:00 2001 +From: Michael Catanzaro +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