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 | |
|---|---|---|
| Debian:12flatpak |
All versions→ Not listed |
Not listed |
| Debian:13flatpak |
< 1.16.6-1~deb13u4→ 1.16.6-1~deb13u4 |
1.16.6-1~deb13u4 |
| Debian:14flatpak |
< 1.18.6-1→ 1.18.6-1 |
1.18.6-1 |
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
- advisory security-tracker.debian.org