Fedora Account System
Red Hat Associate
Red Hat Customer
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process. A Flatpak application with no special privileges can call flatpak-portal’s Spawn() such that two different file descriptors are mapped to the same handle. That can make dup2() fail; because the failure is not handled, a file descriptor that was originally open inside flatpak-portal is passed into the subsandbox instead. An attacker can predict the unfiltered D-Bus session bus fd number and obtain a full sandbox escape. Mitigated by exiting the child if fd mapping fails (commit f107d8a); more thoroughly fixed by FlatpakUniqueFDList preventing multiple uses of one fd (commits 07b007e, b1b596e, a7b55f8). Fixed in Flatpak 1.18.6 and 1.19.4 (1.18.5/1.19.3 tags also contain the fix but those releases failed and were superseded). Backports exist on the unsupported flatpak-1.16.x git branch; there is no formal upstream 1.16.x security release.