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

EcosystemPackageFixed inAdvisory
Debian:12golang-github-aws-aws-sdk-go1.34.22-1DEBIAN-CVE-2022-2582
Debian:13golang-github-aws-aws-sdk-go1.34.22-1DEBIAN-CVE-2022-2582
Debian:14golang-github-aws-aws-sdk-go1.34.22-1DEBIAN-CVE-2022-2582
Gogithub.com/aws/aws-sdk-go1.34.0GHSA-6jvc-q2x7-pchv
Gogithub.com/aws/aws-sdk-go1.34.0GHSA-76wf-9vgp-pj7w
Gogithub.com/aws/aws-sdk-go1.34.0GO-2022-0391

Affected products (as reported)

References