blob: f4023757067b34b298923571b5891ddf4351960f [file] [log] [blame]
modules:
- module: github.com/aws/aws-sdk-go
versions:
- fixed: 1.34.0
vulnerable_at: 1.30.0
packages:
- package: github.com/aws/aws-sdk-go/service/s3/s3crypto
symbols:
- encodeMeta
derived_symbols:
- DecryptionClient.GetObject
- DecryptionClient.GetObjectWithContext
- EncryptionClient.PutObject
- EncryptionClient.PutObjectWithContext
- S3LoadStrategy.Load
- S3SaveStrategy.Save
- defaultV2LoadStrategy.Load
- kmsKeyHandler.DecryptKey
- kmsKeyHandler.DecryptKeyWithContext
- kmsKeyHandler.GenerateCipherData
- kmsKeyHandler.GenerateCipherDataWithContext
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.
published: 2022-07-01T20:10:56Z
ghsas:
- GHSA-76wf-9vgp-pj7w
- GHSA-6jvc-q2x7-pchv
references:
- fix: https://github.com/aws/aws-sdk-go/commit/35fa6ddf45c061e0f08d3a3b5119f8f4da38f6d1
cve_metadata:
id: CVE-2022-2582
cwe: 'CWE 311: Missing Encryption of Sensitive Data'