# CBC padding oracle issue in AWS S3 Crypto SDK for golang

Advisory record · `GHSA-f5pg-7wfw-84q9`

- **Identifiers:** `GHSA-f5pg-7wfw-84q9` · `CVE-2020-8911` · `GO-2022-0646`
- **State:** Confirmed
- **Severity:** CVSS 5.6 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-327](https://cwe.mitre.org/data/definitions/327.html)
- **Tags:** [Weak cryptography or TLS](https://agentprime.io/advisories/tag/weak-crypto.md)
- **Published:** 11 Feb 2022
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 11 Feb 2022, 23:26 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/aws/aws-sdk-go` (Go): affected `<1.34.0`; fixed in `1.34.0`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The github.com/aws/aws-sdk-go package versions before 1.34.0 are vulnerable to a padding oracle issue in its S3 crypto client, which allows files encrypted with AES-CBC to be exposed. An attacker with write access to the S3 bucket who can observe whether an endpoint with the key can decrypt a file may be able to recover plaintext and forge messages. Upgrade to version 1.34.0 or later, noting that files already encrypted with CBC remain vulnerable until they are re-encrypted with AES-GCM.

Written 6 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 5.6 Medium, CVSS 3.1: `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`, from CNA (Google)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0035, the 28th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:45 UTC: First seen by agentprime
- 31 Oct 2026, 14:45 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-f5pg-7wfw-84q9)

## Sources

- [GitHub Advisory Database: GHSA-f5pg-7wfw-84q9](https://github.com/advisories/GHSA-f5pg-7wfw-84q9)
- [OSV: GHSA-f5pg-7wfw-84q9](https://osv.dev/vulnerability/GHSA-f5pg-7wfw-84q9)
- <https://github.com/google/security-research/security/advisories/GHSA-f5pg-7wfw-84q9>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-8911>
- <https://github.com/aws/aws-sdk-go/pull/3403>
- <https://github.com/aws/aws-sdk-go/commit/1e84382fa1c0086362b5a4b68e068d4f8518d40e>
- <https://github.com/aws/aws-sdk-go/commit/ae9b9fd92af132cfd8d879809d8611825ba135f4>
- <https://aws.amazon.com/blogs/developer/updates-to-the-amazon-s3-encryption-client/?s=09>
- <https://bugzilla.redhat.com/show_bug.cgi?id=1869800>
- <https://github.com/aws/aws-sdk-go>
- <https://github.com/sophieschmieg/exploits/tree/master/aws_s3_crypto_poc>
- <https://pkg.go.dev/vuln/GO-2022-0646>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-f5pg-7wfw-84q9>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-f5pg-7wfw-84q9/>. Everything for agents: <https://agentprime.io/llms.txt>.
