# GHSA-2XWP-M7MQ-7Q3R: CLI does not correctly implement strict mode

- Database: GitHub
- Severity: low (stated by ghsa, no CVSS score)
- Published: 2020-10-28
- Modified: 2024-12-02

## Affected versions

- aws-encryption-sdk-cli (PyPI): fixed in 1.8.0
- aws-encryption-sdk-cli (PyPI): from 2.0.0, fixed in 2.1.0

## Description

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.

## References

- https://github.com/aws/aws-encryption-sdk-cli/security/advisories/GHSA-2xwp-m7mq-7q3r
- https://github.com/aws/aws-encryption-sdk-cli/commit/7d21b8051cab9e52e056fe427d2bff19cf146460

Page: https://cve.now/GHSA-2XWP-M7MQ-7Q3R

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
