public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/epiphany] rawhide: Fix CVE-2026-118598
@ 2026-10-28 23:43 Adrian Vovk
  0 siblings, 0 replies; only message in thread
From: Adrian Vovk @ 2026-10-28 23:43 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/epiphany
Branch : rawhide
Commit : a6decb40cd5f2773cbea48df4a5becf354da6e7a
Author : Adrian Vovk <avovk@redhat.com>
Date   : 2026-10-28T19:33:55-04:00
Stats  : +35/-0 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/epiphany/c/a6decb40cd5f2773cbea48df4a5becf354da6e7a?branch=rawhide

Log:
Fix CVE-2026-118598

---
diff --git a/CVE-2026-118598.patch b/CVE-2026-118598.patch
new file mode 100644
index 0000000..87c7f3f
--- /dev/null
+++ b/CVE-2026-118598.patch
@@ -0,0 +1,34 @@
+From 480c364890a996d893369b8e09e42e706140fc9e Mon Sep 17 00:00:00 2001
+From: John Cardullo <john@jcarmedia.org>
+Date: Fri, 23 Oct 2026 22:42:21 -0700
+Subject: [PATCH] ephy-window: Fix condition when saving webcam and microphone
+ permissions
+
+set_permission() checked
+EPHY_PERMISSION_TYPE_ACCESS_WEBCAM_AND_MICROPHONE directly in an
+else-if clause rather than checking data->permission_type.
+Compare data->permission_type explicitly against
+EPHY_PERMISSION_TYPE_ACCESS_WEBCAM_AND_MICROPHONE.
+
+Fixes: https://gitlab.gnome.org/GNOME/epiphany/-/work_items/2976
+Part-of: <https://gitlab.gnome.org/GNOME/epiphany/-/merge_requests/2249>
+---
+ src/ephy-window.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/ephy-window.c b/src/ephy-window.c
+index 57a92a9b7..6e4e77202 100644
+--- a/src/ephy-window.c
++++ b/src/ephy-window.c
+@@ -3234,7 +3234,7 @@ set_permission (EphyPermissionRequestData *data,
+                                              data->permission_type, data->origin,
+                                              response ? EPHY_PERMISSION_PERMIT
+                                                       : EPHY_PERMISSION_DENY);
+-  } else if (EPHY_PERMISSION_TYPE_ACCESS_WEBCAM_AND_MICROPHONE) {
++  } else if (data->permission_type == EPHY_PERMISSION_TYPE_ACCESS_WEBCAM_AND_MICROPHONE) {
+     ephy_permissions_manager_set_permission (permissions_manager,
+                                              EPHY_PERMISSION_TYPE_ACCESS_WEBCAM,
+                                              data->origin,
+-- 
+GitLab
+

diff --git a/epiphany.spec b/epiphany.spec
index 8509fa8..0aab586 100644
--- a/epiphany.spec
+++ b/epiphany.spec
@@ -20,6 +20,7 @@ Source0:        https://download.gnome.org/sources/epiphany/%{gnome_major_versio
 Patch0:         epiphany-default-bookmarks.patch
 
 Patch1:         CVE-2026-118599.patch
+Patch2:         CVE-2026-118598.patch
 
 BuildRequires:  /usr/bin/rst2man
 BuildRequires:  blueprint-compiler

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-28 23:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-28 23:43 [rpms/epiphany] rawhide: Fix CVE-2026-118598 Adrian Vovk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox