question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fractal shellJS vulnerability

See original GitHub issue

Background:

Hi there! Thanks for providing such an awesome tool. Our agency (U.S. Federal Election Commission) uses Fractal to build our pattern library (https://fec-pattern-library.app.cloud.gov/), which is a public site used to catalog our style components.

Our vulnerability tracker, Snyk, flagged Fractal’s shelljs dependency as a high-severity command injection risk. In order to maintain our Authority to Operate (ATO), our agency is required to mitigate high-risk vulnerabilities within 30 days.

We’ve forked the repo to see if we can help explore a possible workaround https://github.com/fecgov/fractal, but it appears there is no remediation for the shelljs package dependency used in fractal, even after attempting to upgrade to the latest version.

We’d like to know if you have any plans to address this issue with shelljs and if so, whether or not that would fall within our 30 day window. If you could let us know (even if it’s just to say “we do not”), we would greatly appreciate it.

If we can help in any way with this, please let us know. Thank you for your time!

cc: @dkhuntrods and @allmarkedup

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
dkhuntrodscommented, May 8, 2018

Hi @patphongs. The shelljs command is only ever used during installation to help create a new fractal project. It’s not used by the development server, and any built code is static, further reducing the risk of any possible injection. I understand if this isn’t enough for your ATO, though, and since it’s used in such a small area I can investigate an alternative package.

2reactions
patphongscommented, May 8, 2018

@dkhuntrods Thank you for your response, we greatly appreciate it! We have documented this within our repository and have concluded that it is not much of a risk given the current nature of how the command is used. This issue is now closed for us. https://github.com/fecgov/fec-pattern-library/issues/113#issuecomment-387508142

Read more comments on GitHub >

github_iconTop Results From Across the Web

Snyk "high severity" issue · Issue #766 · shelljs/shelljs - GitHub
Snyk vulnerability report: 1 High and 1 Low Severity Unitech/pm2#3111 ... Fractal shellJS vulnerability frctl/fractal#437.
Read more >
shelljs - Snyk Vulnerability Database
version published direct vulnerabilities 0.8.5 6 Jan, 2022 0. C. 0. H. 0. M. 0. L 0.8.4 24 Apr, 2020 0. C. 1. H. 0....
Read more >
@frctl/fractal | npm | Open Source Insights
Description. A tool to help you build and document web component libraries and then integrate them into your projects.
Read more >
Untitled
... macros.gconf2 pkill-hack.patch workaround-crash.patch GeoIP-1.6.12.tar.gz ... nodejs-shelljs.spec nodejs-shelljs_fix-tests.patch v0.7.3.tar.gz ...
Read more >
npmsearchfullcat_npm143.txt - GitHub
=JerrySievert 2012-10-04 0.1.1 4g 4g =fengmk2 2013-12-11 0.0.0 4g 4search 4chan search CLI tool and utility library =fractal 2013-07-31 0.0.1 4sq A wrapper ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found