diff --git a/Cargo.lock b/Cargo.lock index 37b39ac..2a27dec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2740,7 +2740,7 @@ dependencies = [ "tokio", "tokio-rustls", "tower-service", - "webpki-roots 1.0.6", + "webpki-roots 1.0.10", ] [[package]] @@ -3575,7 +3575,7 @@ dependencies = [ "tokio-util", "typed-builder", "uuid", - "webpki-roots 1.0.6", + "webpki-roots 1.0.10", ] [[package]] @@ -4643,7 +4643,7 @@ dependencies = [ "wasm-bindgen-futures", "wasm-streams", "web-sys", - "webpki-roots 1.0.6", + "webpki-roots 1.0.10", ] [[package]] @@ -4809,9 +4809,9 @@ dependencies = [ [[package]] name = "rustls-webpki" -version = "0.103.15" +version = "0.103.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2" +checksum = "4443b1b6d39d7c663139942cc4558262562d2c84123bb6282ef177009ca8b281" dependencies = [ "ring", "rustls-pki-types", @@ -6712,14 +6712,14 @@ version = "0.26.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "521bc38abb08001b01866da9f51eb7c5d647a19260e00054a8c7fd5f9e57f7a9" dependencies = [ - "webpki-roots 1.0.6", + "webpki-roots 1.0.10", ] [[package]] name = "webpki-roots" -version = "1.0.6" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22cfaf3c063993ff62e73cb4311efde4db1efb31ab78a3e5c457939ad5cc0bed" +checksum = "1c1c8e20c8a38fc7d65abfe74eb7280e4aa667e8eec8bc84996d2874810748d9" dependencies = [ "rustls-pki-types", ] diff --git a/Dockerfile.agent b/Dockerfile.agent index ddff4f8..67dbe8c 100644 --- a/Dockerfile.agent +++ b/Dockerfile.agent @@ -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 diff --git a/Dockerfile.dashboard b/Dockerfile.dashboard index d8b9f3a..01c1d87 100644 --- a/Dockerfile.dashboard +++ b/Dockerfile.dashboard @@ -27,6 +27,10 @@ RUN apt-get update \ && apt-get install -y --no-install-recommends ca-certificates libssl3 curl \ && rm -rf /var/lib/apt/lists/* \ && useradd --uid 10001 --user-group --no-create-home --shell /usr/sbin/nologin app +# 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 WORKDIR /app COPY --from=builder /app/target/dx/compliance-dashboard/release/web/compliance-dashboard /app/compliance-dashboard diff --git a/Dockerfile.mcp b/Dockerfile.mcp index 8a6d133..08a36f5 100644 --- a/Dockerfile.mcp +++ b/Dockerfile.mcp @@ -19,6 +19,10 @@ RUN apt-get update \ && apt-get install -y --no-install-recommends ca-certificates libssl3 curl \ && rm -rf /var/lib/apt/lists/* \ && useradd --uid 10001 --user-group --no-create-home --shell /usr/sbin/nologin app +# 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 COPY --from=builder /app/target/release/compliance-mcp /usr/local/bin/compliance-mcp