Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXc3MzYtaGY5cC1xcWgz

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.

Permalink: https://github.com/advisories/GHSA-w736-hf9p-qqh3
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLXc3MzYtaGY5cC1xcWgz
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: about 3 years ago
Updated: over 1 year ago


Identifiers: GHSA-w736-hf9p-qqh3
References: Repository: https://github.com/aws/aws-dynamodb-encryption-java
Blast Radius: 0.0

Affected Packages

maven:com.amazonaws:aws-dynamodb-encryption-java
Dependent packages: 3
Dependent repositories: 18
Downloads:
Affected Version Ranges: < 1.15.0
Fixed in: 1.15.0
All affected versions: 1.11.0, 1.11.1, 1.11.2, 1.12.0, 1.13.0, 1.14.0, 1.14.1
All unaffected versions: 1.15.0, 1.15.1, 1.15.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3