aws/aws-sdk-go · Security
AWS S3 Crypto SDK sends an unencrypted hash of the plaintext alongside the ciphertext as a metadata field
- GHSA ID
- GHSA-6jvc-q2x7-pchv
- CVE ID
- CVE-2022-2582
- Severity
- medium
- Published
- Updated
- CVSS
- 4.3 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CVSS v3
- 4.3 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
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.
CWEs
- CWE-326 · Inadequate Encryption Strength
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-2582 ↗
- https://github.com/aws/aws-sdk-go/commit/35fa6ddf45c061e0f08d3a3b5119f8f4da38f6d1 ↗
- https://pkg.go.dev/vuln/GO-2022-0391 ↗
- https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w ↗
- https://github.com/advisories/GHSA-6jvc-q2x7-pchv ↗