CVE-2022-31214

Source
https://cve.org/CVERecord?id=CVE-2022-31214
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31214.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-31214
Downstream
Related
Published
2022-06-09T00:00:00Z
Modified
2026-08-12T03:51:49.416808491Z
Summary
[none]
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31214.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/netblue30/firejail

Affected ranges

Type
GIT
Repo
https://github.com/netblue30/firejail
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:firejail_project:firejail:0.9.68:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0.9.68"
        },
        {
            "last_affected": "0.9.68"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

0.*
0.9.68

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31214.json"