Go Vulnerability Database
GO-2022-0391
Exposure of unencrypted plaintext hash in github.com/aws/aws-sdk-go
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/aws/aws-sdk-go | All versions before 1.34.0 (fixed in 1.34.0) |