Skip to content
Fencer Intel
medium 4.3

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

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 Fencer

Vendor 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 products
    not 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

Sources

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.