Skip to content
High 8.7

kmstool-enclaveに脆弱性、Nitro Enclave内で任意のコードを実行されるおそれ

CVE-2026-119116 First seen on SecPulse

Summary

aws-nitro-enclaves-sdk-cのkmstool-enclaveにあるSetClientコマンドの処理で、解放済みメモリの使用と二重解放の問題が見つかりました。親のEC2インスタンス上のアプリケーションから、Nitro Enclave内のヒープメモリを壊され、任意のコードを実行されるおそれがあります。影響するのは0.4.6より前の版で、0.4.6で修正されています。kmstool-enclaveを含むEnclaveイメージを、0.4.6に対してビルドし直してください。

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.

aws-nitro-enclaves-sdk-cのkmstool-enclaveにあるSetClientコマンドの処理で、解放済みメモリの使用と二重解放の問題が見つかりました。親のEC2インスタンス上のアプリケーションから、Nitro Enclave内のヒープメモリを壊され、任意のコードを実行されるおそれがあります。影響するのは0.4.6より前の版で、0.4.6で修正されています。kmstool-enclaveを含むEnclaveイメージを、0.4.6に対してビルドし直してください。

Affected packages

PackageAffected → Fixed
AWSkmstool-enclave
< 0.4.6→ 0.4.6
Original description The description as published by the source.

A use-after-free and double-free issue in the SetClient command handler of the kmstool-enclave sample application of AWS aws-nitro-enclaves-sdk-c before 0.4.6 may allow an application that runs on the parent EC2 instance to corrupt heap memory inside a Nitro Enclave which may lead to arbitrary code execution within the enclave.

To remediate this issue, users should rebuild any enclave image that includes kmstool-enclave, or code derived from it, against aws-nitro-enclaves-sdk-c 0.4.6.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details