{"answers":{"affected":"4 open source packages ship an affected version, including aws-encryption-sdk-cli.","exploited":"There is no known exploitation of GHSA-2xwp-m7mq-7q3r in the wild and no public exploit code.","fix":"Upgrade aws-encryption-sdk-cli to a fixed version for your release line: 1.8.0 or 2.1.0.","what":"GHSA-2xwp-m7mq-7q3r is a vulnerability in aws-encryption-sdk-cli, published on 28 Oct 2020."},"fix_prompt":"Check this codebase for GHSA-2xwp-m7mq-7q3r and fix it if it is affected.\n\nWhat it is: GHSA-2xwp-m7mq-7q3r is a vulnerability in aws-encryption-sdk-cli, published on 28 Oct 2020. \nExploitation: There is no known exploitation of GHSA-2xwp-m7mq-7q3r in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- aws-encryption-sdk-cli (PyPI): affected all versions; fixed in 1.8.0\n- aws-encryption-sdk-cli (PyPI): affected all versions; fixed in 1.8.0\n- aws-encryption-sdk-cli (PyPI): affected from 2.0.0; fixed in 2.1.0\n- aws-encryption-sdk-cli (PyPI): affected from 2.0.0; fixed in 2.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-2xwp-m7mq-7q3r/ (Markdown: https://insights.sbomify.com/GHSA-2xwp-m7mq-7q3r/index.md)","id":"GHSA-2xwp-m7mq-7q3r","markdown":"https://insights.sbomify.com/GHSA-2xwp-m7mq-7q3r/index.md","name":"GHSA-2xwp-m7mq-7q3r","record":{"aliases":[],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"unknown","non_default_config":false,"product_category":"AWS Encryption CLI","requires_auth":"low_privilege","summary":"The AWS Encryption CLI fails to enforce strict mode, allowing decryption with unauthorized keys, bypassing intended security controls.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"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.\"\n\nAffected users should upgrade to Encryption CLI v1.8.x or v2.1.x as soon as possible.","ecosystems":["PyPI"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"CLI does not correctly implement strict mode","id":"GHSA-2xwp-m7mq-7q3r","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"security_feature_bypass","year":"2020"},"n_packages":4,"n_references":null,"packages":[{"ecosystem":"PyPI","fixed":["1.8.0"],"introduced":["0"],"last_affected":[],"package":"aws-encryption-sdk-cli","purl":null,"source":"GHSA-2xwp-m7mq-7q3r"},{"ecosystem":"PyPI","fixed":["1.8.0"],"introduced":["0"],"last_affected":[],"package":"aws-encryption-sdk-cli","purl":"pkg:pypi/aws-encryption-sdk-cli","source":"GHSA-2xwp-m7mq-7q3r"},{"ecosystem":"PyPI","fixed":["2.1.0"],"introduced":["2.0.0"],"last_affected":[],"package":"aws-encryption-sdk-cli","purl":null,"source":"GHSA-2xwp-m7mq-7q3r"},{"ecosystem":"PyPI","fixed":["2.1.0"],"introduced":["2.0.0"],"last_affected":[],"package":"aws-encryption-sdk-cli","purl":"pkg:pypi/aws-encryption-sdk-cli","source":"GHSA-2xwp-m7mq-7q3r"}],"products":null,"published":"2020-10-28","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"The AWS Encryption CLI fails to enforce strict mode, allowing decryption with unauthorized keys, bypassing intended security controls.","url":"https://insights.sbomify.com/GHSA-2xwp-m7mq-7q3r/"}