GitHub Advisoryadvisory · Go

GHSA-6jvc-q2x7-pchv AWS S3 Crypto SDK sends an unencrypted hash of the plaintext alongside the ciphertext as a metadata field

MEDIUM Published 2022-12-28 Modified 2026-02-03 Official page ↗
Aliases
CVE-2022-2582
Ecosystem
Go
Packages
github.com/aws/aws-sdk-go
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-326
Reviewed
2022-12-30

Affected packages

• Go github.com/aws/aws-sdk-go: < 1.34.0 → fixed in 1.34.0

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.

Related

Alias · CVE (1)

  • CVE-2022-2582 The AWS S3 Crypto SDK sends an unencrypted hash of the plaintext alongside the ciphertext as a metadata field. vulnerability

Weakness · CWE (1)

  • CWE-326 Inadequate Encryption Strength weakness

References