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

Bump crossbeam-queue to 0.3.5 to fix CVE-2022-23639 #5

Merged

Conversation

Kerollmops
Copy link
Contributor

@Kerollmops Kerollmops commented Jun 8, 2022

This is a fix for the CVE-2022-23639 which has been fixed in crossbeam-rs/crossbeam#781. I bumped the crossbeam-queue to 0.3.5 and fixed the other deprecation warning from the Rust standard library.

I am not very confident about my fix for the compare_and_swap and compare_exchange, if you want to take a look at something, please make sure that it is correct. I simply followed the small migration guide that is on the documentation. The tests are passing but, that is maybe not enough.

I think it could be great and non-breaking to bump the patch very of this crate, what do you think?

Thank you for your time 🏖️

@Kerollmops Kerollmops closed this Jun 8, 2022
@Kerollmops Kerollmops reopened this Jun 8, 2022
@Kerollmops
Copy link
Contributor Author

Hey @QuietMisdreavus, do you have some time to review this PR. I know that the crate is in maintenance mode but this PR fixes a CVE.

@julihoh
Copy link

julihoh commented Aug 10, 2022

Hey, just chiming in that I'm getting security alerts for this as well. I have taken a quick look through this PR and think the changes should be all good!

@QuietMisdreavus , I hope you can find some time to take a look 🤞

@QuietMisdreavus QuietMisdreavus merged commit ae8eaeb into QuietMisdreavus:master Sep 8, 2022
@QuietMisdreavus
Copy link
Owner

Thanks for the PR! I've published version 1.0.1 with this change.

@Kerollmops Kerollmops deleted the bump-crossbeam-queue branch September 8, 2022 21:29
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

3 participants