Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2020-8911 and CVE-2020-8912 #122

Open
chadmyers opened this issue Mar 14, 2023 · 2 comments
Open

CVE-2020-8911 and CVE-2020-8912 #122

chadmyers opened this issue Mar 14, 2023 · 2 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@chadmyers
Copy link

When I run trivy on this repo, it reports two vulnerabilities in the aws-sdk-go module. When I upgrade go.mod to point to the latest release of aws-sdk-go (1.44.221 at the time of this writing), I get the same two vulnerabilities:

Library Vulnerability Severity Installed Version Fixed Version Title
github.com/aws/aws-sdk-go CVE-2020-8911 MEDIUM 1.44.221 aws/aw-sdk-go: CBC padding oracle issue in AWS S3 Crypto (SDK for golang)
github.com/aws/aws-sdk-go CVE-2020-8912 LOW 1.44.221 aws-sdk-go: In-band key negotiation issue in AWS S3 Crypto (SDK for golang)
@chadmyers
Copy link
Author

It appears that upgrading to the v2 AWS SDK for Go (aws-sdk-go-v2) will fix these issues. I looked into the process for upgrading but my Go experience is poor and so I'm not quite sure where to start. For example, the aws-sdk-go-v2 release numbers look like 2023-03-14 and go.mod expects the v1.2.3 format so I'm not even sure how to reference that version.

@alvinlin123 alvinlin123 added help wanted Extra attention is needed good first issue Good for newcomers labels Mar 30, 2023
@luisgerhorst
Copy link
Contributor

I think they are using different versions for different sub-modules and the date is only used as an informal name. See https://github.com/aws/aws-sdk-go-v2/releases/tag/release-2023-07-31 and https://github.com/moby/moby/blob/95bbbc0418390b28717674a2969edc8313b61fe7/vendor.mod#L19 as an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants