Read the docs

Nonce reuse in Privasys enclave-vaults wrap operation allows forgery

Priority MEDIUM 51CWE-323Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

Enclave-vaults from Privasys before 0.33.0 is affected. Its handle_wrap operation in Enclave OS Mini accepts a caller-supplied nonce and passes it to AES-256-GCM encryption, which lets a principal with Wrap permission reuse a nonce under the same key (CWE-323). An observer of the resulting ciphertexts can derive relationships between plaintexts and recover authentication material needed to forge ciphertexts that Unwrap accepts. The flaw is most significant for Wrap-only policies written directly.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

Fix Fixed enclave-vaults (Privasys): 0.33.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Privasysenclave-vaultsbefore 0.33.00.33.0Patch availableCNA
  • enclave-vaults VendorPrivasys Affected before 0.33.0 Fixed in 0.33.0 Patch available CNA

Remediation

Update enclave-vaults to version 0.33.0, which fixes the issue. The sources list no advisory identifier for this fix.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA enclave-vaults (Privasys) Fixed in 0.33.0

Timeline

  1. 2026-11-30 Threatist record created from CVE-2026-137021

References

  • TI-2026-101110 enclave-os-mini: JWT signatures were not verified in builds without the wasm feature CVSS 3.1CRITICAL 9.8
  • TI-2026-101111 FIDO2 user handle flaw lets attackers gain admin in enclave-os-mini CVSS 3.1CRITICAL 9.1
  • TI-2026-101121 Slow outbound fetch in enclave-os-mini stalls all enclave apps CVSS 3.1HIGH 7.7
  • TI-2026-101120 Unterminated HTTP headers in enclave-os-mini exhaust enclave heap CVSS 3.1HIGH 7.5
  • TI-2026-101117 Authentication bypass in enclave-os-mini configuration API CVSS 3.1HIGH 7.5
  • TI-2026-101115 Enclave OS Mini grants app admin role to first FIDO2 user CVSS 3.1HIGH 7.4
See all 19 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences