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.
:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.
CVE-2022-2582 - Medium Severity Vulnerability
Vulnerable Library - github.com/aws/aws-sdk-go-v1.16.36
AWS SDK for the Go programming language.
Library home page: https://proxy.golang.org/github.com/aws/aws-sdk-go/@v/v1.16.36.zip
Dependency Hierarchy: - github.com/hashicorp/terraform-v0.12.0-beta2 (Root Library) - github.com/hashicorp/go-getter-v1.1.0 - :x: **github.com/aws/aws-sdk-go-v1.16.36** (Vulnerable Library)
Found in HEAD commit: f7fe51cfc9cb28df7c91cd678cb98694031e1c0a
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2022-12-27
URL: CVE-2022-2582
CVSS 3 Score Details (4.3)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: None - Availability Impact: None
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://pkg.go.dev/vuln/GO-2022-0391
Release Date: 2022-12-27
Fix Resolution: v1.33.0