OS Command Injection in firejail - CVE-2020-17368

 

OS Command Injection in firejail - CVE-2020-17368

Published: August 13, 2020


Vulnerability identifier: #VU45675
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-17368
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation when processing shell metacharacters  during use of the --output or --output-stderr option. A remote unauthenticated attacker can pass specially crafted data to the application and execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

firejail
Gentoo Linux
Debian Linux
Opensuse
Fedora
firejail (Debian package)
firejail

How to mitigate CVE-2020-17368

Install updates from vendor's website.

firejail - update to 0.9.62.2
firejail (Debian package) - update to 0.9.58.2-2+deb10u1
firejail - addressed in versions 0.9.62.2-1.fc31, 0.9.62.2-1.fc32, 0.9.62.4-1.fc31, 0.9.62.4-1.fc32

External References

Related Security Bulletins