Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install-time vulnerability in chownr introduced through tar #1480

Closed
mceachen opened this issue Nov 27, 2018 · 1 comment
Closed

Install-time vulnerability in chownr introduced through tar #1480

mceachen opened this issue Nov 27, 2018 · 1 comment

Comments

@mceachen
Copy link
Contributor

mceachen commented Nov 27, 2018

There's a TOCTOU vuln in chownr that snyk is just reporting now (even though disclosure happened 31 Jul, 2018).

Given that this is part of the installation step for sharp, I don't think this is terribly exploitable, it's more an FYI.

Thanks for sharp 🥇 !

@lovell
Copy link
Owner

lovell commented Nov 27, 2018

Thanks for reporting this. As you say, chownr is an install-time (transient) dependency of sharp and an attacker would already need to have write access to the filesystem to be able to exploit this.

isaacs/chownr#14

The truly paranoid could run npm install && rm -rf node_modules/chownr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants