Re: Flatpak 1.18.1 fixes multiple vulnerabilities
Simon McVittie disclosed CVE identifiers for multiple vulnerabilities fixed in Flatpak 1.18.1, with two IDs still pending from MITRE.
Path traversal in Flatpak before 1.18.1 with an OCI remote
Before Flatpak 1.18.1, a malicious local user in an active session can pass a crafted architecture name so flatpak-system-helper creates a root-owned directory tree, lock file, and icons directory outside the intended root, with contents set by a configured OCI remote. Alone this is a path traversal; combined with other flaws fixed in 1.18.1 it can yield local root. It is not believed exploitable when no OCI remote is configured, which is uncommon on Fedora and common elsewhere.
What to do: Upgrade Flatpak to 1.18.1. Systems with no OCI remote configured are not believed to be exploitable via this issue.
| Product | Affected | Fixed in |
|---|---|---|
| Flatpak | prior to 1.18.1 | 1.18.1 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. Prior to version 1.18.1, on systems where at least one OCI remote is configured (most common on Fedora systems), a malicious local user in an active local session could use a crafted architecture name to trick the `flatpak-system-helper` process into creating a root-owned directory tree with contents determined by the OCI remote, plus a root-owned `lock` file and `icons` directory, outside the intended root directory. If this vulnerability is combined with other vulnerabilities also fixed in 1.18.1, the combination can lead to local root privilege escalation. This particular vulnerability is not believed to be exploitable if there are no OCI remotes configured (common on non-Fedora systems). Version 1.18.1 patches the issue.
Simon McVittie disclosed CVE identifiers for multiple vulnerabilities fixed in Flatpak 1.18.1, with two IDs still pending from MITRE.
Today 1.6K readers · 2.5K views · 779 reads · all time 189K views