Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| github.com/aws/aws-sdk-go | github.com/aws/aws-sdk-go/service/s3/s3crypto | < 1.34.0 | 1.34.0 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | golang-github-aws-aws-sdk-go | 1.34.22-1 | — |
| Debian 13 | golang-github-aws-aws-sdk-go | 1.34.22-1 | — |
| Debian 12 | golang-github-aws-aws-sdk-go | 1.34.22-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | golang-github-aws-aws-sdk-go | No fix yet | — |
| Ubuntu 18.04 LTS | golang-github-aws-aws-sdk-go | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | k3d +2 | 5.6.0-r11 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/aws/aws-sdk-go | < 1.34.0 | 1.34.0 | GHSA-6jvc-q2x7-pchv |