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 | |
|---|---|---|
| Alpine:v3.24flatpak |
< 1.16.6_git20261120-r0→ 1.16.6_git20261120-r0 |
1.16.6_git20261120-r0 |
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.alpinelinux.org