Skip to content
OpenAdvisories
Medium · 4.3 CVE-2022-2582 EUVD-2022-7534GHSA-6jvc-q2x7-pchvGHSA-76wf-9vgp-pj7wGO-2022-0391

Exposure of unencrypted plaintext hash in github.com/aws/aws-sdk-go

Published Dec 27, 2022 · Updated Apr 11, 2025 · Assigned by Go

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Wolfi rolling k3d +2 5.6.0-r11 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/aws/aws-sdk-go < 1.34.0 1.34.0 GHSA-6jvc-q2x7-pchv

References