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

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 47% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-11T23:26:12.000Z
- Modified: 2026-09-10T03:49:56.186Z
- Also known as: GHSA-6jvc-q2x7-pchv, GHSA-76wf-9vgp-pj7w, GO-2022-0391
- Related: CGA-4c73-hw8q-28pg
- Weaknesses: CWE-326
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- github.com/aws/aws-sdk-go/service/s3/s3crypto: before 1.34.0
- github.com/aws/aws-sdk-go (Go): before 1.34.0
- amazon aws_software_development_kit: before 1.34.0

## Every score

- CISA-ADP: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: rating Medium
- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://pkg.go.dev/vuln/GO-2022-0391> (exploit, patch, third-party-advisory, web)
- <https://github.com/aws/aws-sdk-go/commit/35fa6ddf45c061e0f08d3a3b5119f8f4da38f6d1> (fix, patch, third-party-advisory, web)
- <https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2582> (advisory)
- <https://github.com/aws/aws-sdk-go> (package)

## Sources

- CVE List: [CVE-2022-2582](https://www.cve.org/CVERecord?id=CVE-2022-2582), CVE Terms of Use, modified 2025-04-11
- GitHub Advisory Database: [GHSA-6jvc-q2x7-pchv](https://github.com/advisories/GHSA-6jvc-q2x7-pchv), CC-BY-4.0, modified 2026-09-10
- GitHub Advisory Database: [GHSA-76wf-9vgp-pj7w](https://github.com/advisories/GHSA-76wf-9vgp-pj7w), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0391](https://pkg.go.dev/vuln/GO-2022-0391), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2022-2582](https://nvd.nist.gov/vuln/detail/CVE-2022-2582), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2582 · Whole record: https://cve.day/CVE-2022-2582.json · Rebuilt by cve.day 2026-11-25T22:58:17.902Z
