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

[GHSA-f2jv-r9rf-7988] Remote code execution in handlebars when compiling templates #607

Conversation

westonsteimel
Copy link

@github-actions github-actions bot changed the base branch from main to westonsteimel/advisory-improvement-607 August 23, 2022 21:55
@westonsteimel
Copy link
Author

I think there is also a Jenkins plugin that embeds these directly but I wanted to wait and see what the thoughts were on these before investigating that further. Thanks so much for building and curating this dataset!

@darakian
Copy link
Contributor

darakian commented Sep 1, 2022

I think there is also a Jenkins plugin that embeds these directly but I wanted to wait and see what the thoughts were on these before investigating that further. Thanks so much for building and curating this dataset!

Sorry for the delayed reply.

The webjars artifacts are certainly valid and we've had some internal conversation about them before since they seem like a target for automated inclusion. The conversation always stalls out when we get to impact though as they don't seem to be wildly used so.... ya. I do wish I knew more about why this project exists and how it works, but that's a rabbit hole I haven't had time to dive down yet.

For this PR I can definitely merge these in, but maybe it's worth also getting a conversation going on how to include relevant webjars and other re-packagings started too.

Thanks so much for building and curating this dataset!

You're very welcome. Thank you for all the great contributions 😄

@joshbressers
Copy link

@darakian @westonsteimel I wonder if this should be discussed in a similar manner to how a Linux distribution packages software. It's common for those packages to contain other things (tm).

There are two easy ways to view this

  1. The scanner should figure it out by diving into the packages and picking apart all the pieces
  2. The vulnerability data should include these relationships

I think option 1 is the future state we all want
Option 2 is where we exist today

@darakian
Copy link
Contributor

darakian commented Sep 6, 2022

Linux packages present a lot of challenges that we're not well equipped to tackle and the major linux distros all run their own security trackers.
https://access.redhat.com/security/security-updates/#/security-advisories
https://security-tracker.debian.org/tracker/
https://ubuntu.com/security/notices
https://security.archlinux.org/
https://security.gentoo.org/

@joshbressers
Copy link

Linux packages present a lot of challenges that we're not well equipped to tackle and the major linux distros all run their own security trackers.

Right, my comment was just using it as a theoretical comparison.

Where does this project track big questions like this? I suspect this pull request isn't the best place

@darakian
Copy link
Contributor

Where does this project track big questions like this? I suspect this pull request isn't the best place

Feel free to open an issue for it 👍

@taladrane
Copy link
Collaborator

👋 This pull request has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the Keep label to hold stale off permanently, or do nothing. If you do nothing this pull request will be closed eventually by the stale bot. Please see CONTRIBUTING.md for more policy details.

@westonsteimel
Copy link
Author

@darakian, apologies for the delay. I just created #718 to continue the discussion of including webjars and potentially other re-packagings automatically. Any concerns with going ahead and merging this one?

@taladrane taladrane removed the Stale label Sep 30, 2022
@darakian
Copy link
Contributor

darakian commented Oct 4, 2022

@westonsteimel apologies for the delay on my end too. I just got back from some time off and am catching up on things. No problems on merging this, but I'm going to alter your range for org.webjars.bowergithub.wycats:handlebars.js to align with the others with as < 4.7.7.

@advisory-database advisory-database bot merged commit 26eda45 into westonsteimel/advisory-improvement-607 Oct 4, 2022
@advisory-database advisory-database bot deleted the westonsteimel-GHSA-f2jv-r9rf-7988 branch October 4, 2022 16:29
@advisory-database
Copy link
Contributor

Hi @westonsteimel! Thank you so much for contributing to the GitHub Advisory Database. This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future!

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

Successfully merging this pull request may close these issues.

4 participants