# CVE-2022-2582: GO-2022-0391 - Exposure of unencrypted plaintext hash in github.com/aws/aws-sdk-go

Source: https://junglewise.ai/threats/cve-2022-2582-aws-s3-crypto-sdk-sends-an-unencrypted-hash-of-the-plaintext  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-07-01  
License: CC BY 4.0 with a link back

CVE-2022-2582 · Severity: low · CVSS 3.1 · Published 2022-07-01

Exposure of unencrypted plaintext hash in github.com/aws/aws-sdk-go

Technologies: [github.com/aws/aws-sdk-go (Go)](https://junglewise.ai/threats/technologies/github-com-aws-aws-sdk-go). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2022-2582 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-2582 being exploited in the wild.

**How severe is CVE-2022-2582?** Low severity, with a CVSS score of 3.1, published 1 July 2022.

**Which products and versions are affected?** github.com/aws/aws-sdk-go (Go) SEMVER:introduced=0,fixed=1.34.0.

**Is there a fix for CVE-2022-2582?** Yes. github.com/aws/aws-sdk-go (Go): upgrade to 1.34.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-2582?** Check whether you run github.com/aws/aws-sdk-go (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/aws/aws-sdk-go (Go): upgrade to 1.34.0 or later

  ```sh
  go get github.com/aws/aws-sdk-go@v1.34.0
  ```


## Affected products

- github.com/aws/aws-sdk-go (Go) SEMVER:introduced=0,fixed=1.34.0

## Identifiers

- CVE-2022-2582
- GHSA-6jvc-q2x7-pchv
- GHSA-76wf-9vgp-pj7w
- GO-2022-0391

## Related threats

- [GO-2022-0635 - In-band key negotiation issue in AWS S3 Crypto SDK for golang in github.com/aws/aws-sdk-go](https://junglewise.ai/threats/cve-2020-8912-in-band-key-negotiation-issue-in-aws-s3-crypto-sdk-for-golang)
- [GO-2022-0646 - CBC padding oracle issue in AWS S3 Crypto SDK for golang in github.com/aws/aws-sdk-go](https://junglewise.ai/threats/cve-2020-8911-cbc-padding-oracle-issue-in-aws-s3-crypto-sdk-for-golang)
