8.8
HIGH
CVE-2017-5940
Firejail Dotfile Symlink Privilege Escalation
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.

INFO

Published Date :

Feb. 9, 2017, 6:59 p.m.

Last Modified :

Oct. 3, 2019, 12:03 a.m.

Remotely Exploitable :

No

Impact Score :

6.0

Exploitability Score :

2.0
Affected Products

The following products are affected by CVE-2017-5940 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Firejail_project firejail
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-5940.

URL Resource
http://www.openwall.com/lists/oss-security/2017/01/31/16 Mailing List Patch Third Party Advisory
http://www.securityfocus.com/bid/96221 Third Party Advisory VDB Entry
https://firejail.wordpress.com/download-2/release-notes/ Release Notes Vendor Advisory
https://github.com/netblue30/firejail/commit/38d418505e9ee2d326557e5639e8da49c298858f Issue Tracking Patch Third Party Advisory
https://github.com/netblue30/firejail/commit/903fd8a0789ca3cc3c21d84cd0282481515592ef Issue Tracking Patch Third Party Advisory
https://github.com/netblue30/firejail/commit/b8a4ff9775318ca5e679183884a6a63f3da8f863 Issue Tracking Patch Third Party Advisory
https://security.gentoo.org/glsa/201702-03 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-5940 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-5940 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Oct. 03, 2019

    Action Type Old Value New Value
    Changed CWE CWE-284 CWE-269
  • Modified Analysis by [email protected]

    Sep. 20, 2018

    Action Type Old Value New Value
    Changed Reference Type https://security.gentoo.org/glsa/201702-03 No Types Assigned https://security.gentoo.org/glsa/201702-03 Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:firejail_project:firejail:*:*:*:*:*:*:*:* versions up to (including) 0.9.38.2 *cpe:2.3:a:firejail_project:firejail:*:*:*:*:*:*:*:* versions up to (including) 0.9.44.2 OR *cpe:2.3:a:firejail_project:firejail:*:*:*:*:lts:*:*:* versions from (including) 0.9.38 up to (including) 0.9.38.10 *cpe:2.3:a:firejail_project:firejail:*:*:*:*:*:*:*:* versions from (including) 0.9.40 up to (including) 0.9.44.6
  • CVE Modified by [email protected]

    Jul. 01, 2017

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/201702-03 [No Types Assigned]
  • Initial Analysis by [email protected]

    Mar. 13, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
    Changed Reference Type http://www.securityfocus.com/bid/96221 No Types Assigned http://www.securityfocus.com/bid/96221 Third Party Advisory, VDB Entry
    Changed Reference Type http://www.openwall.com/lists/oss-security/2017/01/31/16 No Types Assigned http://www.openwall.com/lists/oss-security/2017/01/31/16 Mailing List, Patch, Third Party Advisory
    Changed Reference Type https://github.com/netblue30/firejail/commit/903fd8a0789ca3cc3c21d84cd0282481515592ef No Types Assigned https://github.com/netblue30/firejail/commit/903fd8a0789ca3cc3c21d84cd0282481515592ef Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/netblue30/firejail/commit/38d418505e9ee2d326557e5639e8da49c298858f No Types Assigned https://github.com/netblue30/firejail/commit/38d418505e9ee2d326557e5639e8da49c298858f Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://firejail.wordpress.com/download-2/release-notes/ No Types Assigned https://firejail.wordpress.com/download-2/release-notes/ Release Notes, Vendor Advisory
    Changed Reference Type https://github.com/netblue30/firejail/commit/b8a4ff9775318ca5e679183884a6a63f3da8f863 No Types Assigned https://github.com/netblue30/firejail/commit/b8a4ff9775318ca5e679183884a6a63f3da8f863 Issue Tracking, Patch, Third Party Advisory
    Added CWE CWE-284
    Added CPE Configuration OR *cpe:2.3:a:firejail_project:firejail:0.9.38.2:*:*:*:*:*:*:* (and previous) *cpe:2.3:a:firejail_project:firejail:0.9.44.2:*:*:*:*:*:*:* (and previous)
  • CVE Modified by [email protected]

    Mar. 01, 2017

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/96221 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2017-5940 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2017-5940 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.05635

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability