-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Upgrade hashbrown to fix security vulnerability #13622
Conversation
Thank you for opening a new pull request. Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient. While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone. One or more of the following people are relevant to this code:
|
|
Thanks for doing this. Dependabot should have done it for us, but it's having a minor problem because of some package constraints we've put on it. I had a half-hearted attempt to fix Dependabot earlier today, but it was the end of my work day, and I was just leaving it for tomorrow. Can we not update the locked version of |
I'm not at my computer, but iirc |
I tried that originally but the newest |
Even just bumping the 0.15.0 versions in the lock files we don't use directly? Bumping the direct requirement on 0.14.5 will cause problems because it's used in interfaces with PyO3 and rustworkx (iirc), but I'm surprised if the non-interface versions used elsewhere are an issue. |
Also, fwiw, we don't use Borsch serialisation or deserialisation of anything, so I'd be very surprised if we're actually exposed to any related bugs from hashbrown 0.15.0. |
You have the PR locked so I can't push changes to your branch, but I tried locally, and we can just update the 0.15.0 dep to 0.15.2. If you reset this branch to the state of I can open a separate PR if you prefer. |
905ce3b
to
d362111
Compare
This worked. I think when I tried I must have just done a regular |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries, thanks for helping out! Glad to see you guys from q-ctrl here - hopefully there's places we can work together.
Glad to be here! Hopefully we have plenty of more things to contribute in the future. |
Summary
indexmap
versions2.7.0
and2.6.0
pull in hashbrown 0.15.0 which has a high severity vulnerability. This just downgrades to a version that doesn't have that vulnerability.Details and comments
Just a simple security fix PR.