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
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>
This commit is contained in:
1 parent
ed71ced9b3
commit
db3bf4f649
4 files changed
+20
-8
No files matched your search
@@ -80,6 +80,10 @@ RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
ca-certificates libssl3 git curl python3 python3-pip npm cppcheck \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
# eMudhra (Mozilla bug 2083449, Oct 2026): fail the build if the image still
|
||||
# trusts the compromised root. Also keeps a cached layer with the old store
|
||||
# from being reused.
|
||||
RUN test ! -e /usr/share/ca-certificates/mozilla/emSign_ECC_Root_CA_-_G3.crt
|
||||
|
||||
# Cargo resolves Rust lockfiles and metadata for the SBOM stage. Installed
|
||||
# system-wide so the unprivileged user can run it; its caches go to the user's
|
||||
|
||||
Reference in new issue
Block a user