-
-
Notifications
You must be signed in to change notification settings - Fork 152
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 dependency on unmaintained and vulnerable trait #247
Comments
+1 |
Yes we need to replace typemap. |
@estk is there any work planned regarding this issue? |
@GiorgioBertolotti it's not currently a vulnerability, it may become one in the future. Searching crates.io I see https://crates.io/crates/typemap_rev which seems to be maintained by the discord folks, so I guess that seems fine. I or someone else needs to then just do the migration. I will not have time in the next few weeks but I encourage anyone interested to take a crack at it, I will of course try to do timely code reviews and provide any mentorship necessary. |
@estk Thank you for the detailed explanation. For example This is just one example but could be limiting in several other ways. Unfortunately not knowing the codebase of |
FYI As traitobject, unsafeany and typemap are unmaintained I've pulled https://github.com/philip-peterson/destructure_traitobject/ into unsafe-any here orphanage-rs/rust-unsafe-any@e0c79e2 While this isn't ideal it might be a useful interim measure and I'm happy to move the code to a shared place or whatever makes sense. |
Hey @No9 we should probably file unmaintained advisory for Also if you have typemap fork going we could include it as alternative - there is also another one
Would you be publishing typemap and unsafe-any fork's to crates.io ? |
@No9 @pinkforest thanks for staying on this one. @No9 it seems there is an appetite for having access to your forks via crates.io. One question tho, what do you mean by this?
If the authors/maintainers of those crates are unresponsive I suggest you just create new crates.io projects so long as you have the bandwidth for long-term maintenance of said resources. My only objection to using forks is that I prefer not to directly depend on a git repo. |
Happy to publish these to crates.io I'll look at it over the weekend and update my fork. |
You could always start a github organisation and then give publish right to team in the github organisation |
@pinkforest I really like the idea of |
k. I started orphanage-rs and we can create teams based cargo publish from there and move the forks there |
Dependency repos have moved to orphanage-rs with some additional housekeeping done (clippy/fmt/CI). Crates published and invites sent to @pinkforest and @estk I've PRd updates to this repo to use typemap-ors |
Are we all set on this now that we use |
Hey, this trait depends on typemap, which is unmaintained, and depends on unmaintained crate "unsafe-any", which depends on another unmaintained crate AND vulnerable crate "traitobject".
Are there any mitigation steps that we can take?
The text was updated successfully, but these errors were encountered: