Input validation error in firejail - CVE-2019-12499

 

Input validation error in firejail - CVE-2019-12499

Published: May 31, 2019 / Updated: August 8, 2020


Vulnerability identifier: #VU35866
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-12499
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

Firejail before 0.9.60 allows truncation (resizing to length 0) of the firejail binary on the host by running exploit code inside a firejail sandbox and having the sandbox terminated. To succeed, certain conditions need to be fulfilled: The jail (with the exploit code inside) needs to be started as root, and it also needs to be terminated as root from the host (either by stopping it ungracefully (e.g., SIGKILL), or by using the --shutdown control command). This is similar to CVE-2019-5736.


Affected software

firejail
Fedora
firejail

How to mitigate CVE-2019-12499

Install update from vendor's website.

firejail - update to 0.9.60
firejail - addressed in versions 0.9.62-1.fc30, 0.9.62-1.fc31

External References

Related Security Bulletins