{"schemaVersion":3,"id":"CVE-2022-31214","aliases":["MGASA-2022-0348","openSUSE-SU-2022:10015-1","openSUSE-SU-2022:10016-1","UBUNTU-CVE-2022-31214","DEBIAN-CVE-2022-31214","DLA-3061-1","DSA-5167-1"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-06-09T00:00:00.000Z","modified":"2024-08-03T07:11:39.674Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.2,"severity":"high","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0039,"percentile":0.31897,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.0039},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0039,"percentile":0.31897}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.0039,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.0039,"percentile":0.31897}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-269","name":"Improper Privilege Management","description":"The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/269.html"}],"affected":[{"vendor":"debian","product":"firejail","name":"firejail","label":"firejail","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/firejail","purlType":"deb","versions":[{"text":"< 0.9.58.2-2+deb10u3","noFixRecorded":false,"fixedIn":null},{"text":"< 0.9.64.4-2+deb11u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.9.58.2-2+deb9u1","noFixRecorded":false,"fixedIn":null},{"text":"< 0.9.68-4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.58.2-2+deb10u3 | < 0.9.64.4-2+deb11u1 | < 0.9.58.2-2+deb9u1 | < 0.9.68-4","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"firejail","name":"firejail","label":"firejail","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/firejail","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 10.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"35","noFixRecorded":false,"fixedIn":null},{"text":"36","noFixRecorded":false,"fixedIn":null},{"text":"37","noFixRecorded":false,"fixedIn":null}],"versionsText":"35 | 36 | 37","eol":{"isEol":true,"eolDate":"2022-12-13T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"35","label":"35","eolFrom":"2022-12-13T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"firejail_project","product":"firejail","name":"firejail","label":"firejail","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"0.9.68","noFixRecorded":false,"fixedIn":null}],"versionsText":"0.9.68","eol":null,"hubHref":"/vendor/firejail_project/firejail"},{"vendor":"mageia","product":"firejail","name":"firejail","label":"firejail","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/firejail","purlType":"rpm","versions":[{"text":"< 0.9.70-1.1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.70-1.1.mga8","eol":null,"hubHref":null},{"vendor":"opensuse","product":"firejail&distro=openSUSE Leap 15.3","name":"firejail","label":"firejail&distro=openSUSE Leap 15.3","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/firejail&distro=openSUSE Leap 15.3","purlType":"rpm","versions":[{"text":"< 0.9.70-bp153.2.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.70-bp153.2.6.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"firejail&distro=openSUSE Leap 15.4","name":"firejail","label":"firejail&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/firejail&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 0.9.70-bp154.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.70-bp154.2.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"firejail&distro=SUSE Package Hub 15 SP3","name":"firejail","label":"firejail&distro=SUSE Package Hub 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/firejail&distro=SUSE Package Hub 15 SP3","purlType":"rpm","versions":[{"text":"< 0.9.70-bp153.2.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.70-bp153.2.6.1","eol":null,"hubHref":null},{"vendor":"suse","product":"firejail&distro=SUSE Package Hub 15 SP4","name":"firejail","label":"firejail&distro=SUSE Package Hub 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/firejail&distro=SUSE Package Hub 15 SP4","purlType":"rpm","versions":[{"text":"< 0.9.70-bp154.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.70-bp154.2.3.1","eol":null,"hubHref":null}],"affectedCount":10,"eol":{"hasEol":true,"count":2},"references":[{"url":"https://firejail.wordpress.com/download-2/release-notes/","label":"firejail.wordpress.com/download-2/release-notes/","hostname":"firejail.wordpress.com","tags":["WEB","Release Notes","Third Party Advisory"]},{"url":"https://www.openwall.com/lists/oss-security/2022/06/08/10","label":"www.openwall.com/lists/oss-security/2022/06/08/10","hostname":"www.openwall.com","tags":["WEB","Mailing List","Patch","Third Party Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5167","label":"www.debian.org/security/2022/dsa-5167","hostname":"www.debian.org","tags":["Vendor Advisory","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/06/msg00023.html","label":"lists.debian.org/debian-lts-announce/2022/06/msg00023.html","hostname":"lists.debian.org","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/202305-19","label":"security.gentoo.org/glsa/202305-19","hostname":"security.gentoo.org","tags":["Vendor Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0348.html","label":"advisories.mageia.org/MGASA-2022-0348.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30528","label":"bugs.mageia.org/show_bug.cgi?id=30528","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/BANQSQMV546D7IN75266REGOZOIGQEUH/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["WEB","Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["WEB"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/Y44WP6HYFSMERMHYQLJJNHIWG34P4MU4/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1199148","label":"bugzilla.suse.com/1199148","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2022-31214","label":"www.suse.com/security/cve/CVE-2022-31214","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2022-31214","label":"ubuntu.com/security/CVE-2022-31214","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://marc.info/?i=YqCar9IFTyPnq2o0@f195.suse.de","label":"marc.info?i=YqCar9IFTyPnq2o0@f195.suse.de","hostname":"marc.info","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31214","label":"www.cve.org/CVERecord?id=CVE-2022-31214","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-31214","label":"security-tracker.debian.org/tracker/CVE-2022-31214","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-06-09T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T07:11:39.674Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T14:34:01.973Z","stale":false,"partial":false}}