CVE-2020-8911

Medium

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.

SeverityMedium
CVSS5.6
Exploit probability—
ProductAmazon Aws S3 Crypto Sdk
PublishedAug 11, 2020
First seenAug 11, 2020
Weakness typeCWE-327CWE-327

How to fix

Update
  • amazon aws_s3_crypto_sdk2.0 or later
  • github.com/aws/aws-sdk-go1.34.0 or later

Affected products

ProductAffected versionsFixed in
amazon aws_s3_crypto_sdkv < 2.02.0
github.com/aws/aws-sdk-goGov < 1.34.0, No range specified1.34.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.