PSA: If your program does HTTP requests, update your dependencies now

694 points noop_noob 128 comments

Here's a pile of links with info:

You need to update therustls-webpki crate to version 0.103.16, and thewebpki-rootsand webpki-root-certscrates to version 1.0.10. Notably, the reqwests crate depends on these crates.

If you're on a MacOS, you also need to do some manual steps to make thecurlcommand secure. I'm not quite sure if all the linux distros have patches yet, and so you might need to do stuff too.

If you don't do these, then anyone could MITM your HTTPS connection that you make to anyone, since some certificate authority used the number "4" as their entire secret key.