diff options
| author | Vijay Anusuri <vanusuri@mvista.com> | 2025-06-13 11:14:49 +0530 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-06-20 08:06:29 -0700 |
| commit | 8bce7467dc6f2ee68254132fe255a9a2e3df3951 (patch) | |
| tree | 86204eabc786b514cd0272456e72095e6607265e | |
| parent | ca51d99bf3906e6eb45b4fa92d13ef7a1fa626ae (diff) | |
| download | poky-8bce7467dc6f2ee68254132fe255a9a2e3df3951.tar.gz | |
libsoup: Fix CVE-2025-32050
Upstream-Status: Backport
[https://gitlab.gnome.org/GNOME/libsoup/-/commit/9bb0a55de55c6940ced811a64fbca82fe93a9323]
(From OE-Core rev: f4866635b88b24d5891f83e23c9cc3fc21876b52)
Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -rw-r--r-- | meta/recipes-support/libsoup/libsoup/CVE-2025-32050.patch | 28 | ||||
| -rw-r--r-- | meta/recipes-support/libsoup/libsoup_3.0.7.bb | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-support/libsoup/libsoup/CVE-2025-32050.patch b/meta/recipes-support/libsoup/libsoup/CVE-2025-32050.patch new file mode 100644 index 0000000000..474eb465a6 --- /dev/null +++ b/meta/recipes-support/libsoup/libsoup/CVE-2025-32050.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From 9bb0a55de55c6940ced811a64fbca82fe93a9323 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Patrick Griffis <pgriffis@igalia.com> | ||
| 3 | Date: Mon, 28 Oct 2024 12:29:48 -0500 | ||
| 4 | Subject: [PATCH] Fix using int instead of size_t for strcspn return | ||
| 5 | |||
| 6 | Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libsoup/-/commit/9bb0a55de55c6940ced811a64fbca82fe93a9323] | ||
| 7 | CVE: CVE-2025-32050 | ||
| 8 | Signed-off-by: Vijay Anusuri <vanusuri@mvista.com> | ||
| 9 | --- | ||
| 10 | libsoup/soup-headers.c | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/libsoup/soup-headers.c b/libsoup/soup-headers.c | ||
| 14 | index 613e1905..a5f7a7f6 100644 | ||
| 15 | --- a/libsoup/soup-headers.c | ||
| 16 | +++ b/libsoup/soup-headers.c | ||
| 17 | @@ -907,7 +907,7 @@ append_param_quoted (GString *string, | ||
| 18 | const char *name, | ||
| 19 | const char *value) | ||
| 20 | { | ||
| 21 | - int len; | ||
| 22 | + gsize len; | ||
| 23 | |||
| 24 | g_string_append (string, name); | ||
| 25 | g_string_append (string, "=\""); | ||
| 26 | -- | ||
| 27 | GitLab | ||
| 28 | |||
diff --git a/meta/recipes-support/libsoup/libsoup_3.0.7.bb b/meta/recipes-support/libsoup/libsoup_3.0.7.bb index 74110b21c3..27aab1468f 100644 --- a/meta/recipes-support/libsoup/libsoup_3.0.7.bb +++ b/meta/recipes-support/libsoup/libsoup_3.0.7.bb | |||
| @@ -32,6 +32,7 @@ SRC_URI = "${GNOME_MIRROR}/libsoup/${SHRT_VER}/libsoup-${PV}.tar.xz \ | |||
| 32 | file://CVE-2025-32914.patch \ | 32 | file://CVE-2025-32914.patch \ |
| 33 | file://CVE-2025-2784-1.patch \ | 33 | file://CVE-2025-2784-1.patch \ |
| 34 | file://CVE-2025-2784-2.patch \ | 34 | file://CVE-2025-2784-2.patch \ |
| 35 | file://CVE-2025-32050.patch \ | ||
| 35 | " | 36 | " |
| 36 | SRC_URI[sha256sum] = "ebdf90cf3599c11acbb6818a9d9e3fc9d2c68e56eb829b93962972683e1bf7c8" | 37 | SRC_URI[sha256sum] = "ebdf90cf3599c11acbb6818a9d9e3fc9d2c68e56eb829b93962972683e1bf7c8" |
| 37 | 38 | ||
