Flatpak: flatpak: unprivileged active user can bypass anti-downgrade checks for system apps/runtimes
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
On a multi-user system, a user with an active local login session could downgrade a system-wide Flatpak app to an older version by removing the app's remote ref via the unprivileged system-helper RemoveLocalRef method, causing the anti-downgrade check to fail to find a reference date. A malicious local user could use this to expose other users of the same system to an app version with unfixed vulnerabilities.