AWS cloudhsm high security documentation change
Summary
Added documentation for a new issue where signing operations with prehashed data in interactive mode fail to clear session tokens properly, along with workaround and resolution details
Security assessment
The change documents a security vulnerability where session tokens are not properly cleared after signing operations, which could leave sensitive cryptographic material in memory. This constitutes a concrete security risk as improper session token handling could lead to unauthorized access or data leakage. The documentation explicitly describes the impact and mitigation.
Diff
diff --git a/cloudhsm/latest/userguide/ki-all.md b/cloudhsm/latest/userguide/ki-all.md index cf136a2d9..9e675acad 100644 --- a//cloudhsm/latest/userguide/ki-all.md +++ b//cloudhsm/latest/userguide/ki-all.md @@ -5 +5 @@ -Issue: AES key wrapping uses PKCS #5 padding instead of providing a standards-compliant implementation of key wrap with zero paddingIssue: The client daemon requires at least one valid IP address in its configuration file to successfully connect to the clusterIssue: There was an upper limit of 16 KB on data that can be hashed and signed by AWS CloudHSM using Client SDK 3Issue: Imported keys could not be specified as non-exportableIssue: The default mechanism for the wrapKey and unWrapKey commands in the key_mgmt_util has been removedIssue: If you have a single HSM in your cluster, HSM failover does not work correctlyIssue: If you exceed the key capacity of the HSMs in your cluster within a short period of time, the client enters an unhandled error stateIssue: Digest operations with HMAC keys of size greater than 800 bytes are not supportedIssue: The client_info tool, distributed with Client SDK 3, deletes the contents of the path specified by the optional output argumentIssue: You receive an error when running the SDK 5 configure tool using the --cluster-id argument in containerized environmentsIssue: You receive the error "Failed to create cert/key from provided pfx file. Error: NotPkcs8"Issue: ECDSA signing fails with "invalid mechanism" error starting with SDK 5.16 +Issue: AES key wrapping uses PKCS #5 padding instead of providing a standards-compliant implementation of key wrap with zero paddingIssue: The client daemon requires at least one valid IP address in its configuration file to successfully connect to the clusterIssue: There was an upper limit of 16 KB on data that can be hashed and signed by AWS CloudHSM using Client SDK 3Issue: Imported keys could not be specified as non-exportableIssue: The default mechanism for the wrapKey and unWrapKey commands in the key_mgmt_util has been removedIssue: If you have a single HSM in your cluster, HSM failover does not work correctlyIssue: If you exceed the key capacity of the HSMs in your cluster within a short period of time, the client enters an unhandled error stateIssue: Digest operations with HMAC keys of size greater than 800 bytes are not supportedIssue: The client_info tool, distributed with Client SDK 3, deletes the contents of the path specified by the optional output argumentIssue: You receive an error when running the SDK 5 configure tool using the --cluster-id argument in containerized environmentsIssue: You receive the error "Failed to create cert/key from provided pfx file. Error: NotPkcs8"Issue: ECDSA signing fails with "invalid mechanism" error starting with SDK 5.16Issue: Signing operations with prehashed data do not properly clear session tokens in interactive mode @@ -36,0 +37,2 @@ The following issues impact all AWS CloudHSM users regardless of whether they us + * Issue: Signing operations with prehashed data do not properly clear session tokens in interactive mode + @@ -169,0 +172,11 @@ As an additional workaround, we have added a configuration option to bypass this +## Issue: Signing operations with prehashed data do not properly clear session tokens in interactive mode + + * **Impact:** When using the CloudHSM CLI in interactive mode with SDK version 5.16.1, signing operations with prehashed data fail to clear session tokens properly. + + * **Workaround:** Use single command mode instead of interactive mode when performing signing operations with prehashed data. This ensures proper token cleanup after each operation. + + * **Resolution status:** This issue has been resolved in CloudHSM SDK 5.16.2. Upgrade to version 5.16.2 or later to benefit from the fix. + + + +