Unrated severityNVD Advisory· Published Jun 9, 2022· Updated Aug 3, 2024
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
6- Firejail/Firejaildescription
- Range: 0.9.68
- 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- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/mitrevendor-advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/mitrevendor-advisory
- security.gentoo.org/glsa/202305-19mitrevendor-advisory
- www.debian.org/security/2022/dsa-5167mitrevendor-advisory
- lists.debian.org/debian-lts-announce/2022/06/msg00023.htmlmitremailing-list
- firejail.wordpress.com/download-2/release-notes/mitre
- www.openwall.com/lists/oss-security/2022/06/08/10mitre
News mentions
0No linked articles in our index yet.