Description
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 verify_oidc_token. A genuinely signed token without exp therefore had no upper lifetime bound, and a failed get_current_time 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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Privasys | enclave-os-mini | < 0.25.0 | — |
| Privasys | enclave-os-mini-wasm | < 0.53.0 | — |
| Privasys | enclave-vaults | < 0.33.0 | — |
| Privasys | enclave-cluster | < 0.8.0 | — |
References
- https://github.com/Privasys/enclave-os-mini/security/advisories/GHSA-wqf9-jfmm-f68v
- https://github.com/Privasys/enclave-os-mini/commit/d6cf5f0e071fcd88e0518f11a61bcb5d28eb6102
- https://github.com/Privasys/enclave-os-mini/releases/tag/v0.25.0
- https://github.com/Privasys/enclave-os-mini/releases/tag/wasm-v0.53.0