Advisory

GHSA-6jvc-q2x7-pchv

Also known as: CVE-2022-2582, GHSA-76wf-9vgp-pj7w, GO-2022-0391

Summary

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

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-12-28 00:30 UTC
Modified
2026-09-10 03:49 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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences