GO-2022-0646

Source
https://storage.googleapis.com/go-vulndb/ID/GO-2022-0646.json
Aliases
Published
2022-02-11T23:26:26Z
Modified
2022-09-23T18:53:37Z
Details

The Go AWS S3 Crypto SDK contains vulnerabilities that can permit an attacker with write access to a bucket to decrypt files in that bucket.

Files encrypted by the V1 EncryptionClient using either the AES-CBC content cipher or the KMS key wrap algorithm are vulnerable. Users should migrate to the V1 EncryptionClientV2 API, which will not create vulnerable files. Old files will remain vulnerable until reencrypted with the new client.

References

Affected packages

Go / github.com/aws/aws-sdk-go

github.com/aws/aws-sdk-go

Affected ranges

Type
SEMVER
Events
Introduced
0

Affected versions

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/aws/aws-sdk-go/service/s3/s3crypto",
            "symbols": [
                "NewDecryptionClient",
                "NewEncryptionClient"
            ]
        }
    ]
}

Database specific

{
    "url": "https://pkg.go.dev/vuln/GO-2022-0646"
}