VDB
Sign up
LOW

GHSA-2xwp-m7mq-7q3r

CLI does not correctly implement strict mode

Quick fix

GHSA-2xwp-m7mq-7q3r — aws-encryption-sdk-cli: upgrade to the fixed version with the command below.

pip install --upgrade 'aws-encryption-sdk-cli>=1.8.0'

Details

In the affected versions, the AWS Encryption CLI operated in "discovery mode" even when "strict mode" was specified. Although decryption only succeeded if the user had permission to decrypt with at least one of the CMKs, decryption could be successful using a CMK that was not included in the user-defined set when the CLI was operating in "strict mode."

Affected users should upgrade to Encryption CLI v1.8.x or v2.1.x as soon as possible.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/aws-encryption-sdk-cli
Introduced in: 0Fixed in: 1.8.0
Fixpip install --upgrade 'aws-encryption-sdk-cli>=1.8.0'
PyPI/aws-encryption-sdk-cli
Introduced in: 2.0.0Fixed in: 2.1.0
Fixpip install --upgrade 'aws-encryption-sdk-cli>=2.1.0'

References