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

Update rand dependency because of RUSTSEC-2021-0023 #396

Open
wants to merge 1 commit into
base: v2.x.x-backports
Choose a base branch
from

Conversation

jhorstmann
Copy link

There is an open rustsec issue (RUSTSEC-2021-0023) about a transitive dependency of http-types 2.12.0. On the main branch this seems to be fixed by migrating to fastrand but I think this might also warrant a maintenance release.

@jhorstmann
Copy link
Author

CI failures are caused by clippy, at least one looks like an actual bug that was already fixed on the main branch

@arlyon
Copy link

arlyon commented Mar 29, 2022

I have a PR that fixes the lints which we can hopefully base this on top of: #399

@Fishrock123 Fishrock123 reopened this May 10, 2022
@Fishrock123
Copy link
Member

Re-running CI now that #399 was merged

@Fishrock123
Copy link
Member

Needs a rebase it seems

@seanlinsley
Copy link

@Fishrock123 I don't see a merge conflict on this branch. Seems like it can be merged?

@jakubadamw
Copy link

@Fishrock123 any chance this could be merged?

@jhorstmann
Copy link
Author

Rebased. There might be new clippy lints since the last update, let's see.

@nox
Copy link
Contributor

nox commented Oct 14, 2022

@Fishrock123 How can we help get this merged and a new release?

@jbr
Copy link
Member

jbr commented Oct 14, 2022

@nox it would help to open a PR fixing the broken clippies. They're not broken because of this PR, but they are blocking merge

@nox
Copy link
Contributor

nox commented Oct 16, 2022

@jbr #512

@nox
Copy link
Contributor

nox commented Oct 19, 2022

@jhorstmann I've made a PR fixing the clippy lints and it got merged. Care to rebase this PR on top of current master? Thanks.

@jhorstmann
Copy link
Author

@nox did you mean cherry-pick instead? My idea here was to apply the change to the 2.x branch for a maintenance release. The master branch seems to have switched to a different crate for random numbers.

Looking at the rustsec advisory again it also seems that rand 0.7 / rand_core 0.5 was never affected. Maybe the advisory was updated, or the tool we use at work for scanning dependencies had wrong information.

An updated maintenance release would still be nice.

@nox
Copy link
Contributor

nox commented Oct 20, 2022

@nox did you mean cherry-pick instead? My idea here was to apply the change to the 2.x branch for a maintenance release. The master branch seems to have switched to a different crate for random numbers.

Yeah sorry, I just meant to tell you about the lint fixes so we can get this merged and released as some 2.y.z version.

@nox
Copy link
Contributor

nox commented Oct 20, 2022

I just realised that the lints were independently fixed, so it seems all we need is a rebase, @jhorstmann.

@nox
Copy link
Contributor

nox commented Oct 20, 2022

Ah, different lints were fixed, never mind.

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.

7 participants