CVE-2022-31214

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.
References
Link Resource
https://firejail.wordpress.com/download-2/release-notes/ Release Notes Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/06/msg00023.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/
https://security.gentoo.org/glsa/202305-19
https://www.debian.org/security/2022/dsa-5167 Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/06/08/10 Mailing List Patch Third Party Advisory
https://firejail.wordpress.com/download-2/release-notes/ Release Notes Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/06/msg00023.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/
https://security.gentoo.org/glsa/202305-19
https://www.debian.org/security/2022/dsa-5167 Third Party Advisory
https://www.openwall.com/lists/oss-security/2022/06/08/10 Mailing List Patch Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:firejail_project:firejail:0.9.68:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

Configuration 3 (hide)

OR cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*

History

21 Nov 2024, 07:04

Type Values Removed Values Added
References () https://firejail.wordpress.com/download-2/release-notes/ - Release Notes, Third Party Advisory () https://firejail.wordpress.com/download-2/release-notes/ - Release Notes, Third Party Advisory
References () https://lists.debian.org/debian-lts-announce/2022/06/msg00023.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2022/06/msg00023.html - Mailing List, Third Party Advisory
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/ -
References () https://security.gentoo.org/glsa/202305-19 - () https://security.gentoo.org/glsa/202305-19 -
References () https://www.debian.org/security/2022/dsa-5167 - Third Party Advisory () https://www.debian.org/security/2022/dsa-5167 - Third Party Advisory
References () https://www.openwall.com/lists/oss-security/2022/06/08/10 - Mailing List, Patch, Third Party Advisory () https://www.openwall.com/lists/oss-security/2022/06/08/10 - Mailing List, Patch, Third Party Advisory

07 Nov 2023, 03:47

Type Values Removed Values Added
References
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/', 'name': 'FEDORA-2022-827d9ce8ac', 'tags': ['Mailing List', 'Third Party Advisory'], 'refsource': 'FEDORA'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/', 'name': 'FEDORA-2022-e8e9b50a33', 'tags': ['Mailing List', 'Third Party Advisory'], 'refsource': 'FEDORA'}
  • {'url': 'https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/', 'name': 'FEDORA-2022-7ecd36b131', 'tags': ['Mailing List', 'Third Party Advisory'], 'refsource': 'FEDORA'}
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/ -
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/ -
  • () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/ -

Information

Published : 2022-06-09 16:15

Updated : 2024-11-21 07:04


NVD link : CVE-2022-31214

Mitre link : CVE-2022-31214

CVE.ORG link : CVE-2022-31214


JSON object : View

Products Affected

firejail_project

  • firejail

debian

  • debian_linux

fedoraproject

  • fedora
CWE
CWE-269

Improper Privilege Management