CVEvulnerability
CVE-2022-31214
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-06-09
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 7.2 HIGH — AV:L/AC:L/Au:N/C:C/I:C/A:C
- Weaknesses
- CWE-269
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.
Affected configurations
• 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
Related
Weakness · CWE (1)
- CWE-269 Improper Privilege Management weakness
References
- https://firejail.wordpress.com/download-2/release-notes/ Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/06/msg00023.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/ lists.fedoraproject.org
- https://security.gentoo.org/glsa/202305-19 security.gentoo.org
- https://www.debian.org/security/2022/dsa-5167 Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/06/08/10 Mailing List, Patch, Third Party Advisory
- https://firejail.wordpress.com/download-2/release-notes/ Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/06/msg00023.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/ lists.fedoraproject.org
- https://security.gentoo.org/glsa/202305-19 security.gentoo.org
- https://www.debian.org/security/2022/dsa-5167 Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/06/08/10 Mailing List, Patch, Third Party Advisory