HOMEVULNERABILITIESCVE-2022-31214
HIGH

CVE-2022-31214

CWE-269Published: June 9, 2022· Updated: Jun 17, 2026

7.8
CVSS v3.1

Official 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.

NVD Source

Technical Analysis

CVE-2022-31214 requires local access, meaning attackers must already have a foothold on the target system.

Exploitation requires low privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 7.8.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorLocal
Attack ComplexityLow
Privileges Req.Low
User InteractionNone
ScopeUnchanged
Impact
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected Vendors & Products

Debian1 product(s)
debian linux
Fedora1 product(s)
fedora
firejail_project1 product(s)
firejail
Source: NVD CPE · 6 total CPE entries

Exploit & PoC Resources

NO KNOWN EXPLOITNo public exploit confirmed at this time
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (16)

https://www.openwall.com/lists/oss-security/2022/06/08/10Mailing List · Patch · Third Party Advisory

Quick Facts

CVE IDCVE-2022-31214
CVSS Score7.8 / 10
SeverityHIGH
WeaknessCWE-269
CISA KEVNo
Affected3 vendor(s)
PublishedJun 9, 2022

Related CVEs (CWE-269)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2022-31214 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWatch. CVE data is provided under the NVD usage policy.