-
Notifications
You must be signed in to change notification settings - Fork 84
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
dependency atty trips RUSTSEC-2021-0145 #131
Comments
No release in 3 years. Switch to owo-colors and use the compatibility layer. |
Thanks |
Hey, thanks for the issue! I'm a newer member to the project, but I'm here to help start getting these issues and PRs tackled, and to keep the project moving forward in general. You mentioned that security advisory @damccull, but I'm not seeing how that's originating in this crate. Excuse me if I'm just overlooking something, but it looks like the version of Is this still affecting you? I'm wanting to start closing up some issues that don't need to be open anymore, but I'd like to leave this open in case there's something going on. |
I was using the latest version of colored when I posted the issue, however I've since switch to owo-colors as suggested by another user. I'm glad to see this project hasn't disappeared completely though. |
For sure, this project ain't out yet @damccull! I use it in a fair amount of my own projects, so I'm definitely vetted into seeing the success of it. It also appears to be quite popular on crates.io, so whatever I can do to help with a crate like this I'm definitely down for. I'll go ahead and close this issue for the time being. If it appears to be an issue by anyone after the new release is made a new issue can be made and I'll get it looked at. |
@hwittenborn I am a little confused about the resolution.
Did you mean you are working on a new release of this crate without |
That's my bad @amitu, I hadn't looked too much into that CVE and just assumed it was fixed on the latest release. That'll probably involve either getting into a fork of the upstream or just removing the dependency (the latter of which is a fair possibility, see #125 (comment)). There definitely needs to be no crates with active vulnerabilities in here though. I'm just getting stuff discussed with mackwic before doing much. I'll go ahead and reopen this issue since it's still affecting |
Rust 1.70.0 added https://doc.rust-lang.org/stable/std/io/trait.IsTerminal.html, which is a stdlib replacement for atty. There is already an issue related to MSRV: #85. Maybe set MSRV to 1.70.0 and create a major release? And to be extra nice create a patch release as well with another crate as a dependency? I am not sure how much time you have on your hand. But if you agree maybe someone can send a PR with these changes? Publishing releases is still work. |
Oh cool, didn't know that was part of the stdlib. I was wanting to add an MSRV for the project but wasn't sure what to set it to, that gives a good one to set though. Making a new release isn't an issue at all, I'm actually wanting to start automating the process so that I don't have to do it manually anymore. I'm just wanting for @mackwic to give me access to the crate on crates.io before I can do anything. I'm thinking he's probably still pretty busy with stuff though, but I saw you had access to the crate @kurtlawrence. Would you mind adding me as a maintainer of the crate on crates.io if mackwic isn't able to get back? |
Just a stranger passing by, it feels good to see activity on this repo! |
Sorry @hwittenborn, just saw this. I see Thomas has added you now. |
Fixed in |
I'm getting a rustsec warning on cargo audit:
https://rustsec.org/advisories/RUSTSEC-2021-0145
Is this something being looked into?
The text was updated successfully, but these errors were encountered: