Skip to content

CVE-2020-8912 In-band key negotiation issue in AWS S3 Crypto SDK for GoLang

LowCVSS 2.5 EPSS 0.23% PoC
Published
Updated
Exploit status
Proof-of-concept only
Technology
Cloud Platforms

Description

A vulnerability in the in-band key negotiation exists in the AWS S3 Crypto SDK for GoLang versions prior to V2. An attacker with write access to the targeted bucket can change the encryption algorithm of an object in the bucket, which can then allow them to change AES-GCM to AES-CTR. Using this in combination with a decryption oracle can reveal the authentication key used by AES-GCM as decrypting the GMAC tag leaves the authentication key recoverable as an algebraic equation. It is recommended to update your SDK to V2 or later, and re-encrypt your files.

Affected products

ProductAffected versionsFixed in
AWS github.com/aws/aws-sdk-go(Go) < 1.34.0 1.34.0
AWS github.com/aws/aws-sdk-go(Go) All versions No fix listed
Amazon aws s3 crypto sdk < 2.0 2.0
Google AWS S3 Crypto SDK for GoLang >= stable, <= V1 No fix listed

References