CVE-2020-8912
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.
How to fix
- amazon aws_s3_crypto_sdk2.0 or later
- github.com/aws/aws-sdk-go1.34.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| amazon aws_s3_crypto_sdk | v < 2.0 | 2.0 |
| github.com/aws/aws-sdk-goGo | v < 1.34.0, No range specified | 1.34.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.