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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
ChownrChownr_project*1.1.0 (excluding)
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-nodejs8-nodejs-0:8.17.0-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUSRedHatrh-nodejs8-nodejs-0:8.17.0-2.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSRedHatrh-nodejs8-nodejs-0:8.17.0-2.el7*
Node-chownrUbuntufocal*
Node-chownrUbuntugroovy*
Node-chownrUbuntuhirsute*
Node-chownrUbuntuimpish*
Node-chownrUbuntukinetic*
Node-chownrUbuntulunar*
Node-chownrUbuntumantic*
Node-chownrUbuntuoracular*
Node-chownrUbuntuplucky*
Node-chownrUbuntutrusty*

Potential Mitigations

References