rebuild packages for eMudhra Intermediate CA Compromise (RUSTSEC-2026-{0381,0382,0383}) #46
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
rust/backlog#46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The certificates included in the webpki-roots (RUSTSEC-2026-0381) and webpki-root-certs (RUSTSEC-2026-0383) crates were updated and the code in the rustls-webpki crate (RUSTSEC-2026-0382) updated to address this issue, but affected applications still need to be rebuilt.
It might be worth pointing applications that use these certificates to the warning on the repository page:
https://github.com/rustls/webpki-roots#warning
The advisory-tracker repo was updated in commit
rust/advisory-tracker@70c9b4ff6fAs far as I can tell, only applications using webpki-roots / webpki-root-certs actually need to be rebuilt (i.e. advisories -0381 and -0383) - applications that only pull in rustls-webpki (-0382) but neither of the crates that contain the actual certificates shouldn't be affected by this particular issue, which results in these
Affected applications (webpki-roots / webpki-root-certs v1 and v0.26):
Affected applications (webpki-roots v0.25):
Vendored dependencies:
Dependent applications (rustls-webpki v0.103 only):
Dependent applications (rustls-webpki v0.102 only):
Dependent applications (rustls-webpki v0.101 only):
rebuild packages for eMudhra Intermediate CA Compromise (CVE-2026-111943 / RUSTSEC-2026-{0381,0382,0383})to rebuild packages for eMudhra Intermediate CA Compromise (RUSTSEC-2026-{0381,0382,0383})Update: While CVE-2026-111943 is related, it's the corresponding bug for the Go standard library. I had only known the CVE number at the time when I filed this ticket, its contents had not been published yet. Turns out it's Go-specific, so I dropped it from the ticket title.
I’ve dealt with rust-sccache by rebuilding it yet again in the updates in which it was already involved. I’m starting on atuin, rust-cargo-deny, rust-cargo-rpmstatus, and rust-gst-plugin-reqwest, each of which can be rebuilt “cleanly” without interacting with any updates already in flight. Of these four, all but rust-cargo-deny are also affected by #43.
Everything that was already rebuilt (checked) in the “Affected applications” section has now been rebuilt again with webpki-roots 1.0.11.
Considering the “for completeness, packages that depend on rustls-webpki but neither webpki-roots nor webpki-root-certs” list, it doesn’t seem that https://github.com/rustls/webpki/pull/546 should do anything meaningful when the affected CA certs have already been removed from the system trust store (via a
ca-certificatesupdate), or by rebuilding with a newerwebpki-roots/webpki-root-certs. However, I suppose it may have some value as defense in depth or a “belt and suspenders” approach even in that case. Perhaps we should rebuild these at our leisure and issue them as low-severity security updates?That matches my understanding, and treating them as low-priority rebuilds would have been my approach too.
I've now updated the checklists to distinguish between packages that only need a rebuild (i.e. depend on webpki-roots / webpki-root-certs v1 and v0.26 or rustls-webpki v0.103) and those that need dependency porting work (i.e. depend on webpki-roots v0.25 or rustls-webpki v0.102 and v0.101).
For
rust-routinator, we are now free to rebuild it. However, it also has a new upstream release 0.15.3 available with its own batch of security fixes; this, in turn, requiresrpki0.20, which switches its crypto implementation fromringtoaws-lc-rs. This can’t be trivially patched out because it’s needed for therrdpfeature ofrpki, whichroutinatordoes use.@salimma, do you want to take a shot at making the latest
routinatorwork somehow? Or should we go ahead and at least ship the rebuild forwebpki-rootsby itself?Since the F45 Final Freeze has ended and in-flight updates have mostly landed, I’d like to go ahead and rebuild the remaining packages from “Dependent applications (rustls-webpki v0.103 only)” that have
rust-sigas co-maintainer:python-crate-ingredients,rust-coreos-installer,rust-ingredients,rust-pore,rust-rbw(also has an upstream update I’m not investigating, but it doesn’t seem to have security implications),rust-sequoia-sq, andrust-siguldry-fedora-autopen.The exception is
rust-sevctl, which I am not touching because the maintainers have broken its dependencies again by updatingrust-sevto v8.I didn’t rebuild
rust-sequoia-sqin EPEL9, where it’s at an older release, because (1) the currentepel9branch doesn’t build in EPEL9 due to dependency issues, and (2) the EPEL9 package’sLICENSE.dependenciesdoesn’t mentionwebpkianyway, so it would appear to be unaffected.@music wrote in #46 (comment):
Correct, sequoia-sq (and python-crate-ingredients / rust-ingredients) are only listed as "affected" because rustls-webpki is an unused weak dependency, but it's not actually compiled into the final binaries.
As for sequoia-sq in EPEL 9: It is scheduled to be retired within the next few weeks anyway since sq will be included in the upcoming RHEL 9 minor release (see RHBZ#2510627).
@decathorpe wrote in #46 (comment):
It looks like
rust-siguldry-fedora-autopenwas a similar situation.@music wrote in #46 (comment):
I decided to go ahead and rebuild
rust-routinatorfor now. If you do get the new version out the door soon, the rebuild will just be a tiny amount of unnecessary churn, and otherwise, it will at least be one thing fixed for users sooner.I have now filed bugs against all packages that still vendor affected versions of webpki-roots / webpki-root-certs (updated ticket body with bugzilla links).