UnratedMavenPublished
Signing DynamoDB Sets when using the AWS Database Encryption SDK.
GHSA-72fp-w44g-625q
- Affected
- Maven software.amazon.cryptography:aws-database-encryption-sdk-dynamodb >= 3.0.0, < 3.1.1
- Fixed in
- 3.1.1· Vendor fix available
- Issue
- Impact This advisory addresses an issue when a DynamoDB Set attribute is marked as SIGNONLY in the AWS Database Encryption SDK (DB-ESDK) for DynamoDB. This also includes when a Set is part of a List or a Map. DB-ESDK for DynamoDB supports SIGNONLY and ENCRYPTANDSIGN attribute actions. In version 3.1.0 and below, when a Set type is assigned a SIGNONLY attribute action, there is a chance that signature validation of the record containing a Set will fail on read, even if the Set attributes contain the same values. The probability of a failure depends on the order of the elements in the Set combined with how DynamoDB returns this data, which is undefined. This update addresses the issue by ensuring that any Set values are canonicalized in the same order while written to DynamoDB as when read back from DynamoDB. Patches Fixed in version 3.1.1 We recommend all users upgrade as soon as possible. Workarounds None References For more information on how to address records with Sets marked as…
Recommended action: Upgrade to 3.1.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.