CVE-2020-8911
MEDIUMAWS S3 Crypto SDK for GoLang < 2.0 - Padding Oracle Attack via AES-CBC Without MAC
Title source: llmDescription
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.
References (2)
Core 2
Core References
Vendor Advisory x_refsource_confirm
https://aws.amazon.com/blogs/developer/updates-to-the-amazon-s3-encryption-client/?s=09
Exploit, Third Party Advisory x_refsource_confirm
https://github.com/google/security-research/security/advisories/GHSA-f5pg-7wfw-84q9
Scores
CVSS v3
5.6
EPSS
0.0020
EPSS Percentile
42.2%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
Details
CWE
CWE-327
Status
published
Products (2)
amazon/aws_s3_crypto_sdk
< 2.0
aws/aws-sdk-go
0 - 1.34.0Go
Published
Aug 11, 2020
Tracked Since
Feb 18, 2026