CVE-2020-8912Amazon Aws S3 Crypto Sdk
Low 2.5
Follow: this CVE · Amazon · Amazon Aws S3 Crypto Sdk We alert you by email or Slack (account required).
- Priority
- 15
- CVSS 3.1
- 2.5
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 15
- Auth required
- Yes
- Published
- Aug 11, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-327
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Aws S3 Crypto Sdk.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/aws/aws-sdk-go |
< 1.34.0 |
1.34.0 |
go get github.com/aws/aws-sdk-go@v1.34.0 |
| Go | github.com/aws/aws-sdk-go |
all |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-7f33-f4f5-xwgw, GO-2022-0635). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| amazon | aws_s3_crypto_sdk | < 2.0 |
Official sources
References
Links published by the sources. Open them with care.
- aws.amazon.com Vendor Advisory
- github.com Exploit Third Party Advisory