CVE-2022-2582 json
Exposure of unencrypted plaintext hash in github.com/aws/aws-sdk-go
published 4y ago modified last mo. also GHSA-6jvc-q2x7-pchv , GHSA-76wf-9vgp-pj7w , GO-2022-0391 , EUVD-2022-7534
- cvss
- 4.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 44%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/aws/aws-sdk-go 1.34.0
- github.com/aws/aws-sdk-go github.com/aws/aws-sdk-go/service/s3/s3crypto 1.34.0
- golang-github-aws-aws-sdk-go Debian 14, Debian 13, Debian 12 1.34.22-1
debian advisories DEBIAN-CVE-2022-2582
- github.com/aws/aws-sdk-go@35fa6dd commit
- pkg.go.dev/vuln/GO-2022-0391 advisory
Is CVE-2022-2582 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-2582 updated
aws-sdk-go: Unencrypted md5 plaintext hash in metadata in AWS S3 Crypto SDK for golang
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 44% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- pkg.go.dev https://pkg.go.dev/vuln/GO-2022-0391 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| CNA | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/aws/aws-sdk-go | <1.34.0 |
1.34.0 |
Affected products
- github.com/aws/aws-sdk-go github.com/aws/aws-sdk-go/service/s3/s3crypto
Classification
- Weakness
-
- CWE-326 Inadequate Encryption Strength
References
-
github.com
/aws/aws-sdk-go/commit/35fa6ddf45c061e0f08d3a3b5119f8f4da38f6d1
web, patch, third-party-advisory
-
pkg.go.dev
/vuln/GO-2022-0391
web, exploit, patch, third-party-advisory
-
github.com
/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-2582
advisory
-
github.com
/aws/aws-sdk-go
package
Sources
- CVE List CVE-2022-2582
- GitHub Advisory GHSA-6jvc-q2x7-pchv
- GitHub Advisory GHSA-76wf-9vgp-pj7w
- NVD CVE-2022-2582
- OSV GO-2022-0391
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.