chownr up to 1.0.x on Node.js toctou

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.

A vulnerability was found in chownr up to 1.0.x on Node.js (JavaScript Library). It has been declared as problematic. Affected by this vulnerability is an unknown function of the file Node.js. The manipulation with an unknown input leads to a toctou vulnerability. The CWE definition for the vulnerability is CWE-367. 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. This can cause the product to perform invalid actions when the resource is in an unexpected state. As an impact it is known to affect integrity, and availability. The summary by CVE is:

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.

The weakness was published 04/22/2023 as 14. The advisory is shared at This vulnerability is known as CVE-2017-18869 since 06/15/2020. The exploitation appears to be difficult. An attack has to be approached locally. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known.

It is possible to download the exploit at It is declared as proof-of-concept.

Upgrading to version 10.10 eliminates this vulnerability.





CPE 2.3info

CPE 2.2info


VulDB CVSS-B Score: 🔒
VulDB CVSS-BT Score: 🔒
VulDB Vector: 🔒
VulDB Reliability: 🔍


VulDB Meta Base Score: 3.1
VulDB Meta Temp Score: 2.9

VulDB Base Score: 3.6
VulDB Temp Score: 3.3
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 2.5
NVD Vector: 🔒



VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

NVD Base Score: 🔒


Class: Toctou
CWE: CWE-367 / CWE-362
ATT&CK: Unknown

Local: Yes
Remote: No

Availability: 🔒
Access: Public
Status: Proof-of-Concept
Download: 🔒

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒


Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍


Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: chownr 10.10


06/15/2020 CVE reserved
04/22/2023 +1041 days Advisory disclosed
04/22/2023 +0 days VulDB entry created
04/22/2023 +0 days VulDB entry last update


Advisory: 14
Status: Confirmed

CVE: CVE-2017-18869 (🔒)
scip Labs:


Created: 04/22/2023 09:08 AM
Changes: 04/22/2023 09:08 AM (60)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!