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

Upgrade rust-toolchain.toml to fix CVE-2022-46176 #395

Closed
wants to merge 1 commit into from

Conversation

jgerrish
Copy link

This upgrades the used Rust toolchain to fix CVE-2022-46176, a security bug with SSH host key checking in cargo.

I haven't tested it fully, so I understand if you don't want to incorporate it yet. Because it's such a jump in versions, it may create other issues. You have a larger community of great users, maybe some can test it before pushing it to main.

I'd love for more selective cherry-picking of patches in Rust, but this is the world we live in.

Have a great day, and thank you for this wonderful project!

@Rahix
Copy link
Owner

Rahix commented Jan 24, 2023

In general, I think there is nothing speaking against keeping our compiler version as close to upstream as possible.

Unfortunately, it seems CI isn't passing for some MCUs. Without looking deeper into it, maybe this is related to #388? Paging @agausmann.

@Rahix
Copy link
Owner

Rahix commented Jan 24, 2023

Okay, I checked, the failure really is #388. @agausmann kindly started working on an upstream fix, see rust-lang/rust#106619.

@edupsousa
Copy link

Writing just to let you known that the older toolchain is also causing some trouble with the most recent versions of the rust-analyzer, something about the lack of a proc-macro server in toolchains before 2022-07-29. Tested and the problem goes away with the toolchain introduced in this PR.

@Rahix
Copy link
Owner

Rahix commented Aug 10, 2023

Toolchain was finally upgraded in #427.

@Rahix Rahix closed this Aug 10, 2023
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.

3 participants