8.2high
enclave-os-mini: vault wrap accepted a caller-supplied AES-GCM nonce, allowing nonce reuse
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.42% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Enclave OS Mini is a Rust-based runtime for confidential applications inside Intel SGX enclaves. Prior to enclave-vaults version 0.33.0, Enclave OS Mini's handle_wrap operation accepted the caller-supplied iv_b64 value and passed it to aes_gcm_seal as the AES-256-GCM nonce. A principal authorized for Wrap could reuse a nonce under the same key across multiple plaintexts when using a client path that forwarded the nonce, allowing an observer of the resulting ciphertexts to derive plaintext relationships and recover authentication material needed to forge ciphertexts accepted by Unwrap. The Privasys vault serve PKCS#11 key-value shim forwarded the nonce, while the KMIP gateway did not. The issue primarily violates the expectations of consumers of wrapped ciphertexts and is most significant for directly authored Wrap-only policies. This issue is fixed in enclave-vaults version 0.33.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Privasys enclave-vaults | < 0.33.0 | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-137021 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-137021 changed 2026-11-30 | Public domain |