Flatpak: flatpak: world-readable oci authentication token in system-helper cache path
Red Hat Enterprise Linux 10 · Red Hat Enterprise Linux 7 · Red Hat Enterprise Linux 8 · Red Hat Enterprise Linux 9
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Red Hat Red Hat Enterprise Linux 10 | — | No fix yet |
| Red Hat Red Hat Enterprise Linux 7 | — | No fix yet |
| Red Hat Red Hat Enterprise Linux 8 | — | No fix yet |
| Red Hat Red Hat Enterprise Linux 9 | — | No fix yet |
Original description
Flatpak writes the OCI repository authentication token with world-readable permissions (0644) in the system-helper's cache directory, allowing other local users on a multi-user system to read the token and impersonate the authenticated user against the OCI repository. Only OCI-based sources (e.g. as used by Fedora) are affected; libostree-based sources such as Flathub are not.