enclave-vaults の脆弱性、暗号のnonce再利用で認証情報が推測されるおそれ
Summary
enclave-vaults の0.33.0より前のバージョンには、Wrap操作でAES-GCMのnonceを呼び出し側が指定できる脆弱性があります。同じ鍵でnonceが再利用されると、暗号文から平文の関係が読み取られ、Unwrapで受け入れられる暗号文を偽造するための認証情報が復元されるおそれがあります。修正版は0.33.0です。公表は2026年11月30日で、悪用は報告されていません。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
enclave-vaults の0.33.0より前のバージョンには、Wrap操作でAES-GCMのnonceを呼び出し側が指定できる脆弱性があります。同じ鍵でnonceが再利用されると、暗号文から平文の関係が読み取られ、Unwrapで受け入れられる暗号文を偽造するための認証情報が復元されるおそれがあります。修正版は0.33.0です。公表は2026年11月30日で、悪用は報告されていません。
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- web security-advisories@github.com
- web security-advisories@github.com