Vulnerability · Published Dec 27, 2022 · Assigned by Go
CVE-2022-2582Exposure of unencrypted plaintext hash in github.com/aws/aws-sdk-go
Medium 4.3
In plain English
A medium-severity security flaw in github.com/aws/aws-sdk-go/service/s3/s3crypto from github.com/aws/aws-sdk-go. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 44% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.5%top 56.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-aws-aws-sdk-go | 1.34.22-1 | DEBIAN-CVE-2022-2582 |
| Debian:13 | golang-github-aws-aws-sdk-go | 1.34.22-1 | DEBIAN-CVE-2022-2582 |
| Debian:14 | golang-github-aws-aws-sdk-go | 1.34.22-1 | DEBIAN-CVE-2022-2582 |
| Go | github.com/aws/aws-sdk-go | 1.34.0 | GHSA-6jvc-q2x7-pchv |
| Go | github.com/aws/aws-sdk-go | 1.34.0 | GHSA-76wf-9vgp-pj7w |
| Go | github.com/aws/aws-sdk-go | 1.34.0 | GO-2022-0391 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| github.com/aws/aws-sdk-go | github.com/aws/aws-sdk-go/service/s3/s3crypto | 0 – before 1.34.0 |