-
Notifications
You must be signed in to change notification settings - Fork 486
Security issue with old version of Diff dependency #1257
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
Comments
When disparity releases a bump it'll be automatically included by semver unless they decide to create a major version bump. To anyone tuning in, this is not an exploitable vulnerability. With the way that most folks use documentation.js, the security theater is just not really relevant: this isn't a module people use in servers or run on untrusted input. |
@tmcw Not sure I get it. Are you saying that because disparity specifies Not sure it's going to happen, tbh - the last release from Is there a more up-to-date package that does the same thing? |
Yes, disparity would release a new version that bumps their diff dependency, and documentation.js would be updated to the new diff dependency. If you desire this sooner, or want to find a replacement for disparity, please go for it. This form of GitHub's security reminder is severely unhelpful because it's raising an alarm about nothing: there is absolutely no way to exploit documentation.js based on this vulnerability, and all that GitHub is doing is creating box-checking gruntwork for maintainers by labeling most vulnerabilities as 'high severity'. |
Very true. The notification doesn't take the context that it's used into account. Currently this isn't really on my priority list for now, but its showing up as a persistent notification on my package powahroot (which uses Who knows, I might eventually get around to it if I get annoyed by it enough - but for the foreseeable future I've got quite a lot on at the moment :P |
This is fixed with #1264 |
And released in 12.0.2. Thanks Ben! |
…ity package This was reported to documentation with documentationjs/documentation#1257 and resolved with the merge documentationjs/documentation#1264
…ity package This was reported to documentation with documentationjs/documentation#1257 and resolved with the merge documentationjs/documentation#1264
I received a security issue from github last night on my repo which uses documentation:
The root cause seems to be documentation's dependency on disparity which is using a very old version of diff. I posted the issue on disparity but noticed it hasn't been updated in years. I'm posting the issue here as well so you could track and take appropriate actions. Here's the link to the issue I posted: millermedeiros/disparity#3
The text was updated successfully, but these errors were encountered: