Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

Fix RUSTSEC-2021-0131 when it's fixed in actix-web #288

Open
ncloudioj opened this issue Jan 4, 2022 · 6 comments
Open

Fix RUSTSEC-2021-0131 when it's fixed in actix-web #288

ncloudioj opened this issue Jan 4, 2022 · 6 comments
Labels
nosync Keep this issue local to github

Comments

@ncloudioj
Copy link
Contributor

This CVE was introduced by actix-web and was temporarily ignored by #287. We should fix it by updating actix-web once it gets fixed there (actix/actix-web#2538).

@ncloudioj ncloudioj added the nosync Keep this issue local to github label Jan 4, 2022
@robjtede
Copy link

robjtede commented Jan 5, 2022

Just to check, you folks need it backporting to v3 or no?

@ncloudioj
Copy link
Contributor Author

Hi @robjtede, thanks for reaching out!

Just to check, you folks need it backporting to v3 or no?

We use actix-web v4 for this project. However, we do use v3 for another project.

@pjenvey @jrconlin Are we planning on upgrading actix-web for Contile at some point?

@jrconlin
Copy link
Member

jrconlin commented Jan 5, 2022

We use actix for a number of projects, including syncstorage, autopush, channelserver and contile. All are planned to move to Actix 4 (once Actix 4 stable is released), and all have likewise included the ignore. It really depends on how critical a vulnerability this fix is and how soon Actix 4 will reach stable.

Of course, even after Actix4 is released, there will have to be some time to update each of these packages, which means that they may be similarly vulnerable, so again, it depends on how critical this fix is to the Actix framework.

@robjtede
Copy link

robjtede commented Jan 9, 2022

I think the near-term timeline on v4 stable is favorable towards this issue. In the meantime, the quick fix for silencing the advisory on v3 projects is disabling the feature flag for brotli.

I'm willing to help expedite updating projects to v4 after its release to get brotli support back if you choose to disable it.

@robjtede
Copy link

I decided to backport the fix after all. A cargo update will get you actix-http v2.2.2 which switches the brotli backend to brotli.

@jrconlin
Copy link
Member

Awesome! Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
nosync Keep this issue local to github
Projects
None yet
Development

No branches or pull requests

3 participants