public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/evolution] f44: Resolves: #2552752 (CVE-2026-110777: Calendar: Limit which local files are inlined in components)
@ 2026-10-15 6:59 Milan Crha
0 siblings, 0 replies; only message in thread
From: Milan Crha @ 2026-10-15 6:59 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/evolution
Branch : f44
Commit : b58de2f1c30088713b0e9a6aa58a51b146b98c42
Author : Milan Crha <mcrha@redhat.com>
Date : 2026-10-15T08:58:26+02:00
Stats : +71/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/evolution/c/b58de2f1c30088713b0e9a6aa58a51b146b98c42?branch=f44
Log:
Resolves: #2552752 (CVE-2026-110777: Calendar: Limit which local files are inlined in components)
---
diff --git a/0002-CVE-2026-110777-Calendar-Limit-local-files-inline.patch b/0002-CVE-2026-110777-Calendar-Limit-local-files-inline.patch
new file mode 100644
index 0000000..ac52d4e
--- /dev/null
+++ b/0002-CVE-2026-110777-Calendar-Limit-local-files-inline.patch
@@ -0,0 +1,67 @@
+diff --git a/src/calendar/importers/icalendar-importer.c b/src/calendar/importers/icalendar-importer.c
+index ff2f953..830b571 100644
+--- a/src/calendar/importers/icalendar-importer.c
++++ b/src/calendar/importers/icalendar-importer.c
+@@ -235,16 +235,27 @@ update_objects (ECalClient *cal_client,
+
+ kind = i_cal_component_isa (icomp);
+ if (kind == I_CAL_VTODO_COMPONENT || kind == I_CAL_VEVENT_COMPONENT) {
++ ICalComponent *clone;
+ vcal = e_cal_util_new_top_level ();
+ if (i_cal_component_get_method (icomp) == I_CAL_METHOD_CANCEL)
+ i_cal_component_set_method (vcal, I_CAL_METHOD_CANCEL);
+ else
+ i_cal_component_set_method (vcal, I_CAL_METHOD_PUBLISH);
+- i_cal_component_take_component (vcal, i_cal_component_clone (icomp));
++ clone = i_cal_component_clone (icomp);
++ e_cal_util_sanitize_untrusted (clone, NULL, NULL);
++ i_cal_component_take_component (vcal, clone);
+ } else if (kind == I_CAL_VCALENDAR_COMPONENT) {
++ ICalComponent *subcomp;
++
+ vcal = i_cal_component_clone (icomp);
+ if (!e_cal_util_component_has_property (vcal, I_CAL_METHOD_PROPERTY))
+ i_cal_component_set_method (vcal, I_CAL_METHOD_PUBLISH);
++
++ for (subcomp = i_cal_component_get_first_component (vcal, I_CAL_ANY_COMPONENT);
++ subcomp;
++ g_object_unref (subcomp), subcomp = i_cal_component_get_next_component (vcal, I_CAL_ANY_COMPONENT)) {
++ e_cal_util_sanitize_untrusted (subcomp, NULL, NULL);
++ }
+ } else {
+ if (done_cb)
+ done_cb (user_data, NULL);
+diff --git a/src/modules/itip-formatter/itip-view.c b/src/modules/itip-formatter/itip-view.c
+index 171b656..8367845 100644
+--- a/src/modules/itip-formatter/itip-view.c
++++ b/src/modules/itip-formatter/itip-view.c
+@@ -6666,6 +6666,7 @@ extract_itip_data (ItipView *view,
+ GSettings *settings;
+ ICalProperty *prop;
+ ICalComponentKind kind = I_CAL_NO_COMPONENT;
++ ICalComponent *subcomp;
+ ICalComponent *tz_comp;
+ ICalComponent *alarm_comp;
+ ICalCompIter *iter;
+@@ -6700,8 +6701,6 @@ extract_itip_data (ItipView *view,
+
+ prop = i_cal_component_get_first_property (view->priv->main_comp, I_CAL_METHOD_PROPERTY);
+ if (prop == NULL) {
+- ICalComponent *subcomp;
+-
+ view->priv->method = I_CAL_METHOD_PUBLISH;
+
+ /* Search in sub-components for the METHOD property when not found in the VCALENDAR */
+@@ -6728,6 +6727,12 @@ extract_itip_data (ItipView *view,
+ g_clear_object (&prop);
+ }
+
++ for (subcomp = i_cal_component_get_first_component (view->priv->main_comp, I_CAL_ANY_COMPONENT);
++ subcomp;
++ g_object_unref (subcomp), subcomp = i_cal_component_get_next_component (view->priv->main_comp, I_CAL_ANY_COMPONENT)) {
++ e_cal_util_sanitize_untrusted (subcomp, NULL, NULL);
++ }
++
+ iter = i_cal_component_begin_component (view->priv->main_comp, I_CAL_VTIMEZONE_COMPONENT);
+ tz_comp = i_cal_comp_iter_deref (iter);
+ while (tz_comp) {
diff --git a/evolution.spec b/evolution.spec
index cb27733..64fe8cb 100644
--- a/evolution.spec
+++ b/evolution.spec
@@ -59,6 +59,9 @@ Source2: flatpak-evolution-wrapper.sh.in
# https://gitlab.gnome.org/GNOME/evolution/-/work_items/3388
Patch01: 0001-CVE-2026-88859-validate-clickable-preview-elements.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=2552752
+Patch02: 0002-CVE-2026-110777-Calendar-Limit-local-files-inline.patch
+
# 100-199: Flatpak-specific patches
# https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/144
Patch100: configurable-dbus-prefix.patch
@@ -76,7 +79,7 @@ Obsoletes: evolution-rss < 3.45.2
Obsoletes: evolution-tests <= 3.31.1
%endif
-%global eds_version %{version}
+%global eds_version %{version}-2
## Dependencies ###
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-15 6:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-15 6:59 [rpms/evolution] f44: Resolves: #2552752 (CVE-2026-110777: Calendar: Limit which local files are inlined in components) Milan Crha
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox