Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. chownr
  4. ›
  5. CVE-2017-18869

CVE-2017-18869: Time-of-check Time-of-use (TOCTOU) Race Condition

June 15, 2020 (updated June 17, 2020)

A TOCTOU issue in the chownr package for Node.js could allow a local attacker to trick it into descending into unintended directories via symlink attacks.

References

  • nvd.nist.gov/vuln/detail/CVE-2017-18869

Code Behaviors & Features

Detect and mitigate CVE-2017-18869 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.1.0

Fixed versions

  • 1.1.0

Solution

Upgrade to version 1.1.0 or above.

Impact 2.5 LOW

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

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

Source file

npm/chownr/CVE-2017-18869.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:53 +0000.