# CVE-2020-8912: In-band key negotiation issue in AWS S3 Crypto SDK for GoLang

- Severity: Low 2.5 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2020-08-11T19:20:14.000Z
- Modified: 2026-09-10T03:49:11.698Z
- Also known as: GHSA-7f33-f4f5-xwgw, GO-2022-0635
- Related: CGA-xrq5-p686-839h
- Weaknesses: CWE-327
- Assigned by: Google

## Description

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.

(As written by CVE List.)

## Affected

- Google LLC AWS S3 Crypto SDK for GoLang: from stable up to V1
- github.com/aws/aws-sdk-go (Go): before 1.34.0; all versions
- amazon aws_s3_crypto_sdk: before 2.0

## Every score

- Google: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/google/security-research/security/advisories/GHSA-7f33-f4f5-xwgw> (exploit, advisory, third-party-advisory, web)
- <https://github.com/sophieschmieg/exploits/tree/master/aws_s3_crypto_poc> (exploit, web)
- <https://aws.amazon.com/blogs/developer/updates-to-the-amazon-s3-encryption-client/?s=09> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8912> (advisory)
- <https://github.com/aws/aws-sdk-go/pull/3403> (fix, web)
- <https://github.com/aws/aws-sdk-go/commit/1e84382fa1c0086362b5a4b68e068d4f8518d40e> (fix, web)
- <https://github.com/aws/aws-sdk-go/commit/ae9b9fd92af132cfd8d879809d8611825ba135f4> (fix, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=1869801> (web)
- <https://github.com/aws/aws-sdk-go> (package)
- <https://pkg.go.dev/vuln/GO-2022-0646> (web)

## Sources

- CVE List: [CVE-2020-8912](https://www.cve.org/CVERecord?id=CVE-2020-8912), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-7f33-f4f5-xwgw](https://github.com/advisories/GHSA-7f33-f4f5-xwgw), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0635](https://pkg.go.dev/vuln/GO-2022-0635), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2020-8912](https://nvd.nist.gov/vuln/detail/CVE-2020-8912), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-8912 · Whole record: https://cve.day/CVE-2020-8912.json · Rebuilt by cve.day 2026-11-25T22:57:53.977Z
