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
Link | Resource |
---|---|
https://www.openwall.com/lists/oss-security/2022/06/08/10 | Mailing List Patch Third Party Advisory |
https://firejail.wordpress.com/download-2/release-notes/ | Release Notes Third Party Advisory |
https://www.debian.org/security/2022/dsa-5167 | Third Party Advisory |
https://lists.debian.org/debian-lts-announce/2022/06/msg00023.html | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/ | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/ | Mailing List Third Party Advisory |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Information
Published : 2022-06-09 09:15
Updated : 2022-10-27 09:15
NVD link : CVE-2022-31214
Mitre link : CVE-2022-31214
JSON object : View
CWE
CWE-269
Improper Privilege Management
Products Affected
firejail_project
- firejail
debian
- debian_linux
fedoraproject
- fedora