CVE-2022-31214
published 2022-06-09CVE-2022-31214: 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…
PriorityP344high7.8CVSS 3.1
AVLACLPRLUINSUCHIHAH
EPSS
0.38%
30.0th percentile
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.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | firejail | < firejail 0.9.68-4 (bookworm) | firejail 0.9.68-4 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| firejail_project | firejail | — | — |
| firejail_project | firejail | >= 0 < 0.9.64.4-2+deb11u1 | 0.9.64.4-2+deb11u1 |
| firejail_project | firejail | >= 0 < 0.9.68-4 | 0.9.68-4 |
| firejail_project | firejail | >= 0 < 0.9.68-4 | 0.9.68-4 |
| firejail_project | firejail | >= 0 < 0.9.68-4 | 0.9.68-4 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvdv2.07.2HIGHAV:L/AC:L/Au:N/C:C/I:C/A:C
osv7.8HIGH
vendor_debian7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Debian
CVE-2022-31214: firejail - A Privilege Context Switching issue was discovered in join.c in Firejail 0.9.68....
vendor_debian·2022·CVSS 7.8
CVE-2022-31214 [HIGH] CVE-2022-31214: firejail - A Privilege Context Switching issue was discovered in join.c in Firejail 0.9.68....
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.
Scope: local
bookworm: resolved (fixed in 0.9.68-4)
bullseye: resolved (fixed in 0.9.64.4-2+deb11u1)
forky: resolved (fixed in 0.9.68-4)
sid: resolved (fixed in 0.9.68-4)
trixie: resolved (fixed in 0.9.68-4)
GHSA
GHSA-m2xv-wgqg-4gxh: A Privilege Context Switching issue was discovered in join
ghsa_unreviewed·2022-06-10
CVE-2022-31214 [HIGH] CWE-269 GHSA-m2xv-wgqg-4gxh: A Privilege Context Switching issue was discovered in join
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.
OSV
CVE-2022-31214: A Privilege Context Switching issue was discovered in join
osv·2022-06-09·CVSS 7.8
CVE-2022-31214 [HIGH] CVE-2022-31214: A Privilege Context Switching issue was discovered in join
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.
No detection rules found.
No public exploits indexed.
https://firejail.wordpress.com/download-2/release-notes/https://lists.debian.org/debian-lts-announce/2022/06/msg00023.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/https://security.gentoo.org/glsa/202305-19https://www.debian.org/security/2022/dsa-5167https://www.openwall.com/lists/oss-security/2022/06/08/10https://firejail.wordpress.com/download-2/release-notes/https://lists.debian.org/debian-lts-announce/2022/06/msg00023.htmlhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/https://security.gentoo.org/glsa/202305-19https://www.debian.org/security/2022/dsa-5167https://www.openwall.com/lists/oss-security/2022/06/08/10
2022-06-09
Published