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

CVE-2019-19919 affects vendored JS library in bootstrap-wysihtml5-rails #718

Closed
ddalcino opened this issue Nov 22, 2023 · 2 comments · Fixed by #719
Closed

CVE-2019-19919 affects vendored JS library in bootstrap-wysihtml5-rails #718

ddalcino opened this issue Nov 22, 2023 · 2 comments · Fixed by #719
Assignees
Labels

Comments

@ddalcino
Copy link
Contributor

The bootstrap-wysihtml5-rails gem at v 0.3.3.8 and earlier includes a vendored Javascript library (handlebars v 3.0.2). That library is affected by GHSA-w457-6q6x-cgp9 and fixed by handlebars v 4.3.0 or 3.0.8. There is no patched version of the bootstrap-wysihtml5-rails gem that updates this version of handlebars.

I've noticed that most of the issues in this database relate to issues in the Ruby code bundled into Ruby gems, but not necessarily issues with vendored Javascript libraries. Is this by design? If so, please close this issue. Otherwise, I can file more issues like this; I've found vulnerable vendored JS in a couple gems.

@postmodern
Copy link
Member

ruby-advisory-db also contains advisories for gems which contain vulnerable JavaScript libraries, see https://github.com/rubysec/ruby-advisory-db/tree/master/gems/jquery-rails

Please submit a PR with a new advisory for this, but without a patched_version attribute since there isn't a patched version (of the gem) yet.

@ddalcino
Copy link
Contributor Author

Otherwise, I can file more issues like this; I've found vulnerable vendored JS in a couple gems.

I've opened #720 to cover a vulnerability in twitter-bootstrap-rails as well. Please let me know if you need me to open an issue for that one as well.

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

Successfully merging a pull request may close this issue.

2 participants