Advisory

GO-2022-0391

Also known as: CVE-2022-2582, GHSA-6jvc-q2x7-pchv, GHSA-76wf-9vgp-pj7w

Summary

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.

Severity

Not rated by the source.

Dates

Published
2022-07-01 20:10 UTC
Modified
2026-02-04 03:52 UTC

Affected packages and fixes

github.com/aws/aws-sdk-go

Go · All systems

Affected

  • introduced 0, fixed 1.34.0 (semver)

Fixed versions

1.34.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences