Vulnerabilities · 2020 · Amazon
CVE-2020-8912
Amazon Aws S3 Crypto Sdk vulnerability
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
Aws S3 Crypto Sdk. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Amazon Aws S3 Crypto Sdk runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- aws.amazon.com/blogs/developer/updates-to-the-amazon-s3-encryption-client/?s=09 · Vendor Advisory
- github.com/google/security-research/security/advisories/GHSA-7f33-f4f5-xwgw · Exploit
- nvd.nist.gov/vuln/detail/CVE-2020-8912
- github.com/aws/aws-sdk-go/pull/3403
- github.com/aws/aws-sdk-go/commit/1e84382fa1c0086362b5a4b68e068d4f8518d40e
- github.com/aws/aws-sdk-go/commit/ae9b9fd92af132cfd8d879809d8611825ba135f4
- bugzilla.redhat.com/show_bug.cgi?id=1869801
- github.com/sophieschmieg/exploits/tree/master/aws_s3_crypto_poc
- nvd.nist.gov/vuln/detail/CVE-2020-8912
- cve.org/CVERecord?id=CVE-2020-8912
More vulnerabilities in Amazon products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.