p PatchFirst

CVE-2022-31214

CVE-2022-31214

CVSS 7.8 · High · EPSS 0.4% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • firejail Debian 12Update to 0.9.68-4
  • firejail Debian 13Update to 0.9.68-4
  • firejail Debian 14Update to 0.9.68-4
  • firejail Ubuntu 16.04 LTSNo fix published
  • and 7 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="firejail"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • firejail Debian 12

    Affected ranges
    • ECOSYSTEM: < 0.9.68-4

    Update to 0.9.68-4

  • firejail Debian 13

    Affected ranges
    • ECOSYSTEM: < 0.9.68-4

    Update to 0.9.68-4

  • firejail Debian 14

    Affected ranges
    • ECOSYSTEM: < 0.9.68-4

    Update to 0.9.68-4

  • firejail Ubuntu 16.04 LTS

    Versions
    • 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
    All versions (7)
    • 0.9.38.10-0ubuntu0.16.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • firejail Ubuntu 18.04 LTS

    Versions
    • 0.9.50-3
    • 0.9.52-1
    • 0.9.52-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • firejail Ubuntu 20.04 LTS

    Versions
    • 0.9.60-2
    • 0.9.62-1
    • 0.9.62-2
    • 0.9.62-3
    • 0.9.62-3ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • firejail Ubuntu 22.04 LTS

    Versions
    • 0.9.64.4-2
    • 0.9.66-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • firejail Ubuntu 24.04 LTS

    Versions
    • 0.9.72-2
    • 0.9.72-2ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • firejail Ubuntu 25.10

    Versions
    • 0.9.72-2ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • firejail Ubuntu 26.10

    Versions
    • 0.9.72-2ubuntu5
    • 0.9.80-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • firejail Ubuntu 26.04 LTS

    Versions
    • 0.9.72-2ubuntu3
    • 0.9.72-2ubuntu4
    • 0.9.72-2ubuntu5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →