CVE-2022-31214

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-31214
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-31214.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-31214
Related
Published
2022-06-09T16:15:08Z
Modified
2025-03-20T11:47:40.537884Z
Downstream
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

References

Affected packages

Debian:11 / firejail

Package

Name
firejail
Purl
pkg:deb/debian/firejail?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.64.4-2+deb11u1

Affected versions

0.*

0.9.64.4-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / firejail

Package

Name
firejail
Purl
pkg:deb/debian/firejail?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.68-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / firejail

Package

Name
firejail
Purl
pkg:deb/debian/firejail?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.68-4

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Git / github.com/netblue30/firejail

Affected ranges

Type
GIT
Repo
https://github.com/netblue30/firejail
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

0.*

0.9.30
0.9.30-rc1
0.9.32
0.9.32-rc1
0.9.34
0.9.34-rc1
0.9.36
0.9.36-rc1
0.9.38
0.9.38-rc1
0.9.40
0.9.40-rc1
0.9.42
0.9.42-rc1
0.9.42-rc2
0.9.44
0.9.44-rc1
0.9.46-rc1
0.9.48
0.9.50-rc1
0.9.52
0.9.54
0.9.54-rc1
0.9.54-rc2
0.9.56
0.9.56-rc1
0.9.58
0.9.58-rc1
0.9.58.2
0.9.60
0.9.60-rc1
0.9.64
0.9.64rc1
0.9.66
0.9.66rc1
0.9.68
0.9.68rc1

Other

disable-globalcfg