CVE-2017-5940 Privilege escalation in n/a
Local attackers can escape the Firejail sandbox and gain root privileges by exploiting symlink handling in the private option.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2017-5940?
CVE-2017-5940 is a high-severity vulnerability in n/a, published on 9 Feb 2017. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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 attempt to prevent accessing user files with an euid of zero, which allows local users to conduct sandbox-escape attacks via vectors involving a symlink and the --private option. NOTE: this vulnerability exists because of an incomplete fix for CVE-2017-5180.
Weakness: CWE-269
Which versions are affected by CVE-2017-5940?
It affects 1 product.
Products include Firejail Project Firejail.
How do I fix CVE-2017-5940?
Upgrade to a fixed version.
Is CVE-2017-5940 being exploited?
There is no known exploitation of CVE-2017-5940 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2017-5940, GHSA-2mx9-jpq3-jxj6.