diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-12-24 20:34:33 +0100 |
|---|---|---|
| committer | Gyorgy Sarvari <skandigraun@gmail.com> | 2025-12-25 10:17:02 +0100 |
| commit | 12807d9007b806e1c9e729909f40b5004800174a (patch) | |
| tree | 5c1dd106835508e92cc033ea3c73a4af47ef5906 | |
| parent | 68bc6d3bbe3a52c0db9de0c7b8a97de751b159db (diff) | |
| download | meta-openembedded-12807d9007b806e1c9e729909f40b5004800174a.tar.gz | |
zabbix: patch CVE-2025-49643
The actual patch was identified by checking the file that was modified
in the tag 6.0.42, and also by looking at the Jira item referenced by it:
the patch references DEV-4466, the same ID that is referenced in the
Jira ticket[1] referenced by the NVD report (look in the "All Activity" tab).
[1]: https://support.zabbix.com/browse/ZBX-27284
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
| -rw-r--r-- | meta-oe/recipes-connectivity/zabbix/zabbix/CVE-2025-49643.patch | 38 | ||||
| -rw-r--r-- | meta-oe/recipes-connectivity/zabbix/zabbix_5.4.12.bb | 1 |
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/zabbix/zabbix/CVE-2025-49643.patch b/meta-oe/recipes-connectivity/zabbix/zabbix/CVE-2025-49643.patch new file mode 100644 index 0000000000..c518880c7a --- /dev/null +++ b/meta-oe/recipes-connectivity/zabbix/zabbix/CVE-2025-49643.patch | |||
| @@ -0,0 +1,38 @@ | |||
| 1 | From 2fe5c1d761226d73fe49269eac96dcd99860efa6 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Ginta Berzina <ginta.berzina@zabbix.com> | ||
| 3 | Date: Mon, 1 Sep 2025 14:10:12 +0300 | ||
| 4 | Subject: [PATCH] ..F....... [DEV-4466] fixed resource usage for image resize | ||
| 5 | |||
| 6 | CVE: CVE-2025-49643 | ||
| 7 | Upstream-Status: Backport [https://github.com/zabbix/zabbix/commit/aeada86d3c8231e1e173c6a7ac19ea60bf899b86] | ||
| 8 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 9 | --- | ||
| 10 | ui/imgstore.php | 8 ++------ | ||
| 11 | 1 file changed, 2 insertions(+), 6 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/ui/imgstore.php b/ui/imgstore.php | ||
| 14 | index 38661f5..6a616df 100644 | ||
| 15 | --- a/ui/imgstore.php | ||
| 16 | +++ b/ui/imgstore.php | ||
| 17 | @@ -34,8 +34,8 @@ $fields = [ | ||
| 18 | 'css' => [T_ZBX_INT, O_OPT, P_SYS, null, null], | ||
| 19 | 'imageid' => [T_ZBX_STR, O_OPT, P_SYS, null, null], | ||
| 20 | 'iconid' => [T_ZBX_INT, O_OPT, P_SYS, DB_ID, null], | ||
| 21 | - 'width' => [T_ZBX_INT, O_OPT, P_SYS, BETWEEN(1, 2000), null], | ||
| 22 | - 'height' => [T_ZBX_INT, O_OPT, P_SYS, BETWEEN(1, 2000), null], | ||
| 23 | + 'width' => [T_ZBX_INT, O_OPT, P_SYS, BETWEEN(1, 200), null], | ||
| 24 | + 'height' => [T_ZBX_INT, O_OPT, P_SYS, BETWEEN(1, 200), null], | ||
| 25 | 'unavailable' => [T_ZBX_INT, O_OPT, null, IN([0, 1]), null] | ||
| 26 | ]; | ||
| 27 | check_fields($fields); | ||
| 28 | @@ -58,10 +58,6 @@ if (isset($_REQUEST['css'])) { | ||
| 29 | foreach ($images as $image) { | ||
| 30 | $image['image'] = base64_decode($image['image']); | ||
| 31 | $ico = imagecreatefromstring($image['image']); | ||
| 32 | - | ||
| 33 | - if ($resize) { | ||
| 34 | - $ico = imageThumb($ico, $width, $height); | ||
| 35 | - } | ||
| 36 | $w = imagesx($ico); | ||
| 37 | $h = imagesy($ico); | ||
| 38 | |||
diff --git a/meta-oe/recipes-connectivity/zabbix/zabbix_5.4.12.bb b/meta-oe/recipes-connectivity/zabbix/zabbix_5.4.12.bb index 75ba16a450..f55890a456 100644 --- a/meta-oe/recipes-connectivity/zabbix/zabbix_5.4.12.bb +++ b/meta-oe/recipes-connectivity/zabbix/zabbix_5.4.12.bb | |||
| @@ -34,6 +34,7 @@ SRC_URI = "https://cdn.zabbix.com/zabbix/sources/oldstable/5.4/${BPN}-${PV}.tar. | |||
| 34 | file://CVE-2023-32726.patch \ | 34 | file://CVE-2023-32726.patch \ |
| 35 | file://CVE-2023-32727_0001.patch \ | 35 | file://CVE-2023-32727_0001.patch \ |
| 36 | file://CVE-2023-32727_0002.patch \ | 36 | file://CVE-2023-32727_0002.patch \ |
| 37 | file://CVE-2025-49643.patch \ | ||
| 37 | " | 38 | " |
| 38 | 39 | ||
| 39 | SRC_URI[md5sum] = "f295fd2df86143d72f6ff26e47d9e39e" | 40 | SRC_URI[md5sum] = "f295fd2df86143d72f6ff26e47d9e39e" |
