Skip to content

v0.5.13

Choose a tag to compare

@kvinwang kvinwang released this 13 Nov 01:49
b9a2369

Security maintenance release for the 0.5 line. It contains only guest-side fixes backported from 0.6, and ships in the meta-dstack v0.5.13 guest OS image. KMS, Gateway and Verifier are unchanged, so there are no new component releases.

We recommend upgrading to dstack 0.6.4. The 0.5 line receives security fixes only.

Guest setup (dstack-util)

  • Refuse to boot when an encrypted env is present but the key provider gives no env crypt key. Before this, the local, TPM and no-KMS key providers silently dropped the encrypted env and started the app without its secrets (#1571, backport of #1340).
  • Validate the WireGuard address, public key and endpoint the gateway returns before rendering them into the wg-quick config, which runs its PreUp/PostUp hooks as root (#1571, backport of #1472).

RA-TLS client (ra-rpc)

  • When CA verification is skipped and the server is authenticated by its attestation instead, still check the TLS handshake signature, so the server must hold the attested certificate's key. Before this, the guest's KMS connection accepted a replayed KMS certificate (#1571, backport of #1522).

Guest agent

  • Saturate oversized /logs durations instead of overflowing (#1571, backport of #1478).
  • Pin swagger-ui with Subresource Integrity on the API docs page (#1571, backport of #1475).

Dependencies

  • rustls-webpki 0.103.16 (RUSTSEC-2026-0383), which rejects chains through the compromised emSign intermediate CAs (#1571, backport of #1463).

Full commit log: v0.5.12...v0.5.13