Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini version 0.25.0, enclave-os-mini-wasm version 0.53.0, enclave-vaults version 0.33.0, and enclave-cluster version 0.8.0, Enclave OS Mini treated the JWT exp claim as optional in both the JWKS verification path and verifyoidctoken. A genuinely signed token without exp therefore had no upper lifetime bound, and a failed getcurrenttime operation produced zero so every token appeared unexpired; nbf was also not enforced. The first path depends on an identity provider issuing tokens without exp, while the clock-error path affected any signed token. This issue is fixed in enclave-os-mini version 0.25.0, enclave-os-mini-wasm version 0.53.0, enclave-vaults version 0.33.0, and enclave-cluster version 0.8.0.
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini version 0.25.0, enclave-os-mini-wasm version 0.53.0, enclave-vaults version 0.33.0, and enclave-cluster version 0.8.0, Enclave OS Mini treated the JWT exp claim as optional in both the JWKS verification path and verifyoidctoken. A genuinely signed token without exp therefore had no upper lifetime bound, and a failed getcurrenttime operation produced zero so every token appeared unexpired; nbf was also not enforced. The first path depends on an identity provider issuing tokens without exp, while the clock-error path affected any signed token. This issue is fixed in enclave-os-mini version 0.25.0, enclave-os-mini-wasm version 0.53.0, enclave-vaults version 0.33.0, and enclave-cluster version 0.8.0.
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini version 0.26.0, enclave-os-mini-wasm version 0.55.0, enclave-vaults version 0.34.0, and enclave-cluster version 0.8.0, Enclave OS Mini's RA-TLS ingress buffered decrypted plaintext until parsehttprequest found a complete HTTP header section. MAXHEADERS limited only the number of fields, so an unauthenticated remote peer could withhold the terminating blank line while growing one header or the request line until the shared 64 MiB HeapMaxSize was exhausted and the enclave stopped. This issue is fixed in enclave-os-mini version 0.26.0, enclave-os-mini-wasm version 0.55.0, enclave-vaults version 0.34.0, and enclave-cluster version 0.8.0.
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini version 0.26.0, enclave-os-mini-wasm version 0.56.2, enclave-vaults version 0.34.0, and enclave-cluster version 0.8.0, Enclave OS Mini trusted host-supplied time through getcurrenttime for security decisions. A malicious SGX host could return an old or zero time so an expired FIDO2 session token remained valid, a vault key whose TimeWindow had closed became usable when every other policy condition was met, or a token signed by a key removed during identity-provider rotation remained accepted through the JWKS cache. Host control did not itself provide those credentials or satisfy the remaining vault policy conditions. The same weakness applied to other expiry and freshness checks. This issue is fixed in base version 0.26.0, enclave-os-mini-wasm version 0.56.2, enclave-vaults version 0.34.0, and enclave-cluster version 0.8.0.
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-os-mini version 0.26.0, enclave-os-mini-wasm version 0.56.2, enclave-vaults version 0.34.0, and enclave-cluster version 0.8.0, Enclave OS Mini trusted host-supplied time through getcurrenttime for security decisions. A malicious SGX host could return an old or zero time so an expired FIDO2 session token remained valid, a vault key whose TimeWindow had closed became usable when every other policy condition was met, or a token signed by a key removed during identity-provider rotation remained accepted through the JWKS cache. Host control did not itself provide those credentials or satisfy the remaining vault policy conditions. The same weakness applied to other expiry and freshness checks. This issue is fixed in base version 0.26.0, enclave-os-mini-wasm version 0.56.2, enclave-vaults version 0.34.0, and enclave-cluster version 0.8.0.