CVE-2022-31214
publishedfirejail: CVE-2022-31214: local root exploit reachable via --join logic
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Debian | bullseye | firejail | Advisory build | 0.9.64.4-2+deb11u1 | DSA-5167-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | firejailaarch64 | Advisory build | 0.9.70-bp153.2.6.1 | OPENSUSE-SU-2022:10015-1 |
| Debian | buster | firejail | Advisory build | 0.9.58.2-2+deb10u3 | DSA-5167-1 |
| Debian | stretch | firejail | Advisory build | 0.9.58.2-2+deb9u1 | DLA-3061-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | firejaili586 | Advisory build | 0.9.70-bp153.2.6.1 | OPENSUSE-SU-2022:10015-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | firejailppc64le | Advisory build | 0.9.70-bp153.2.6.1 | OPENSUSE-SU-2022:10015-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | firejails390x | Advisory build | 0.9.70-bp153.2.6.1 | OPENSUSE-SU-2022:10015-1 |
Show 28 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Leap-15.3 | firejailx86_64 | Advisory build | 0.9.70-bp153.2.6.1 | OPENSUSE-SU-2022:10015-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejailaarch64 | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejaili586 | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejailppc64le | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejails390x | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejailx86_64 | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejail-bash-completionaarch64 | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejail-bash-completioni586 | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejail-bash-completionppc64le | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejail-bash-completions390x | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejail-bash-completionx86_64 | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejail-zsh-completionaarch64 | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejail-zsh-completioni586 | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejail-zsh-completionppc64le | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejail-zsh-completions390x | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | firejail-zsh-completionx86_64 | Advisory build | 0.9.70-bp154.2.3.1 | OPENSUSE-SU-2022:10016-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | firejailaarch64 | Advisory build | 0.9.68-3.1 | OPENSUSE-SU-2024:12136-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | firejailppc64le | Advisory build | 0.9.68-3.1 | OPENSUSE-SU-2024:12136-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | firejails390x | Advisory build | 0.9.68-3.1 | OPENSUSE-SU-2024:12136-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | firejailx86_64 | Advisory build | 0.9.68-3.1 | OPENSUSE-SU-2024:12136-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | firejail-bash-completionaarch64 | Advisory build | 0.9.68-3.1 | OPENSUSE-SU-2024:12136-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | firejail-bash-completionppc64le | Advisory build | 0.9.68-3.1 | OPENSUSE-SU-2024:12136-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | firejail-bash-completions390x | Advisory build | 0.9.68-3.1 | OPENSUSE-SU-2024:12136-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | firejail-bash-completionx86_64 | Advisory build | 0.9.68-3.1 | OPENSUSE-SU-2024:12136-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | firejail-zsh-completionaarch64 | Advisory build | 0.9.68-3.1 | OPENSUSE-SU-2024:12136-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | firejail-zsh-completionppc64le | Advisory build | 0.9.68-3.1 | OPENSUSE-SU-2024:12136-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | firejail-zsh-completions390x | Advisory build | 0.9.68-3.1 | OPENSUSE-SU-2024:12136-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | firejail-zsh-completionx86_64 | Advisory build | 0.9.68-3.1 | OPENSUSE-SU-2024:12136-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
8- https://firejail.wordpress.com/download-2/release-notes/
- [debian-lts-announce] 20220629 [SECURITY] [DLA 3061-1] firejail security update https://lists.debian.org/debian-lts-announce/2022/06/msg00023.html
- FEDORA-2022-827d9ce8ac https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/
- FEDORA-2022-e8e9b50a33 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/
- FEDORA-2022-7ecd36b131 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/
- GLSA-202305-19 https://security.gentoo.org/glsa/202305-19
- DSA-5167 https://www.debian.org/security/2022/dsa-5167
- https://www.openwall.com/lists/oss-security/2022/06/08/10
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- bcf9dc8a4c3dbb4f252c4bcade1d57ccba78772e845531575a3bcad8a8d5fdb3
- Ingested
- 23 Sep 2026, 08:00:25 UTC
- Source record
- Official CVE record