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

Update go net packages #12

Merged
merged 2 commits into from
Aug 20, 2024
Merged

Conversation

weseven
Copy link
Contributor

@weseven weseven commented Aug 20, 2024

Vanilla flatcar images currently show up in vulnerability scans due to an oudated version of the go net package that has a CVE:

image

This PR updates the go net package (and its dependencies), and updates the toolchain to go 1.22.

Testing done

Tested the new mayday build on a flatcar image, using the current version of mayday and the PR one with the same configuration.

go: upgraded golang.org/x/net v0.0.0-20160201052856-d513e58596cd => v0.28.0
go: upgraded golang.org/x/sys v0.0.0-20170710161658-abf9c25f5445 => v0.23.0
go: upgraded golang.org/x/text v0.0.0-20170706130353-cfdf022e86b4 => v0.17.0
@jepio jepio merged commit f66f52d into flatcar:flatcar-master Aug 20, 2024
@jepio
Copy link
Member

jepio commented Aug 20, 2024

Thanks!

@jepio
Copy link
Member

jepio commented Aug 20, 2024

@weseven i have to drop to go1.21, because flatcar doesn't have 1.22 yet. ok?

@weseven
Copy link
Contributor Author

weseven commented Aug 20, 2024

@weseven i have to drop to go1.21, because flatcar doesn't have 1.22 yet. ok?

Absolutely fine, sorry I forgot to check that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants