diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-03-09 19:20:59 +0100 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-03-09 19:22:32 +0100 |
| commit | 9cc3662befa738c400cdaf5d64674ebaf0582d97 (patch) | |
| tree | 96e2a2edcfc0b10207e44ca9c33e0b77d62db4e0 | |
| parent | 81eac1544459e5ccf8387c1bbb0a64f0c23d04a4 (diff) | |
| download | meta-openembedded-9cc3662befa738c400cdaf5d64674ebaf0582d97.tar.gz | |
gimp: patch CVE-2023-44442
Details: https://nvd.nist.gov/vuln/detail/CVE-2023-44442
Backport the patch that resolved the related upstream issue[1].
[1]: https://gitlab.gnome.org/GNOME/gimp/-/issues/10101
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
| -rw-r--r-- | meta-gnome/recipes-gimp/gimp/gimp/CVE-2023-44442.patch | 28 | ||||
| -rw-r--r-- | meta-gnome/recipes-gimp/gimp/gimp_2.10.30.bb | 1 |
2 files changed, 29 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gimp/gimp/gimp/CVE-2023-44442.patch b/meta-gnome/recipes-gimp/gimp/gimp/CVE-2023-44442.patch new file mode 100644 index 0000000000..8b51b35792 --- /dev/null +++ b/meta-gnome/recipes-gimp/gimp/gimp/CVE-2023-44442.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From a4f550be80f2f771927e2df9ae09e3f3354d22f1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alx Sa <cmyk.student@gmail.com> | ||
| 3 | Date: Fri, 29 Sep 2023 20:39:29 +0000 | ||
| 4 | Subject: [PATCH] plug-ins: Fix vulnerability in file-psd | ||
| 5 | |||
| 6 | Resolves #10101. | ||
| 7 | This patch adds a missing break statement after an error condition | ||
| 8 | is detected to prevent the code from continuing afterwards. | ||
| 9 | |||
| 10 | CVE: CVE-2023-44442 | ||
| 11 | Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gimp/-/commit/985c0a20e18b5b3b8a48ee9cb12287b1d5732d3d] | ||
| 12 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 13 | --- | ||
| 14 | plug-ins/file-psd/psd-util.c | 1 + | ||
| 15 | 1 file changed, 1 insertion(+) | ||
| 16 | |||
| 17 | diff --git a/plug-ins/file-psd/psd-util.c b/plug-ins/file-psd/psd-util.c | ||
| 18 | index 5686bb7..8514b07 100644 | ||
| 19 | --- a/plug-ins/file-psd/psd-util.c | ||
| 20 | +++ b/plug-ins/file-psd/psd-util.c | ||
| 21 | @@ -518,6 +518,7 @@ decode_packbits (const gchar *src, | ||
| 22 | { | ||
| 23 | IFDBG(2) g_debug ("Overrun in packbits replicate of %d chars", n - unpack_left); | ||
| 24 | error_code = 2; | ||
| 25 | + break; | ||
| 26 | } | ||
| 27 | memset (dst, *src, n); | ||
| 28 | src++; | ||
diff --git a/meta-gnome/recipes-gimp/gimp/gimp_2.10.30.bb b/meta-gnome/recipes-gimp/gimp/gimp_2.10.30.bb index 11b369a42e..8eb36e7d8f 100644 --- a/meta-gnome/recipes-gimp/gimp/gimp_2.10.30.bb +++ b/meta-gnome/recipes-gimp/gimp/gimp_2.10.30.bb | |||
| @@ -49,6 +49,7 @@ SRC_URI = "https://download.gimp.org/pub/${BPN}/v${SHPV}/${BP}.tar.bz2 \ | |||
| 49 | file://CVE-2022-32990-2.patch \ | 49 | file://CVE-2022-32990-2.patch \ |
| 50 | file://CVE-2022-32990-3.patch \ | 50 | file://CVE-2022-32990-3.patch \ |
| 51 | file://CVE-2023-44441.patch \ | 51 | file://CVE-2023-44441.patch \ |
| 52 | file://CVE-2023-44442.patch \ | ||
| 52 | " | 53 | " |
| 53 | SRC_URI[sha256sum] = "88815daa76ed7d4277eeb353358bafa116cd2fcd2c861d95b95135c1d52b67dc" | 54 | SRC_URI[sha256sum] = "88815daa76ed7d4277eeb353358bafa116cd2fcd2c861d95b95135c1d52b67dc" |
| 54 | 55 | ||
