{"id":"CVE-2020-8912","published":"2020-08-11T19:20:14Z","modified":"2024-08-04T10:12:10Z","title":"In-band key negotiation issue in AWS S3 Crypto SDK for GoLang","vendor":"Google","product":"AWS S3 Crypto SDK for GoLang","tier":"tail","description":{"text":"A vulnerability in the in-band key negotiation exists in the AWS S3 Crypto SDK for GoLang versions prior to V2. An attacker with write access to the targeted bucket can change the encryption algorithm of an object in the bucket, which can then allow them to change AES-GCM to AES-CTR. Using this in combination with a decryption oracle can reveal the authentication key used by AES-GCM as decrypting the GMAC tag leaves the authentication key recoverable as an algebraic equation. It is recommended to update your SDK to V2 or later, and re-encrypt your files.","provenance":"source","from":"CVE.org"},"cvss":{"score":2.5,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00231,"percentile":0.14263,"provenance":"source"},"cwes":[{"id":"CWE-327","name":"Use of a Broken or Risky Cryptographic Algorithm"}],"references":[{"url":"https://aws.amazon.com/blogs/developer/updates-to-the-amazon-s3-encryption-client/?s=09","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/google/security-research/security/advisories/GHSA-7f33-f4f5-xwgw","tags":["x_refsource_CONFIRM"]}],"priority":{"score":9.6,"factors":[{"name":"EPSS percentile","points":2.85},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":1.75}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google LLC","product":"AWS S3 Crypto SDK for GoLang","versions":[">= stable, <= V1"]}],"affected":[{"ecosystem":"Go","package":"github.com/aws/aws-sdk-go","vulnerableRanges":["<1.34.0","all versions"],"patched":["1.34.0"],"from":["GHSA-7f33-f4f5-xwgw","GO-2022-0635"],"provenance":"source"}],"summary":{"text":"The flaw is an in-band key negotiation weakness in the AWS S3 Crypto SDK for GoLang, affecting versions prior to V2. An attacker with write access to the targeted bucket can switch an object's encryption algorithm from AES-GCM to AES-CTR, and when combined with a decryption oracle this can expose the AES-GCM authentication key; exploiting it requires local access, low privileges, and high attack complexity with no user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:10:14Z"},"euvd":{"id":"EUVD-2022-0887","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/sophieschmieg/exploits/tree/master/aws_s3_crypto_poc"],"lineage":{"familyId":"fam-google-aws-s3-crypto-sdk-for-golang-cve-2020-8911","children":[{"from":"CVE-2020-8912","to":"CVE-2022-2582","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["service/s3/s3crypto/aes_cbc_content_cipher.go","service/s3/s3crypto/aes_gcm_content_cipher.go","service/s3/s3crypto/cipher_util.go","service/s3/s3crypto/decryption_client.go","service/s3/s3crypto/decryption_client_v2.go"],"commits":["https://github.com/aws/aws-sdk-go/commit/1e84382fa1c0086362b5a4b68e068d4f8518d40e","https://github.com/aws/aws-sdk-go/commit/ae9b9fd92af132cfd8d879809d8611825ba135f4","https://github.com/aws/aws-sdk-go/commit/35fa6ddf45c061e0f08d3a3b5119f8f4da38f6d1"],"basis":"shared function","functions":["ContentCipherWithContext","GenerateCipherData","GetObject","NewDecryptionClient","NewEncryptionClient"]}]}]}}