CVE-2022-31214
Last modified
CVE-2022-31214 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.38% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| 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 |
References
- https://firejail.wordpress.com/download-2/release-notes/Release Notes, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/06/msg00023.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5167Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/06/08/10Mailing 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.htmlMailing List, Third Party Advisory
- https://www.debian.org/security/2022/dsa-5167Third Party Advisory
- https://www.openwall.com/lists/oss-security/2022/06/08/10Mailing List, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-31214?
How severe is CVE-2022-31214?
How do I fix CVE-2022-31214?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-31209An issue was discovered in Infiray IRAY-A8Z3 1.0.957. The fi…9.8
- CVE-2022-3121A vulnerability was found in SourceCodester Online Employee …8.8
- CVE-2022-31210An issue was discovered in Infiray IRAY-A8Z3 1.0.957. The bi…9.8
- CVE-2022-31211An issue was discovered in Infiray IRAY-A8Z3 1.0.957. There …9.8
- CVE-2022-31212An issue was discovered in dbus-broker before 31. It depends…7.5
- CVE-2022-31213An issue was discovered in dbus-broker before 31. Multiple N…7.5
- CVE-2022-31215In certain Goverlan products, the Windows Firewall is tempor…6.5
- CVE-2022-31216Vulnerabilities in the Drive Composer allow a low privileged…7.8
- CVE-2022-31217Vulnerabilities in the Drive Composer allow a low privileged…7.8
- CVE-2022-31218Vulnerabilities in the Drive Composer allow a low privileged…7.8
- CVE-2022-31219Vulnerabilities in the Drive Composer allow a low privileged…7.8
- CVE-2022-3122A vulnerability was found in SourceCodester Clinics Patient …9.8
Are you affected by CVE-2022-31214?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
