CVE-2017-5940
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| debian | bookworm | fixed | 0.9.44.6-1 |
| debian | bullseye | fixed | 0.9.44.6-1 |
| debian | forky | fixed | 0.9.44.6-1 |
| debian | sid | fixed | 0.9.44.6-1 |
| debian | trixie | fixed | 0.9.44.6-1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| firejail_project | firejail | {"startIncluding":"0.9.38","endIncluding":"0.9.38.10"} | |
References
- http://www.openwall.com/lists/oss-security/2017/01/31/16
- http://www.securityfocus.com/bid/96221
- https://firejail.wordpress.com/download-2/release-notes/
- https://github.com/netblue30/firejail/commit/38d418505e9ee2d326557e5639e8da49c298858f
- https://github.com/netblue30/firejail/commit/903fd8a0789ca3cc3c21d84cd0282481515592ef
- https://github.com/netblue30/firejail/commit/b8a4ff9775318ca5e679183884a6a63f3da8f863
- https://security.gentoo.org/glsa/201702-03
- https://security-tracker.debian.org/tracker/CVE-2017-5940
CWEs
CWE-269
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.