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
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
- https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w web
- https://nvd.nist.gov/vuln/detail/CVE-2022-2582 advisory
- https://github.com/aws/aws-sdk-go/commit/35fa6ddf45c061e0f08d3a3b5119f8f4da38f6d1 web
- https://github.com/aws/aws-sdk-go package
- https://pkg.go.dev/vuln/GO-2022-0391 web