CVE Vulnerabilities

CVE-2017-18869

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

Published: Jun 15, 2020 | Modified: Nov 21, 2024
CVSS 3.x
2.5
LOW
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
CVSS 2.x
1.9 LOW
AV:L/AC:M/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
7.7 MODERATE
CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Ubuntu
MEDIUM

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.

Weakness

The product checks the state of a resource before using that resource, but the resource’s state can change between the check and the use in a way that invalidates the results of the check.

Affected Software

Name Vendor Start Version End Version
Chownr Chownr_project * 1.1.0 (excluding)
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-nodejs8-nodejs-0:8.17.0-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS RedHat rh-nodejs8-nodejs-0:8.17.0-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS RedHat rh-nodejs8-nodejs-0:8.17.0-2.el7 *
Node-chownr Ubuntu focal *
Node-chownr Ubuntu groovy *
Node-chownr Ubuntu hirsute *
Node-chownr Ubuntu impish *
Node-chownr Ubuntu kinetic *
Node-chownr Ubuntu lunar *
Node-chownr Ubuntu mantic *
Node-chownr Ubuntu oracular *
Node-chownr Ubuntu trusty *

Potential Mitigations

References