Bug 1869800 (CVE-2020-8911) - CVE-2020-8911 aws/aws-sdk-go: CBC padding oracle issue in AWS S3 Crypto SDK for golang
Summary: CVE-2020-8911 aws/aws-sdk-go: CBC padding oracle issue in AWS S3 Crypto SDK f...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-8911
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1870497 1872516
Blocks: 1869804
TreeView+ depends on / blocked
 
Reported: 2020-08-18 16:56 UTC by Michael Kaplan
Modified: 2021-10-14 08:08 UTC (History)
67 users (show)

Fixed In Version: github.com/aws/aws-sdk-go v1.34.0
Clone Of:
Environment:
Last Closed: 2021-10-14 08:08:18 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:3851 0 None None None 2021-10-14 07:55:20 UTC

Description Michael Kaplan 2020-08-18 16:56:39 UTC
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.

Reference:

https://aws.amazon.com/blogs/developer/updates-to-the-amazon-s3-encryption-client/?s=09
https://github.com/google/security-research/security/advisories/GHSA-f5pg-7wfw-84q9

Comment 8 Jason Shepherd 2020-09-03 04:42:18 UTC
On closer inspection it appears that the service/s3/s3crypto subpath of the aws/aws-sdk-go package is not used in any CAM containers making them unaffected.

Comment 10 Sam Fowler 2020-09-03 06:02:45 UTC
Latest related upstream fix is in version 1.34.0:

https://github.com/aws/aws-sdk-go/commit/12ff57a16373dda5a0c22eafdf0fa1c4c224f7c4

Comment 14 Przemyslaw Roguski 2020-09-08 11:32:36 UTC
Statement:

The following products include components that use the AWS SDK (aws/aws-sdk-go), however they do not include code that encrypts or decrypts files in S3 buckets (aws/aws-sdk-go/service/s3/s3crypto). The below products are not affected by this flaw:
* Red Hat Cluster Application Migration
* Red Hat OpenShift Container Platform
* Red Hat OpenShift ServiceMesh
* Red Hat OpenShift Container Storage
* Red Hat Ceph Storage
* Red Hat Gluster Storage

Comment 30 errata-xmlrpc 2021-10-14 07:55:15 UTC
This issue has been addressed in the following products:

  3scale API Management

Via RHSA-2021:3851 https://access.redhat.com/errata/RHSA-2021:3851

Comment 31 Product Security DevOps Team 2021-10-14 08:08:18 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-8911


Note You need to log in before you can comment on or make changes to this bug.