2.5low

CVE-2017-18869

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

Also known as GHSA-c6rq-rjc2-86v2

Published 6 y ago · modified 4 mo ago · JSON

CVSS
2.5
v3.1 · NVD
CISA KEV
No
not known exploited
EPSS
0.3%
percentile 27%
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.

Exploit prediction (EPSS)

0.33% probability of exploitation in the next 30 days, higher than 27% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD3.12.5CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
NVD2.01.9AV:L/AC:M/Au:N/C:N/I:P/A:N
GitHub3.12.5CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Affected packages

EcosystemPackageAffectedFixed in
npmchownr
<1.1.0
1.1.0

Classification

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

References

  • github.com /isaacs/chownr/issues/14 · x_refsource_MISC, x_transferred
  • bugs.debian.org /cgi-bin/bugreport.cgi?bug=863985 · x_refsource_MISC, x_transferred
  • bugzilla.redhat.com /show_bug.cgi?id=1611614 · x_refsource_MISC, x_transferred
  • snyk.io /vuln/npm:chownr:20180731 · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2017-18869 · advisory
  • github.com /isaacs/chownr/commit/36a93e3f0a220062c47b237cf6ab6d5f55cd79c9 · web
  • github.com /isaacs/chownr/commit/a631d841022880e5c8d694408a7e96d6d576d0ce · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.