A flaw was found in Flatpak’s flatpak-portal. When a sandboxed application invokes Spawn() and maps two different file descriptors to the same handle,...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:18.04:LTSflatpak |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:20.04:LTSflatpak |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:22.04:LTSflatpak |
All versions→ Not listed |
Not listed |
| Ubuntu:Pro:24.04:LTSflatpak |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10flatpak |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSflatpak |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
A flaw was found in Flatpak’s flatpak-portal. When a sandboxed application invokes Spawn() and maps two different file descriptors to the same handle, dup2() can fail. Affected Flatpak versions do not handle that failure, so a file descriptor that was open inside flatpak-portal (commonly the unfiltered D-Bus session bus) can be passed into the subsandbox. A malicious or compromised Flatpak app with no special privileges can use this to escape the sandbox.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org
- report github.com