Skip to content
Fencer Vulns
low 2.5

CVE-2017-18869 json

Time-of-check Time-of-use (TOCTOU) Race Condition in chownr

published 2020-06-15 6 y ago modified 2026-06-17 4 mo ago also GHSA-c6rq-rjc2-86v2 , EUVD-2022-0956

cvss
2.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 26%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm chownr 1.1.0
  • chownr_project chownr 1.1.0
  • node-chownr Debian 14, Debian 13, Debian 12 1.1.1-1

debian advisories DEBIAN-CVE-2017-18869

  • rh-nodejs8-nodejs RHEL 3 SOFTWARE_COLLECTIONS 8.17.0-2.el7
  • rh-nodejs8-npm RHEL 3 SOFTWARE_COLLECTIONS 6.13.4-8.17.0.2.el7

red hat advisories RHSA-2020:2625

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2017-18869 updated cvss 7.7

nodejs-chownr: TOCTOU vulnerability in `chownr` function in chownr.js

  • Red Hat Mobile Application Platform 4 nodejs-chownr Red Hat Software Collections rh-nodejs6-nodejs-chownr
    affected: no fix planned “Will not fix”
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-nodejs8-nodejs 8.17.0-2.el7, rh-nodejs8-npm 6.13.4-8.17.0.2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-nodejs8-nodejs 8.17.0-2.el7, rh-nodejs8-npm 6.13.4-8.17.0.2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-nodejs8-nodejs 8.17.0-2.el7, rh-nodejs8-npm 6.13.4-8.17.0.2.el7 Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-nodejs8-nodejs 8.17.0-2.el7, rh-nodejs8-npm 6.13.4-8.17.0.2.el7
    fixed: vendor fix RHSA-2020:2625

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • snyk.io https://snyk.io/vuln/npm:chownr:20180731 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 2.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD 2.0 1.9 AV:L/AC:M/Au:N/C:N/I:P/A:N
GitHub 3.1 2.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected packages

ecosystem package affected fixed in
npm chownr
<1.1.0
1.1.0

Classification

Weakness
  • CWE-367 Time-of-check Time-of-use (TOCTOU) Race Condition

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.