logo

GHSA-w736-hf9p-qqh3 com.amazonaws:aws-dynamodb-encryption-java

Package

Manager: maven
Name: com.amazonaws:aws-dynamodb-encryption-java
Vulnerable Version: >=0 <1.15.0

Severity

Level: Low

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:U/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Key Caching behavior in the DynamoDB Encryption Client. ### Impact This advisory concerns users of MostRecentProvider in the DynamoDB Encryption Client with a key provider like AWS Key Management Service that allows for permissions on keys to be modified. When key usage permissions were changed at the key provider, time-based key reauthorization logic in MostRecentProvider did not reauthorize the use of the key. This created the potential for keys to be used in the DynamoDB Encryption Client after permissions to do so were revoked at the key provider. ### Patches Fixed as of 1.15.0. We recommend users to modify their code and adopt `CachingMostRecentProvider`. ### Workarounds Users who cannot upgrade to use the `CachingMostRecentProvider` can call `clear()` on the cache to manually flush all of its contents. Next use of the key will force a re-validation to occur with the key provider.

Metadata

Created: 2021-02-08T17:43:36Z
Modified: 2021-02-05T21:21:40Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/02/GHSA-w736-hf9p-qqh3/GHSA-w736-hf9p-qqh3.json
CWE IDs: ["CWE-862"]
Alternative ID: N/A
Finding: F039
Auto approve: 1