Skip to content

chore(deps): bump rustls-webpki and webpki-roots for the emSign distrust - #2

Merged
kvinwang merged 1 commit into
masterfrom
security/emsign-distrust
Oct 28, 2026
Merged

kvinwang merged 1 commit into
masterfrom
security/emsign-distrust

Conversation

@kvinwang

Copy link
Copy Markdown

Eight eMudhra/emSign TLS intermediate CAs had private keys that can be computed from their certificates. This moves the lock to the fixed releases:

crate before after
rustls-webpki 0.103.4 0.103.16 (RUSTSEC-2026-0383, CVE-2026-111943: rejects chains through the compromised keys)
webpki-roots 1.0.2 1.0.10 (drops emSign ECC Root CA - G3)

Nothing else in Cargo.lock moves. These cover the rustls paths (reqwest rustls-tls, tokio-tungstenite). The default reqwest client uses native-tls with vendored OpenSSL and reads the system trust store, so the runtime image needs a fixed ca-certificates too (dstack's KMS image gets it from Dstack-TEE/dstack#1464).

Tests

  • cargo build --locked --release -p helios-cli -p helios-opstack --bins and cargo test --locked --release -p helios-opstack --lib (the steps the dstack KMS image runs): pass, Rust 1.94.1.
  • helios ethereum with both RPCs at https://dv-g3b-emudhra.we-have-a-problem.com:
    • SSL_CERT_FILE = rust:1.92.0 bundle (ca-certificates 20250419): TLS succeeds, fails later on JSON decode.
    • SSL_CERT_FILE = bookworm ca-certificates 20250419~deb12u2: request fails; openssl s_client with the same bundle reports unable to get local issuer certificate.
    • Control with the fixed bundle against ethereum.operationsolarstorm.org / eth.drpc.org: syncs.

Eight eMudhra/emSign TLS intermediate CAs had private keys that can be
computed from their certificates. rustls-webpki 0.103.16
(RUSTSEC-2026-0383, CVE-2026-111943) rejects chains through those keys,
and webpki-roots 1.0.10 drops emSign ECC Root CA - G3.

  cargo update -p rustls-webpki --precise 0.103.16
  cargo update -p webpki-roots@1.0.2 --precise 1.0.10

Signed-off-by: Kevin Wang <wy721@qq.com>
kvinwang added a commit to Dstack-TEE/dstack that referenced this pull request Oct 27, 2026
Dstack-TEE/helios#2 moves the lock to rustls-webpki 0.103.16 and
webpki-roots 1.0.10, so Helios rustls clients reject chains through
the compromised eMudhra/emSign intermediates.

Signed-off-by: Kevin Wang <wy721@qq.com>
kvinwang added a commit to Dstack-TEE/dstack that referenced this pull request Oct 27, 2026
Dstack-TEE/helios#2 moves the lock to rustls-webpki 0.103.16 and
webpki-roots 1.0.10, so Helios rustls clients reject chains through
the compromised eMudhra/emSign intermediates.

Signed-off-by: Kevin Wang <wy721@qq.com>
@kvinwang
kvinwang merged commit cda98f0 into master Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant