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 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.
Link | Tags |
---|---|
https://github.com/isaacs/chownr/issues/14 | third party advisory |
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863985 | third party advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1611614 | permissions required |
https://snyk.io/vuln/npm:chownr:20180731 | third party advisory exploit |