CVE-2020-8911

CBC padding oracle in AWS S3 Crypto SDK for GoLang

State
Published
Severity
5.6 Medium
Published
Aug 11, 2020
Updated
Aug 4, 2024
Reserved
Feb 12, 2020

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.6 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:NGoogle

Weaknesses

  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm

Affected Products

ProductVersions
AWS S3 Crypto SDK for GoLangGoogle LLC
  • stable through V1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.