VDB
Sign up
MEDIUM4.3

GHSA-6jvc-q2x7-pchv

AWS S3 Crypto SDK sends an unencrypted hash of the plaintext alongside the ciphertext as a metadata field

Quick fix

GHSA-6jvc-q2x7-pchv — github.com/aws/aws-sdk-go: upgrade to the fixed version with the command below.

go get github.com/aws/aws-sdk-go@v1.34.0

Details

The AWS S3 Crypto SDK sends an unencrypted hash of the plaintext alongside the ciphertext as a metadata field. This hash can be used to brute force the plaintext, if the hash is readable to the attacker. AWS now blocks this metadata field, but older SDK versions still send it.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/aws/aws-sdk-go
Introduced in: 0Fixed in: 1.34.0
Fixgo get github.com/aws/aws-sdk-go@v1.34.0

References