GitHub Advisoryadvisory · npm
GHSA-c6rq-rjc2-86v2 Time-of-check Time-of-use (TOCTOU) Race Condition in chownr
LOW
Official page ↗
- Aliases
- CVE-2017-18869
- Ecosystem
- npm
- Packages
- chownr
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
- Weaknesses
- CWE-367
- Reviewed
- 2021-05-12
Affected packages
• npm chownr: < 1.1.0 → fixed in 1.1.0
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.
Related
Alias · CVE (1)
- 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… vulnerability
Weakness · CWE (1)
- CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-18869 advisory
- https://github.com/isaacs/chownr/issues/14 web
- https://github.com/isaacs/chownr/commit/36a93e3f0a220062c47b237cf6ab6d5f55cd79c9 web
- https://github.com/isaacs/chownr/commit/a631d841022880e5c8d694408a7e96d6d576d0ce web
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863985 web
- https://bugzilla.redhat.com/show_bug.cgi?id=1611614 web
- https://snyk.io/vuln/npm:chownr:20180731 web