CVE-2017-18869
nodejs-chownr: TOCTOU vulnerability in `chownr` function in chownr.js
Overview
Description
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.
Source: OX vulnerability database
Severity
2.5 · LOW
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness: CWE-367
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| npm | chownr | <1.1.0 | 1.1.0 |
Open a package to see all its vulnerabilities.
Operating systems · 7 fixes
Red Hat 1 release · 2 packages
fixed 2
rh-nodejs8-npm
rh-nodejs8-nodejs
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-nodejs8-npm | 0:6.13.4-8.17.0.2.el7 | RHSA-2020:2625 |
| 7 | rh-nodejs8-nodejs +2 | 0:8.17.0-2.el7 | RHSA-2020:2625 |
debian 4 releases · 1 package
fixed 4
node-chownr
| Release | Package | Fixed in |
|---|---|---|
| 11 | node-chownr | 1.1.1-1 |
| 12 | node-chownr | 1.1.1-1 |
| 13 | node-chownr | 1.1.1-1 |
| 14 | node-chownr | 1.1.1-1 |
echo 1 release · 1 package
fixed 1
node-chownr
| Release | Package | Fixed in |
|---|---|---|
| node-chownr | 1.1.1-1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-18869
- bugs.debian.org https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863985
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1611614
- github.com https://github.com/isaacs/chownr/commit/36a93e3f0a220062c47b237cf6ab6d5f55cd79c9
- github.com https://github.com/isaacs/chownr/commit/a631d841022880e5c8d694408a7e96d6d576d0ce
- github.com https://github.com/isaacs/chownr/issues/14
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-18869
- snyk.io https://snyk.io/vuln/npm:chownr:20180731
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-18869
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.