blob: 4947aead2d897d4c344a35f202eaa473fa443446 [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-0391",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-07-01T20:10:56Z",
"aliases": [
"CVE-2022-2582",
"GHSA-6jvc-q2x7-pchv",
"GHSA-76wf-9vgp-pj7w"
],
"summary": "Exposure of unencrypted plaintext hash in github.com/aws/aws-sdk-go",
"details": "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.\n\nAWS now blocks this metadata field, but older SDK versions still send it.",
"affected": [
{
"package": {
"name": "github.com/aws/aws-sdk-go",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.34.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "github.com/aws/aws-sdk-go/service/s3/s3crypto",
"symbols": [
"DecryptionClient.GetObject",
"DecryptionClient.GetObjectWithContext",
"EncryptionClient.PutObject",
"EncryptionClient.PutObjectWithContext",
"S3LoadStrategy.Load",
"S3SaveStrategy.Save",
"defaultV2LoadStrategy.Load",
"encodeMeta",
"kmsKeyHandler.DecryptKey",
"kmsKeyHandler.DecryptKeyWithContext",
"kmsKeyHandler.GenerateCipherData",
"kmsKeyHandler.GenerateCipherDataWithContext"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://github.com/aws/aws-sdk-go/commit/35fa6ddf45c061e0f08d3a3b5119f8f4da38f6d1"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0391",
"review_status": "REVIEWED"
}
}