blob: 1a755ee12b38cbedf91ac6e06ced46756422587c [file] [log] [blame]
{
"id": "GO-2022-0391",
"published": "2022-07-01T20:10:56Z",
"modified": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-2582",
"GHSA-76wf-9vgp-pj7w"
],
"details": "The AWS S3 Crypto SDK sends an unencrypted hash of the plaintext alongside\nthe ciphertext as a metadata field. This hash can be used to brute force\nthe plaintext, if the hash is readable to the attacker.\n\nAWS now blocks this metadata field, but older SDK versions still send it.\n",
"affected": [
{
"package": {
"name": "github.com/aws/aws-sdk-go",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.34.0"
}
]
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0391"
},
"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"
}
]
}