medium4.3
CVE-2022-2582
AWS S3 Crypto SDK sends an unencrypted hash of the plaintext alongside the ciphertext as a metadata field
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/aws/aws-sdk-go | < 1.34.0 | 1.34.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Amazon | Aws Software Development Kit | before 1.34.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/aws/aws-sdk-go/commit/35fa6ddf45c061e0f08d3a3b5119f8f4da38f6d1
- https://pkg.go.dev/vuln/GO-2022-0391
- https://github.com/advisories/GHSA-6jvc-q2x7-pchv
- https://nvd.nist.gov/vuln/detail/CVE-2022-2582
- https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w