Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937936 (CVE-2024-42472) - <sys-apps/flatpak-1.4.10: Access to files outside sandbox for apps using persistent= (--persist)
Summary: <sys-apps/flatpak-1.4.10: Access to files outside sandbox for apps using per...
Status: CONFIRMED
Alias: CVE-2024-42472
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Security
URL: https://github.com/flatpak/flatpak/se...
Whiteboard: A2 [stable?]
Keywords: PullRequest
Depends on: 937948
Blocks:
  Show dependency tree
 
Reported: 2024-08-14 22:14 UTC by Christopher Fore
Modified: 2024-08-18 06:05 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Fore 2024-08-14 22:14:29 UTC
CVE-2024-42472:

A malicious or compromised Flatpak app using persistent directories could
read and write files in locations it would not normally have access to,
which is an attack on integrity and confidentiality.


The above is fixed in 1.14.10.
Comment 1 Zac Medico gentoo-dev 2024-08-15 03:55:49 UTC
Added dependency on bug 937948:

(In reply to Zac Medico from bug 937948 comment #0)
> Hi, we'll need a sys-apps/bubblewrap-0.10.0 bump for this --bind-fd support:
> 
> https://github.com/containers/bubblewrap/commit/a253257cd298892da43e15201d83f9a02c9b58b5
> 
> The --bind-fd option is used in the CVE fixing commit related to bug 937936:
> 
> https://github.com/flatpak/flatpak/commit/6bd603f6836e9b38b9b937d3b78f3fbf36e7ff75
Comment 2 Larry the Git Cow gentoo-dev 2024-08-17 19:09:53 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39510939e6701a67a143f804dd2ff5b9a51101a8

commit 39510939e6701a67a143f804dd2ff5b9a51101a8
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2024-08-15 04:07:06 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-08-17 18:59:00 +0000

    sys-apps/flatpak: add 1.14.10
    
    Bug: https://bugs.gentoo.org/937936
    Signed-off-by: Zac Medico <zmedico@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/38156
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 sys-apps/flatpak/Manifest               |   1 +
 sys-apps/flatpak/flatpak-1.14.10.ebuild | 121 ++++++++++++++++++++++++++++++++
 2 files changed, 122 insertions(+)