{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-31214",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "dateUpdated": "2024-08-03T07:11:39.674Z",
        "dateReserved": "2022-05-19T00:00:00",
        "datePublished": "2022-06-09T00:00:00"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2023-05-03T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "n/a",
                    "versions": [
                        {
                            "version": "n/a",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://firejail.wordpress.com/download-2/release-notes/"
                },
                {
                    "url": "https://www.openwall.com/lists/oss-security/2022/06/08/10"
                },
                {
                    "name": "DSA-5167",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://www.debian.org/security/2022/dsa-5167"
                },
                {
                    "name": "[debian-lts-announce] 20220629 [SECURITY] [DLA 3061-1] firejail security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2022/06/msg00023.html"
                },
                {
                    "name": "FEDORA-2022-7ecd36b131",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/"
                },
                {
                    "name": "FEDORA-2022-e8e9b50a33",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/"
                },
                {
                    "name": "FEDORA-2022-827d9ce8ac",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/"
                },
                {
                    "name": "GLSA-202305-19",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202305-19"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "n/a"
                        }
                    ]
                }
            ]
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T07:11:39.674Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://firejail.wordpress.com/download-2/release-notes/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.openwall.com/lists/oss-security/2022/06/08/10",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "DSA-5167",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://www.debian.org/security/2022/dsa-5167"
                    },
                    {
                        "name": "[debian-lts-announce] 20220629 [SECURITY] [DLA 3061-1] firejail security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2022/06/msg00023.html"
                    },
                    {
                        "name": "FEDORA-2022-7ecd36b131",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SIBEBE3KFINMGJATBQQS7D2VQQ62ZVMF/"
                    },
                    {
                        "name": "FEDORA-2022-e8e9b50a33",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KUZZ5M6LIBYRKTKGROXC47TDC3FRTGJF/"
                    },
                    {
                        "name": "FEDORA-2022-827d9ce8ac",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6RZOTZ36RUSL6DOVHITY25ZYKWTG5HN3/"
                    },
                    {
                        "name": "GLSA-202305-19",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202305-19"
                    }
                ]
            }
        ]
    }
}