# GHSA-2xwp-m7mq-7q3r: CLI does not correctly implement strict mode

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-10-28T17:05:38.000Z
- Modified: 2024-12-02T05:37:53.173Z
- Weaknesses: CWE-326

## 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.

(As written by GitHub Advisory Database.)

## Affected

- aws-encryption-sdk-cli (PyPI): before 1.8.0; from 2.0.0 before 2.1.0

## References

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

## Sources

- GitHub Advisory Database: [GHSA-2xwp-m7mq-7q3r](https://github.com/advisories/GHSA-2xwp-m7mq-7q3r), CC-BY-4.0, modified 2024-12-02

---

Page: https://cve.day/GHSA-2xwp-m7mq-7q3r · Whole record: https://cve.day/GHSA-2xwp-m7mq-7q3r.json · Rebuilt by cve.day 2026-11-25T22:56:33.627Z
