UBUNTU-CVE-2022-31214

Source
https://ubuntu.com/security/CVE-2022-31214
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-31214.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2022-31214
Upstream
Published
2022-06-09T16:15:00Z
Modified
2025-07-14T07:15:43.599403Z
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
  • Ubuntu - medium
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

Ubuntu:Pro:16.04:LTS / firejail

Package

Name
firejail
Purl
pkg:deb/ubuntu/firejail@0.9.38.10-0ubuntu0.16.04.1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.28-1
0.9.32-1
0.9.34-1
0.9.36-1
0.9.38-1
0.9.38-1ubuntu0.1
0.9.38.10-0ubuntu0.16.04.1

Ubuntu:Pro:18.04:LTS / firejail

Package

Name
firejail
Purl
pkg:deb/ubuntu/firejail@0.9.52-2?arch=source&distro=esm-apps/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.50-3
0.9.52-1
0.9.52-2

Ubuntu:Pro:20.04:LTS / firejail

Package

Name
firejail
Purl
pkg:deb/ubuntu/firejail@0.9.62-3ubuntu0.1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.60-2
0.9.62-1
0.9.62-2
0.9.62-3
0.9.62-3ubuntu0.1

Ubuntu:22.04:LTS / firejail

Package

Name
firejail
Purl
pkg:deb/ubuntu/firejail@0.9.66-2?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.64.4-2
0.9.66-2

Ubuntu:24.04:LTS / firejail

Package

Name
firejail
Purl
pkg:deb/ubuntu/firejail@0.9.72-2ubuntu3?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.72-2
0.9.72-2ubuntu3

Ubuntu:25.04 / firejail

Package

Name
firejail
Purl
pkg:deb/ubuntu/firejail@0.9.72-2ubuntu3?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*

0.9.72-2ubuntu3