Fedora 27 : flatpak (2018-9b7d7a155b)

High Nessus Plugin ID 119157

Synopsis

The remote Fedora host is missing a security update.

Description

flatpak 1.0.6 release.

This release fixes an issue that lets system-wide installed applications create setuid root files inside their app dir (somewhere in /var/lib/flatpak/app). Setuid support is disabled inside flatpaks, so such files are only a risk if the user runs them manually outside flatpak.

Installing a flatpak system-wide is needs root access, so this isn't a privilege elevation for non-root users, and allowing root to install setuid files is something all traditional packaging systems allow.
However flatpak tries to be better than that, in order to make it easier to trust third-party repositories.

Changes in this version :

- The permissions of the files created by the apply_extra script is canonicalized and the script itself is run without any capabilities.

- Better matching of existing remotes when the local and remote configuration differs wrt collection ids.

- New flatpakrepo DeployCollectionID replaces CollectionID, doing the same thing. It is recommended to use this instead because older versions of flatpak has bugs in the support of collection ids, and this key will only be respected in versions where it works.

- The X11 socket is now mounted read-only.

----

flatpak 1.0.5 release.

There was a sandbox bug in the previous version where parts of the runtime /etc was not mounted read-only. In case the runtime was installed as the user (not the default) this means that the app could modify files on the runtime. Nothing in the host uses the runtime files, so this is not a direct sandbox escape, but it is possible that an app can confuse a different app that has higher permissions and so gain privileges.

Detailed changes :

- Make the /etc -> /usr/etc bind-mounts read-only.

- Make various app-specific configuration files read-only.

- flatpak is more picky about remote names to avoid problems with storing weird names in the ostree config.

- A segfault in libflatpak handling of bundles was fixed.

- Updated translations

- Fixed a regression in flatpak run that caused problems running user-installed apps when the system installation was broken.

In addition to upstream changes, this update also fixes a packaging issue and adds a missing dependency on p11-kit-server to fix accessing host TLS certificates.

Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website.
Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected flatpak package.

See Also

https://bodhi.fedoraproject.org/updates/FEDORA-2018-9b7d7a155b

Plugin Details

Severity: High

ID: 119157

File Name: fedora_2018-9b7d7a155b.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2018/11/27

Modified: 2018/11/27

Dependencies: 12634

Risk Information

Risk Factor: High

Vulnerability Information

CPE: p-cpe:/a:fedoraproject:fedora:flatpak, cpe:/o:fedoraproject:fedora:27

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list

Patch Publication Date: 2018/11/27

Reference Information