High severity7.8NVD Advisory· Published Jun 9, 2022· Updated Jun 17, 2026
CVE-2022-31214
CVE-2022-31214
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
12cpe:2.3:a:firejail_project:firejail:0.9.68:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:firejail_project:firejail:0.9.68:*:*:*:*:*:*:*
- (no CPE)range: <0.9.68
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*+ 2 more
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
- Firejail/Firejaildescription
- osv-coords4 versionspkg:rpm/opensuse/firejail&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/firejail&distro=openSUSE%20Leap%2015.4pkg:rpm/suse/firejail&distro=SUSE%20Package%20Hub%2015%20SP3pkg:rpm/suse/firejail&distro=SUSE%20Package%20Hub%2015%20SP4
< 0.9.70-bp153.2.6.1+ 3 more
- (no CPE)range: < 0.9.70-bp153.2.6.1
- (no CPE)range: < 0.9.70-bp154.2.3.1
- (no CPE)range: < 0.9.70-bp153.2.6.1
- (no CPE)range: < 0.9.70-bp154.2.3.1
Patches
Vulnerability mechanics
References
8- www.openwall.com/lists/oss-security/2022/06/08/10nvdMailing ListPatchThird Party Advisory
- firejail.wordpress.com/download-2/release-notes/nvdRelease NotesThird Party Advisory
- lists.debian.org/debian-lts-announce/2022/06/msg00023.htmlnvdMailing ListThird Party Advisory
- www.debian.org/security/2022/dsa-5167nvdThird Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/nvd
- security.gentoo.org/glsa/202305-19nvd
News mentions
0No linked articles in our index yet.