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

flannel/flannel-cni-plugin is pinned to old Alpine edge release #61

Closed
bnevis-i opened this issue Feb 1, 2024 · 2 comments
Closed

flannel/flannel-cni-plugin is pinned to old Alpine edge release #61

bnevis-i opened this issue Feb 1, 2024 · 2 comments

Comments

@bnevis-i
Copy link

bnevis-i commented Feb 1, 2024

Suggestion: if flannel/flannel-cni-plugin is going to be built from an edge release of Alpine, use FROM alpine:edge instead of FROM alpine:<oldtaghere>

The old FROM tag is causing the plugin to accumulate CVE's:

Trivy output:

$ trivy image -d flannel/flannel-cni-plugin:v1.4.0-flannel1

flannel/flannel-cni-plugin:v1.4.0-flannel1 (alpine 3.19_alpha20230901)

Total: 10 (UNKNOWN: 0, LOW: 2, MEDIUM: 6, HIGH: 2, CRITICAL: 0)

Offending code:

https://github.com/flannel-io/cni-plugin/blob/main/Dockerfile.image#L19

FROM alpine:20230901
@manuelbuil
Copy link
Collaborator

Thanks! We will add some automation bot to update the tag. Using edge is not recommended because we won't be able to reproduce potential problems since the version will be changing

@thomasferrandiz
Copy link
Contributor

Version updated by dependabot here: #64

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

No branches or pull requests

3 participants