CVE-2022-31214: High severity netblue30 firejail vulnerability
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 NONEWPRIVS 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 Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2022-31214?
CVE-2022-31214 is a Privilege Context Switching issue discovered in join.c in Firejail 0.9.68.
How does CVE-2022-31214 impact Firejail?
CVE-2022-31214 allows a local attacker to enter an environment where the Linux user namespace is still the initial user namespace.
What is the severity of CVE-2022-31214?
CVE-2022-31214 has a severity rating of 7.8 (high).
Which software versions are affected by CVE-2022-31214?
Firejail version 0.9.68 is affected by CVE-2022-31214.
How can I fix CVE-2022-31214?
To fix CVE-2022-31214, update Firejail to version 0.9.68-4 or later.