2022-10-20 22:14:42 +03:00
{
"dataType" : "CVE_RECORD" ,
"dataVersion" : "5.0" ,
"cveMetadata" : {
"cveId" : "CVE-2022-2582"
} ,
"containers" : {
"cna" : {
"providerMetadata" : {
"orgId" : "1bb62c36-49e3-4200-9d77-64a1400537cc"
} ,
"descriptions" : [
{
"lang" : "en" ,
2022-10-28 21:55:55 +03:00
"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."
2022-10-20 22:14:42 +03:00
}
] ,
"affected" : [
{
2022-10-28 21:55:55 +03:00
"vendor" : "github.com/aws/aws-sdk-go" ,
"product" : "github.com/aws/aws-sdk-go/service/s3/s3crypto" ,
2022-10-20 22:14:42 +03:00
"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"
2022-10-22 00:30:19 +03:00
} ,
{
"url" : "https://pkg.go.dev/vuln/GO-2022-0391"
2022-10-20 22:14:42 +03:00
}
]
}
}
}