-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Security issue in ansi-regex dependency (via yargs) #866
Comments
@jlaine I updated yargs on the master branch. Eventually there will be a 2.0.0 release with this fix. |
@SyntaxRules Can this be updated to a new version of the showdown package as well? |
@code-by-gijs For sure, I'm trying to work through as much of the backlog I can before releasing- as you can tell there are quite a few issues. It may take a bit before I can get the release out. |
@SyntaxRules awesome, thanks! |
With some ambitious plans, it looks like the 2.0.0 release could be quite a ways away. Might we be able to just apply the above commits on the last release tag and publish a patch update that handles the vulnerabilities / audit failures before then? |
I should also mention that's something I'm willing to do if you want to have me on with the right permissions. I'm also a maintainer on the much more widely used Winston logger for similar reasons. |
Even without permissions, I can offer this quickest path route: |
I've added a PR which should fix this. It drops support for node v6 and v8, so technically it should probably go out as 2.0.0, with the next big breaking release now being planned going out in n months as 3.0.0. Merge, release on Github, publish to npm, and this issue is solved. Thanks for your work! |
Currently it is impossible to install showdown without pulling in a security vulnerability, because showdown has a tightly versioned dependency on
yargs
which pulls in a vulnerableansi-regex
.The security advisory is:
GHSA-93q8-gq69-wqmw
The text was updated successfully, but these errors were encountered: