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

fix multi-version ecosystem security vulnerability failure #9434

Merged

Conversation

jakecoffman
Copy link
Member

@jakecoffman jakecoffman commented Apr 4, 2024

For package managers like NPM where a dependency can have multiple versions, we can get a security job that says update a vulnerable dependency but then Dependabot finds the non-vulnerable version and thinks no update is needed.

To fix this I added code at the start of the security update job to search all of the known versions for a vulnerable one so that the update is successful.

To test this I added multi-version functionality to the fake Silent ecosystem.

@jakecoffman jakecoffman marked this pull request as ready for review April 4, 2024 14:20
@jakecoffman jakecoffman requested a review from a team as a code owner April 4, 2024 14:20
@jakecoffman jakecoffman merged commit 1425ec2 into main Apr 4, 2024
123 checks passed
@jakecoffman jakecoffman deleted the jakecoffman/fix-multiple-version-ecosystem-vulnerability branch April 4, 2024 15:32
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.

None yet

2 participants