Vulnerability Details : CVE-2017-18869
A TOCTOU issue in the chownr package before 1.1.0 for Node.js 10.10 could allow a local attacker to trick it into descending into unintended directories via symlink attacks.
Exploit prediction scoring system (EPSS) score for CVE-2017-18869
Probability of exploitation activity in the next 30 days: 0.04%
Percentile, the proportion of vulnerabilities that are scored at or less: ~ 6 % EPSS Score History EPSS FAQ
CVSS scores for CVE-2017-18869
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source |
---|---|---|---|---|---|
1.9
|
LOW | AV:L/AC:M/Au:N/C:N/I:P/A:N |
3.4
|
2.9
|
NIST |
2.5
|
LOW | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N |
1.0
|
1.4
|
NIST |
CWE ids for CVE-2017-18869
-
The product checks the state of a resource before using that resource, but the resource's state can change between the check and the use in a way that invalidates the results of the check. This can cause the product to perform invalid actions when the resource is in an unexpected state.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-18869
-
https://github.com/isaacs/chownr/issues/14
This package appears to have a TOCTOU bug · Issue #14 · isaacs/chownr · GitHubThird Party Advisory
-
https://snyk.io/vuln/npm:chownr:20180731
Time of Check Time of Use (TOCTOU) in chownr | SnykExploit;Third Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=1611614
Bug Access DeniedPermissions Required
-
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863985
#863985 - ITP: node-chownr -- Javascript implementation of chown -R. - Debian Bug report logsThird Party Advisory
Products affected by CVE-2017-18869
- cpe:2.3:a:chownr_project:chownr:*:*:*:*:*:node.js:*:*