Alerts This Week
Warning Icon 1 714
Alerts This Week
Warning Icon 1 714

Gentoo: GLSA-202305-19 Normal: Firejail Local Escalation Threat

gentoo
Calendar Grey May 3, 2023
Dist Gentoo Esm H88
A newly discovered local privilege escalation exploit in Firejail poses a risk to Gentoo distributions; stay informed on remediation strategies and preventive measures.
A vulnerability has been discovered in Firejail which could result in local root privilege escalation.

Summary

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

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"

References

[ 1 ] CVE-2022-31214 https://nvd.nist.gov/vuln/detail/CVE-2022-31214

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/202305-19
style>.gentoo_availability{display:block;}

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity: Normal
Title: Firejail: Local Privilege Escalation
Date: May 03, 2023
Bugs: #850748
ID: 202305-19

Synopsis

A vulnerability has been discovered in Firejail which could result in local root privilege escalation.

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.

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/glsamaker/models/glsa.py", line 326, in generate_mail_table return self._generate_mail_table() File "/usr/local/lib/python3.9/site-packages/glsamaker/models/glsa.py", line 297, in _generate_mail_table vuln.range_types_rev[vuln.pkg_range], vuln.version KeyError: None

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.

Your message here