{"answers":{"affected":"5 open source packages ship an affected version, including com.amazonaws:aws-encryption-sdk-java and aws-encryption-sdk. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-8897 in the wild and no public exploit code.","fix":"Upgrade com.amazonaws:aws-encryption-sdk-java to 2.0.0 or later.","what":"CVE-2020-8897 is a medium-severity vulnerability in Amazon AWS SDK, published on 16 Nov 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-8897 and fix it if it is affected.\n\nWhat it is: CVE-2020-8897 is a medium-severity vulnerability in Amazon AWS SDK, published on 16 Nov 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-8897 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.amazonaws:aws-encryption-sdk-java (Maven): affected all versions; fixed in 2.0.0\n- com.amazonaws:aws-encryption-sdk-java (Maven): affected all versions; fixed in 2.0.0\n- aws-encryption-sdk (PyPI): affected all versions; fixed in 2.0.0\n- aws-encryption-sdk (PyPI): affected all versions; fixed in 2.0.0\n- aws-encryption-sdk (PyPI): affected all versions; fixed in 2.0.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/CVE-2020-8897/ (Markdown: https://insights.sbomify.com/CVE-2020-8897/index.md)","id":"CVE-2020-8897","markdown":"https://insights.sbomify.com/CVE-2020-8897/index.md","name":"CVE-2020-8897","record":{"aliases":["GHSA-wqgp-vphw-hphf","PYSEC-2020-261"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"AWS Encryption SDK","requires_auth":"low_privilege","summary":"Attackers can craft ciphertexts that decrypt to multiple results due to non-committing AEAD ciphers, impacting data integrity in multi-recipient scenarios.","user_interaction":"required","vuln_class":"weak_cryptography"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"aws_encryption_sdk","vendor":"amazon"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"},{"id":"CWE-310","name":null}],"description":"A weak robustness vulnerability exists in the AWS Encryption SDKs for Java, Python, C and Javalcript prior to versions 2.0.0. Due to the non-committing property of AES-GCM (and other AEAD ciphers such as AES-GCM-SIV or (X)ChaCha20Poly1305) used by the SDKs to encrypt messages, an attacker can craft a unique cyphertext which will decrypt to multiple different results, and becomes especially relevant in a multi-recipient setting. We recommend users update their SDK to 2.0.0 or later.","ecosystems":["Maven","PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Robustness weakness in AWS KMS and Encryption SDKs","id":"CVE-2020-8897","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"weak_cryptography","year":"2020"},"n_packages":5,"n_references":2,"next":{"headline":"Memory corruption in Quram library when decoding qmg can lead to RCE","id":"CVE-2020-8899"},"packages":[{"ecosystem":"Maven","fixed":["2.0.0"],"introduced":["0"],"last_affected":[],"package":"com.amazonaws:aws-encryption-sdk-java","purl":null,"source":"GHSA-wqgp-vphw-hphf"},{"ecosystem":"Maven","fixed":["2.0.0"],"introduced":["0"],"last_affected":[],"package":"com.amazonaws:aws-encryption-sdk-java","purl":"pkg:maven/com.amazonaws/aws-encryption-sdk-java","source":"GHSA-wqgp-vphw-hphf"},{"ecosystem":"PyPI","fixed":["2.0.0"],"introduced":["0"],"last_affected":[],"package":"aws-encryption-sdk","purl":null,"source":"GHSA-wqgp-vphw-hphf"},{"ecosystem":"PyPI","fixed":["2.0.0"],"introduced":["0"],"last_affected":[],"package":"aws-encryption-sdk","purl":"pkg:pypi/aws-encryption-sdk","source":"GHSA-wqgp-vphw-hphf"},{"ecosystem":"PyPI","fixed":["2.0.0"],"introduced":["0"],"last_affected":[],"package":"aws-encryption-sdk","purl":"pkg:pypi/aws-encryption-sdk","source":"PYSEC-2020-261"}],"prev":{"headline":"Buffer Overflow in Google Earth Pro","id":"CVE-2020-8896"},"products":["AWS SDK"],"published":"2020-11-16","related":[{"cvss_score":5.3,"headline":"AWS Encryption SDK for Java Improper Verification of Cryptographic Signature","id":"CVE-2024-23680","kev_date_added":null,"published":"2024-01-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Amazon"]},"summary":"Attackers can craft ciphertexts that decrypt to multiple results due to non-committing AEAD ciphers, impacting data integrity in multi-recipient scenarios.","url":"https://insights.sbomify.com/CVE-2020-8897/"}