Skip to main content
← All vulnerabilities
CVE-2020-8911GHSA-F5PG-7WFW-84Q9GO-2022-0646

CBC padding oracle in AWS S3 Crypto SDK for GoLang

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.34.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Google LLC AWS S3 Crypto SDK for GoLang

    From stable · through V1

  • github.com/aws/aws-sdk-goGo

    fixed in 1.34.0

  • github.com/aws/aws-sdk-goGo

    All versions

References 2

aws.amazon.com

GitHub · google/security-research