fix(deps): Distrust the compromised eMudhra root (webpki-roots 1.0.10) #574

Merged
sharang merged 2 commits from fix/emudhra-roots into main 2026-10-21 15:48:21 +00:00
2 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 3934fcb6be chore(audit): Ignore zip extract() advisories we do not reach
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Check (pull_request) Successful in 11m2s
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
RUSTSEC-2026-0367/0368/0369 (zip 2.4.2) affect ZipArchive::extract() and
ZipStreamReader::extract() only. ingest/archive.rs extracts entry by
entry, skips paths enclosed_name() rejects and writes file contents only,
so no symlinks or Unix modes are ever applied. They failed this PR's
security audit although the PR does not touch zip; zip 9.x is a separate
follow-up.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 17:18:28 +02:00
Sharang ParnerkarandClaude Opus 5.5 db3bf4f649 fix(deps): Distrust the compromised eMudhra root (webpki-roots 1.0.10)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Failing after 5m53s
The Rust HTTP clients (reqwest rustls-tls, ureq, the MongoDB driver)
trust the roots compiled in from webpki-roots, which still included
"emSign ECC Root CA - G3" (Mozilla bug 2083449: eight intermediates
under it have trivially recoverable keys). The host-bundle mounts in prod
cannot reach those roots; only a rebuild can.

- webpki-roots 1.0.10 (root removed), rustls-webpki 0.103.16.
- Every final stage fails the build if the Debian store still ships the
  root; this also stops CI from reusing a cached layer with the old
  ca-certificates (20230311+deb12u1, which trusts the forged chain;
  20250419~deb12u2 rejects it).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-21 17:08:11 +02:00