CVE-2020-8912
LOW 2.5CVSS 3.1In-band key negotiation issue in AWS S3 Crypto SDK for golang
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.
- Published
- 11 Aug 2020
- Last modified
- 10 Sep 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Modified
- Weakness
- CWE-327
- Also known as
- GHSA-7f33-f4f5-xwgwGO-2022-0635
- Sources
- NVDJSONOSV GHSA-7f33-f4f5-xwgwJSONOSV GO-2022-0635JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve-coordination@google.com (Secondary) | CVSS 3.1 | LOW 2.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | LOW 2.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 2.5 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 2.1 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | amazon | aws_s3_crypto_sdkcpe:2.3:a:amazon:aws_s3_crypto_sdk:*:*:*:*:*:golang:*:* |
< 2.0 | 2.0 |
| OSV | Go | github.com/aws/aws-sdk-go | < 1.34.0 | 1.34.0 |
| OSV | Go | github.com/aws/aws-sdk-go | all versions |
References
- https://aws.amazon.com/blogs/developer/updates-to-the-amazon-s3-encryption-client/?s=09 · Vendor Advisory, WEB
- https://github.com/google/security-research/security/advisories/GHSA-7f33-f4f5-xwgw · Exploit, Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-8912 · ADVISORY
- https://github.com/aws/aws-sdk-go/pull/3403 · WEB, FIX
- https://github.com/aws/aws-sdk-go/commit/1e84382fa1c0086362b5a4b68e068d4f8518d40e · WEB, FIX
- https://github.com/aws/aws-sdk-go/commit/ae9b9fd92af132cfd8d879809d8611825ba135f4 · WEB, FIX
- https://bugzilla.redhat.com/show_bug.cgi?id=1869801 · WEB
- https://github.com/aws/aws-sdk-go · PACKAGE
- https://github.com/sophieschmieg/exploits/tree/master/aws_s3_crypto_poc · WEB
- https://pkg.go.dev/vuln/GO-2022-0646 · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 11 Aug 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 12 Dec 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Feb 2022)