GO-2022-0635

Source
https://pkg.go.dev/vuln/GO-2022-0635
Import Source
https://vuln.go.dev/ID/GO-2022-0635.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2022-0635
Aliases
Published
2024-12-12T22:00:07Z
Modified
2024-12-13T16:27:23.663528Z
Summary
In-band key negotiation issue in AWS S3 Crypto SDK for golang in github.com/aws/aws-sdk-go
Details

A vulnerability in the in-band key negotiation exists in the AWS S3 Crypto SDK for GoLang versions prior to V2. An attacker with write access to the targeted bucket can change the encryption algorithm of an object in the bucket, which can then allow them to change AES-GCM to AES-CTR. Using this in combination with a decryption oracle can reveal the authentication key used by AES-GCM as decrypting the GMAC tag leaves the authentication key recoverable as an algebraic equation. It is recommended to update your SDK to V2 or later, and re-encrypt your files.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2022-0635"
}
References
Credits
    • Sophie Schmieg from the Google ISE team

Affected packages

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

Package

Name
github.com/aws/aws-sdk-go
View open source insights on deps.dev
Purl
pkg:golang/github.com/aws/aws-sdk-go

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Ecosystem specific

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