by ajross · 2y ago · 0 comments
This is way oversold. That's true of "all popular apps" because those apps are legacy things written to run in the host filesystem and store state to the home directory. And there are good reasons to want to do this.
That's not an indictment of the technology, that's just saying that Thunderbird or whatever hasn't been ported to run in a sandbox yet. I mean, yeah. But why complain about the perfectly good sandbox technology and not the app?
Edit: this one is even worse:
> A perfect example is CVE-2019-17498 with public exploit available for some 8 months. The first app on Flathub I find to use libssh2 library is Gitg and, indeed, it does ship with unpatched libssh2.
So, that's a ssh client vulnerability. And indeed, you absolutely want your apps to ship current binaries with vulnerabilities patched, and this app didn't. So isn't it a good thing you deployed that app in a sandbox? Again, why complain about Flatpak when it likely is what's saving you from a client vulnerability?
You can't expect apps to migrate to something that a) promises to support the existing model, and b) also support the existing model.
What these app package formats should be doing is coming up with a new model and then asking people to support their model as if it were a new platform.
Similar to how thunderbird supports Linux Mac and windows.
That might actually result in both an access model that makes sense to end users and actually creates an app package formats that isn't full of trade offs and work arounds.
> So isn't it a good thing you deployed that app in a sandbox? Again, why complain about Flatpak when it likely is what's saving you from a client vulnerability?
Because it's not!
https://flathub.org/apps/org.gnome.gitg
> gitg is potentially unsafe
Full file system read/write access
Can read and write all data on the file system
User runtime subfolder keyring
Can read and write all data in the directory
Network access
Has network access
Now instead of the lack of useful sandboxing reducing you to the same absence of protection as native distro packages, you're worse off.I feel that users like me are far more prevalent than users who want to rigorously audit every path the IDE may want to open.
Vscode on snap runs unconfined for example, that's explicit