# CVE-2020-8911: CBC padding oracle in AWS S3 Crypto SDK for GoLang

- Severity: Medium 5.6 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/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.35%, higher than 30% 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:12.054Z
- Also known as: GHSA-f5pg-7wfw-84q9, GO-2022-0646
- Related: CGA-wp54-c6q6-q47j
- Weaknesses: CWE-327
- Assigned by: Google

## Description

A padding oracle vulnerability exists in the AWS S3 Crypto SDK for GoLang versions prior to V2. The SDK allows users to encrypt files with AES-CBC without computing a Message Authentication Code (MAC), which then allows an attacker who has write access to the target's S3 bucket and can observe whether or not an endpoint with access to the key can decrypt a file, they can reconstruct the plaintext with (on average) 128*length (plaintext) queries to the endpoint, by exploiting CBC's ability to manipulate the bytes of the next block and PKCS5 padding errors. 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 5.6 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/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-f5pg-7wfw-84q9> (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-8911> (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=1869800> (web)
- <https://github.com/aws/aws-sdk-go> (package)
- <https://pkg.go.dev/vuln/GO-2022-0646> (web)

## Sources

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

---

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