Lucene search

K
gentooGentoo FoundationGLSA-202305-19
HistoryMay 03, 2023 - 12:00 a.m.

Firejail: Local Privilege Escalation

2023-05-0300:00:00
Gentoo Foundation
security.gentoo.org
64
suid program
linux namespaces
seccomp-bpf
vulnerability
root privileges
configuration file
gentoo
upgrade

CVSS2

7.2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS

0

Percentile

5.1%

Background

A SUID program that reduces the risk of security breaches by restricting the running environment of untrusted applications using Linux namespaces and seccomp-bpf.

Description

Firejail does not sufficiently validate the user’s environment prior to using it as the root user when using the --join command line option.

Impact

An unprivileged user can exploit this vulnerability to achieve local root privileges.

Workaround

System administrators can mitigate this vulnerability via adding either “force-nonewprivs yes” or “join no” to the Firejail configuration file in /etc/firejail/firejail.config.

Resolution

Gentoo has discontinued support for sys-apps/firejail-lts. Users should unmerge it in favor of sys-apps/firejail:

 # emerge --ask --depclean --verbose "sys-apps/firejail-lts"
 # emerge --ask --verbose "sys-apps/firejail"

All Firejail users should upgrade to the latest version:

 # emerge --ask --oneshot --verbose ">=sys-apps/firejail-0.9.70"
OSVersionArchitecturePackageVersionFilename
Gentooanyallsys-apps/firejail< 0.9.70UNKNOWN
Gentooanyallsys-apps/firejail-lts<= 0.9.56.2-r1UNKNOWN

CVSS2

7.2

Attack Vector

LOCAL

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS3

7.8

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS

0

Percentile

5.1%