Firejail
CVE-2020-17368
CRITICAL
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
1DescriptionNVD
Firejail through 0.9.62 mishandles shell metacharacters during use of the --output or --output-stderr option, which may lead to command injection.
AnalysisAI
Firejail through 0.9.62 mishandles shell metacharacters during use of the --output or --output-stderr option, which may lead to command injection. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.
Technical ContextAI
This vulnerability is classified as OS Command Injection (CWE-78), which allows attackers to execute arbitrary operating system commands on the host. Firejail through 0.9.62 mishandles shell metacharacters during use of the --output or --output-stderr option, which may lead to command injection. Affected products include: Firejail Project Firejail, Debian Debian Linux, Fedoraproject Fedora, Opensuse Leap. Version information: through 0.9.62.
RemediationAI
No vendor patch is available at time of analysis. Monitor vendor advisories for updates. Avoid passing user input to shell commands. Use language-specific APIs instead of shell execution. Apply strict input validation with allowlists.
Firejail before 0.9.44.4 and 0.9.38.x LTS before 0.9.38.8 LTS does not consider the .Xauthority case during its attempt
In Firejail before 0.9.60, seccomp filters are writable inside the jail, leading to a lack of intended seccomp restricti
Firejail before 0.9.64.4 allows attackers to bypass intended access restrictions because there is a TOCTOU race conditio
Firejail before 0.9.44.4, when running on a Linux kernel before 4.8, allows context-dependent attackers to bypass a secc
Firejail 0.9.38.4 allows local users to execute arbitrary commands outside of the sandbox via a crafted TIOCSTI ioctl ca
Firejail before 0.9.44.6 and 0.9.38.x LTS before 0.9.38.10 LTS does not comprehensively address dotfile cases during its
Firejail before 0.9.60 allows truncation (resizing to length 0) of the firejail binary on the host by running exploit co
Firejail allows --chroot when seccomp is not supported, which might allow local users to gain privileges. Rated high sev
Firejail does not properly clean environment variables, which allows local users to gain privileges. Rated high severity
Firejail does not restrict access to --tmpfs, which allows local users to gain privileges, as demonstrated by mounting o
Firejail before 0.9.44.4, when running a bandwidth command, allows local users to gain root privileges via the --shell a
Firejail uses weak permissions for /dev/shm/firejail and possibly other files, which allows local users to gain privileg
Same weakness CWE-78 – OS Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today