7.8
CWE
269
Advisory Published
CVE Published
Updated

CVE-2022-31214

First published: Wed Jun 08 2022(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Firejail Project Firejail=0.9.68
Fedoraproject Fedora=35
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Debian Debian Linux=9.0
Debian Debian Linux=10.0
debian/firejail<=0.9.68-3<=0.9.64.4-2
0.9.68-4
0.9.64.4-2+deb11u1
0.9.58.2-2+deb10u3
debian/firejail
0.9.58.2-2+deb10u3
0.9.64.4-2+deb11u1
0.9.72-2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203