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

[High] Snyk: Arbitrary File Overwrite (due 6/15/19) #2901

Closed
Tracked by #137 ...
jason-upchurch opened this issue May 16, 2019 · 3 comments · Fixed by #3003
Closed
Tracked by #137 ...

[High] Snyk: Arbitrary File Overwrite (due 6/15/19) #2901

jason-upchurch opened this issue May 16, 2019 · 3 comments · Fixed by #3003
Assignees
Labels
Security: high Remediate within 30 days Urgent
Milestone

Comments

@jason-upchurch
Copy link
Contributor

Arbitrary File Overwrite

Vulnerable module: fstream
Introduced through: npm@6.8.0

Detailed paths and remediation

  • Introduced through: fec-cms@1.0.0 › npm@6.8.0 › libnpm@2.0.1 › npm-lifecycle@2.1.0 › node-gyp@3.8.0 › tar@2.2.1 › fstream@1.0.11
    Remediation: Your dependencies are out of date, otherwise you would be using a newer fstream than fstream@1.0.11. Try reinstalling your dependencies. If the problem persists, one of your dependencies may be bundling outdated modules.
  • Introduced through: fec-cms@1.0.0 › npm@6.8.0 › libcipm@3.0.3 › npm-lifecycle@2.1.0 › node-gyp@3.8.0 › tar@2.2.1 › fstream@1.0.11
    Remediation: Your dependencies are out of date, otherwise you would be using a newer fstream than fstream@1.0.11. Try reinstalling your dependencies. If the problem persists, one of your dependencies may be bundling outdated modules.
  • Introduced through: fec-cms@1.0.0 › npm@6.8.0 › libnpm@2.0.1 › npm-lifecycle@2.1.0 › node-gyp@3.8.0 › fstream@1.0.11
    Remediation: Your dependencies are out of date, otherwise you would be using a newer fstream than fstream@1.0.11. Try reinstalling your dependencies. If the problem persists, one of your dependencies may be bundling outdated modules.
  • Introduced through: fec-cms@1.0.0 › npm@6.8.0 › libcipm@3.0.3 › npm-lifecycle@2.1.0 › node-gyp@3.8.0 › fstream@1.0.11
    Remediation: Your dependencies are out of date, otherwise you would be using a newer fstream than fstream@1.0.11. Try reinstalling your dependencies. If the problem persists, one of your dependencies may be bundling outdated modules.
  • Introduced through: fec-cms@1.0.0 › npm@6.8.0 › npm-lifecycle@2.1.0 › node-gyp@3.8.0 › tar@2.2.1 › fstream@1.0.11
    Remediation: Your dependencies are out of date, otherwise you would be using a newer fstream than fstream@1.0.11. Try reinstalling your dependencies. If the problem persists, one of your dependencies may be bundling outdated modules.
  • Introduced through: fec-cms@1.0.0 › npm@6.8.0 › npm-lifecycle@2.1.0 › node-gyp@3.8.0 › fstream@1.0.11
    Remediation: Your dependencies are out of date, otherwise you would be using a newer fstream than fstream@1.0.11. Try reinstalling your dependencies. If the problem persists, one of your dependencies may be bundling outdated modules.
  • Introduced through: fec-cms@1.0.0 › npm@6.8.0 › node-gyp@3.8.0 › tar@2.2.1 › fstream@1.0.11
    Remediation: Your dependencies are out of date, otherwise you would be using a newer fstream than fstream@1.0.11. Try reinstalling your dependencies. If the problem persists, one of your dependencies may be bundling outdated modules.
  • Introduced through: fec-cms@1.0.0 › npm@6.8.0 › node-gyp@3.8.0 › fstream@1.0.11
    Remediation: Your dependencies are out of date, otherwise you would be using a newer fstream than fstream@1.0.11. Try reinstalling your dependencies. If the problem persists, one of your dependencies may be bundling outdated modules.

Vulnerable functions

lib/writer.Writer.prototype._stat.statCb()

Overview

fstream is a None

Affected versions of this package are vulnerable to Arbitrary File Overwrite. Extracting tarballs containing a hardlink to a file that already exists in the system and a file that matches the hardlink will overwrite the system's file with the contents of the extracted file.

Remediation

Upgrade fstream to version 1.0.12 or higher.

@jason-upchurch jason-upchurch added the Security: high Remediate within 30 days label May 16, 2019
@jason-upchurch jason-upchurch added this to the Sprint 9.1 milestone May 16, 2019
@patphongs patphongs changed the title [High] Snyk: Arbitrary File Overwright (due 6/15/19) [High] Snyk: Arbitrary File Overwrite (due 6/15/19) May 16, 2019
@rfultz
Copy link
Contributor

rfultz commented May 30, 2019

Moving this to blocked since we're still waiting on an update to node-gyp and npm and we're not using the tarball functionality.

@dorothyyeager
Copy link
Contributor

Still blocked; moving to 9.2.

@dorothyyeager
Copy link
Contributor

Moving to 9.4; PR needs review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Security: high Remediate within 30 days Urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants