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
Owner

eMudhra CA compromise, Track B (Mozilla bug 2083449).

Prüfwerk's Rust clients (reqwest rustls-tls, the MongoDB driver) use the roots compiled in from webpki-roots, and those still contained emSign ECC Root CA - G3. The host-bundle mounts on prod and stage (orca-platform #116–#119) cover git, Python and Node in the agent, but cannot reach these roots. Only a rebuild can.

  • webpki-roots 1.0.6 → 1.0.10 (root removed), rustls-webpki 0.103.15 → 0.103.16. The lock file only; nothing else moves.
  • Dockerfile.agent (tools stage), Dockerfile.dashboard and Dockerfile.mcp fail the build if the Debian store still ships the root.
    • Checked: 20230311+deb12u1 fails, 20250419~deb12u2 passes.
    • This also stops CI from reusing a cached layer with the old store. In the agent, the layers after it rebuild too, so the Python tools get a fresh certifi.

Not built locally (no heavy local builds); CI checks it. Then stage via the webhook, prod via promote.sh --project pruefwerk-prod on the user's go.

🤖 Generated with Claude Code

**eMudhra CA compromise, Track B** ([Mozilla bug 2083449](https://bugzilla.mozilla.org/show_bug.cgi?id=2083449)). Prüfwerk's Rust clients (reqwest `rustls-tls`, the MongoDB driver) use the **roots compiled in** from `webpki-roots`, and those still contained **emSign ECC Root CA - G3**. The host-bundle mounts on prod and stage (orca-platform #116–#119) cover git, Python and Node in the agent, but cannot reach these roots. Only a rebuild can. - `webpki-roots` 1.0.6 → **1.0.10** (root removed), `rustls-webpki` 0.103.15 → **0.103.16**. The lock file only; nothing else moves. - `Dockerfile.agent` (tools stage), `Dockerfile.dashboard` and `Dockerfile.mcp` fail the build if the Debian store still ships the root. - Checked: `20230311+deb12u1` fails, `20250419~deb12u2` passes. - This also stops CI from reusing a cached layer with the old store. In the agent, the layers after it rebuild too, so the Python tools get a fresh `certifi`. Not built locally (no heavy local builds); CI checks it. Then stage via the webhook, prod via `promote.sh --project pruefwerk-prod` on the user's go. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
sharang added 1 commit 2026-10-21 15:08:14 +00:00
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
db3bf4f649
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>
sharang added 1 commit 2026-10-21 15:18:32 +00:00
chore(audit): Ignore zip extract() advisories we do not reach
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) Successful in 11m2s
3934fcb6be
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>
sharang merged commit f77e78c5d2 into main 2026-10-21 15:48:21 +00:00
Sign in to join this conversation.