Live threats

All CVEs / Amazon

CVE-2020-8911Amazon Aws S3 Crypto Sdk

Medium 5.6

Priority
34
CVSS 3.1
5.6
EPSS
0.3%
probability of exploitation in 30 days · percentile 30
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:C/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Aws S3 Crypto Sdk.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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-f5pg-7wfw-84q9, GO-2022-0646). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
amazonaws_s3_crypto_sdk< 2.0

Official sources

References

Links published by the sources. Open them with care.