# CVE-2022-2582: Exposure of unencrypted plaintext hash in github.com/aws/aws-sdk-go

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-12-27 · Modified: 2025-04-11
- Aliases: UBUNTU-CVE-2022-2582, DEBIAN-CVE-2022-2582, CGA-7jvv-jvp8-67fp, CGA-82vc-g3q9-73qg, CGA-8qp7-mrf2-mf54, CGA-9ph2-qq9q-mq93, CGA-mch7-f4ff-rhgc, CGA-wppq-37qg-638p, GHSA-6jvc-q2x7-pchv, GHSA-76wf-9vgp-pj7w, GO-2022-0391, CGA-292x-9c7m-9qhv, CGA-5f5j-7v7q-p745, CGA-gq3g-vx49-f8jg, CGA-jxp3-p578-2wrq
- Record: https://cvemate.com/vulnerability/CVE-2022-2582 · JSON: https://cvemate.com/vulnerability/CVE-2022-2582/json

## Description

```text
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.
```

## Signals

- CVSS: 4.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.543%, percentile 47.095%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- amazon aws\_software\_development\_kit: \< 1.34.0
- chainguard k3d (Chainguard): \< 5.6.0-r11
- chainguard k3d-proxy (Chainguard): \< 5.6.0-r11
- chainguard k3d-tools (Chainguard): \< 5.6.0-r11
- chainguard kubevirt-cdi-uploadserver-1.5 (Chainguard): All versions (No fix recorded)
- chainguard kubevirt-cdi-uploadserver-fips-1.5 (Chainguard): All versions (No fix recorded)
- wolfi k3d (Wolfi): \< 5.6.0-r11
- wolfi k3d-proxy (Wolfi): \< 5.6.0-r11
- wolfi k3d-tools (Wolfi): \< 5.6.0-r11
- debian golang-github-aws-aws-sdk-go (Debian): \< 1.34.22-1
- ubuntu golang-github-aws-aws-sdk-go (Ubuntu): All versions (No fix recorded)
- github.com/aws/aws-sdk-go github.com/aws/aws-sdk-go/service/s3/s3crypto: \< 1.34.0
- github.com/aws aws-sdk-go (Go): \< 1.34.0

## References

- <https://github.com/aws/aws-sdk-go/commit/35fa6ddf45c061e0f08d3a3b5119f8f4da38f6d1>
- <https://pkg.go.dev/vuln/GO-2022-0391>
- <https://ubuntu.com/security/CVE-2022-2582>
- <https://www.cve.org/CVERecord?id=CVE-2022-2582>
- <https://security-tracker.debian.org/tracker/CVE-2022-2582>
- <https://pkg.go.dev>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2582.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2582>
- <https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w>
- <https://github.com/aws/aws-sdk-go>

---

Data as of 2026-12-05T06:32:28.819Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
