Improper Privilege Management Affecting firejail package, versions <0.9.68-4


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN12-FIREJAIL-2863506
  • published9 Jun 2022
  • disclosed9 Jun 2022

Introduced: 9 Jun 2022

CVE-2022-31214  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

Upgrade Debian:12 firejail to version 0.9.68-4 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream firejail package and not the firejail package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.

CVSS Scores

version 3.1