A Privilege Context Switching issue was discovered in join.c in Firejail 0.9.68. By crafting a bogus Firejail container that is accepted by the Firejail setuid-root program as a join target, a local attacker can enter an environment in which the Linux user namespace is still the initial user namespace, the NO_NEW_PRIVS prctl is not activated, and the entered mount namespace is under the attacker's control. In this way, the filesystem layout can be adjusted to gain root privileges through execution of available setuid-root binaries such as su or sudo.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
History
21 Nov 2024, 07:04
Type | Values Removed | Values Added |
---|---|---|
References | () https://firejail.wordpress.com/download-2/release-notes/ - Release Notes, Third Party Advisory | |
References | () https://lists.debian.org/debian-lts-announce/2022/06/msg00023.html - Mailing List, Third Party Advisory | |
References | () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/ - | |
References | () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/ - | |
References | () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/ - | |
References | () https://security.gentoo.org/glsa/202305-19 - | |
References | () https://www.debian.org/security/2022/dsa-5167 - Third Party Advisory | |
References | () https://www.openwall.com/lists/oss-security/2022/06/08/10 - Mailing List, Patch, Third Party Advisory |
07 Nov 2023, 03:47
Type | Values Removed | Values Added |
---|---|---|
References |
|
|
Information
Published : 2022-06-09 16:15
Updated : 2024-11-21 07:04
NVD link : CVE-2022-31214
Mitre link : CVE-2022-31214
CVE.ORG link : CVE-2022-31214
JSON object : View
Products Affected
firejail_project
- firejail
debian
- debian_linux
fedoraproject
- fedora
CWE
CWE-269
Improper Privilege Management