Skip to content
OpenAdvisories
Low · 2.5 CVE-2017-18869 EUVD-2022-0956GHSA-c6rq-rjc2-86v2

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

Published Jun 15, 2020 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 node-chownr 1.1.1-1 —
Debian 13 node-chownr 1.1.1-1 —
Debian 12 node-chownr 1.1.1-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-chownr No fix yet —
Ubuntu 26.04 LTS node-chownr No fix yet —
Ubuntu 25.10 node-chownr No fix yet —
Ubuntu 24.04 LTS node-chownr No fix yet —
Ubuntu 22.04 LTS node-chownr No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS node-chownr No fix yet —
ReleasePackageFixed inAdvisory
RHEL 3 rh-nodejs8-nodejs +2 8.17.0-2.el7 RHSA-2020:2625
RHEL 3 rh-nodejs8-npm 6.13.4-8.17.0.2.el7 RHSA-2020:2625

Affected packages

EcosystemPackageAffectedFixedRecord
npm chownr < 1.1.0 1.1.0 GHSA-c6rq-rjc2-86v2

Advisories 2

References