blob: 352e87d0f5f44966e553e92e35eae6560122b10d [file] [log] [blame]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2022-2582"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "Exposure of unencrypted plaintext hash in github.com/aws/aws-sdk-go",
"descriptions": [
{
"lang": "en",
"value": "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": [
{
"vendor": "github.com/aws/aws-sdk-go",
"product": "github.com/aws/aws-sdk-go/service/s3/s3crypto",
"collectionURL": "https://pkg.go.dev",
"packageName": "github.com/aws/aws-sdk-go/service/s3/s3crypto",
"versions": [
{
"version": "0",
"lessThan": "1.34.0",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "encodeMeta"
},
{
"name": "DecryptionClient.GetObject"
},
{
"name": "DecryptionClient.GetObjectWithContext"
},
{
"name": "EncryptionClient.PutObject"
},
{
"name": "EncryptionClient.PutObjectWithContext"
},
{
"name": "S3LoadStrategy.Load"
},
{
"name": "S3SaveStrategy.Save"
},
{
"name": "defaultV2LoadStrategy.Load"
},
{
"name": "kmsKeyHandler.DecryptKey"
},
{
"name": "kmsKeyHandler.DecryptKeyWithContext"
},
{
"name": "kmsKeyHandler.GenerateCipherData"
},
{
"name": "kmsKeyHandler.GenerateCipherDataWithContext"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE 311: Missing Encryption of Sensitive Data"
}
]
}
],
"references": [
{
"url": "https://github.com/aws/aws-sdk-go/commit/35fa6ddf45c061e0f08d3a3b5119f8f4da38f6d1"
},
{
"url": "https://pkg.go.dev/vuln/GO-2022-0391"
}
]
}
}
}