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.
CVE-2022-2582 - Medium Severity Vulnerability
Vulnerable Library - github.com/aws/aws-Sdk-go-v1.28.6
AWS SDK for the Go programming language.
Library home page: https://proxy.golang.org/github.com/aws/aws-sdk-go/@v/v1.28.6.zip
Path to dependency file: /go.mod
Path to vulnerable library: /go/pkg/mod/cache/download/github.com/aws/aws-sdk-go/@v/v1.28.6.mod
Dependency Hierarchy: - contrib.go.opencensus.io/exporter/stackdriver-v0.12.9 (Root Library) - :x: **github.com/aws/aws-Sdk-go-v1.28.6** (Vulnerable Library)
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