CVE-2022-2582
MEDIUM 4.3CVSS 3.1AWS S3 Crypto SDK sends an unencrypted hash of the plaintext alongside the ciphertext as a metadata field
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.
- Published
- 27 Dec 2022
- Last modified
- 10 Sep 2026
- Assigned by
- security@golang.org
- NVD status
- Modified
- Weakness
- CWE-326
- Also known as
- GHSA-6jvc-q2x7-pchvGHSA-76wf-9vgp-pj7wGO-2022-0391
- Sources
- NVDJSONOSV GHSA-6jvc-q2x7-pchvJSONOSV GHSA-76wf-9vgp-pj7wJSONOSV GO-2022-0391JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | amazon | aws_software_development_kitcpe:2.3:a:amazon:aws_software_development_kit:*:*:*:*:*:go:*:* |
< 1.34.0 | 1.34.0 |
| OSV | Go | github.com/aws/aws-sdk-go | < 1.34.0 | 1.34.0 |
References
- https://github.com/aws/aws-sdk-go/commit/35fa6ddf45c061e0f08d3a3b5119f8f4da38f6d1 · Patch, Third Party Advisory, WEB, FIX
- https://pkg.go.dev/vuln/GO-2022-0391 · Exploit, 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
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 27 Dec 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 Dec 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 11 Feb 2022)