CVE & CISA-KEV Catalog

CVE-2022-31214

HIGH
7.8
CVSS v3
NVD

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.

How to fix

Remediation Available
firejailDebian
Fixed in:0.9.64.4-2+deb11u1CVE-2022-31214
Fixed in:0.9.68-4CVE-2022-31214
Fixed in:0.9.68-4CVE-2022-31214
Fixed in:0.9.68-4CVE-2022-31214

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
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

Exploit Intelligence

0.38%probability of exploitation in 30 days
30thpercentile

Low risk: more likely to be exploited than 30% of all known CVEs.

References

Related Vulnerabilities

Other CWE-269 (Improper Privilege Management) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2017-12635Critical9.8100%-Fix
CVE-2022-24637Critical9.899%-Fix
CVE-2017-5689Critical9.892%KEVFix
CVE-2020-3243Critical9.888%--
CVE-2024-21888High8.887%--
CVE-2022-0441Critical9.885%-Fix
Embed a live status badge for CVE-2022-31214
CVE-2022-31214 severity badge

Markdown

[![CVE-2022-31214](https://tridentstack.com/cve/badge/CVE-2022-31214.svg)](https://tridentstack.com/cve/CVE-2022-31214)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-31214"><img src="https://tridentstack.com/cve/badge/CVE-2022-31214.svg" alt="CVE-2022-31214"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.