mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #5636] chromium: different instances can talk to each other when --noprofile is used #3051
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#3051
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Flashwalker on GitHub (Feb 2, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/5636
Description
Don't know bug or feature and it's intended, but:
I have a browser installed via Flatpak - one build version (e.g. v.109)
And i have the same browser as Appimage - another build version (e.g. v.107)
And
if i run a Flatpak one (v.109) like this:
and then i start Appimage one (v.107) like this with
--noprofileand with another browser--profile-directory:I get:
Thus, a browser running via Appimage with
--noprofileactually works like one running through Flatpak.An existing browser session, launched by Flatpak, has been reused.
And if i open About page in the Appimage running browser i can see the same build version as in Flatpak one - v.109. When, imho, it supposed to be firejailed v.107.
The same thing happens the other way around if I run Appimage variant first and then Flatpak variant. I can see that the version in About page is actualy from Appimage.
Is it intended to not sandbox app if
--noprofilewas passed?Or is it a Appimage specific behavior?
Steps to Reproduce
--noprofileand with another browser--profile-directoryExpected behavior
Firejailed Appimage runs in the sandbox separately from Flatpak
Actual behavior
Flatpak session reused
Environment
Log
@kmk3 commented on GitHub (Feb 2, 2023):
Note that we do not maintain that version of firejail:
Versions other than the latest usually have outdated profiles and may contain
bugs and security vulnerabilities that were fixed in later versions.
See also:
@kmk3 commented on GitHub (Feb 2, 2023):
@Flashwalker on Feb 2:
Yes, it negates almost all of the security that firejail provides by default
and is intended for debugging only.
The profile is where the sandbox restrictions are specified; see
chromium.profile for example.
If the problem still happens even without
--noprofile, note that theinstances may be communicating through dbus.
Firefox has a
--no-remoteCLI option to force starting a new instance.Does Chromium have something similar?
You could also try blocking all dbus access with the following options:
This is safer but may break things like notifications and system tray icons.
@kmk3 commented on GitHub (Sep 1, 2024):
Yes, that is exactly what that option is supposed to do.
It seems to be working as intended; closing as not a bug.
Thanks for the detailed report by the way; feel free to open more issues.