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

The lfedge/ekuiper:1.5.1-alpine image has a few High saverity vulnerabilities. #1326

Closed
bighb69738 opened this issue Jul 22, 2022 · 5 comments

Comments

@bighb69738
Copy link

bighb69738 commented Jul 22, 2022

Hi all:
I tried to use the latest image lfedge/ekuiper:1.5.1-alpine on EdgeX.
But there is a few High saverity vulnerabilities when the image was scaned.

These High saverity vulnerabilities:

Library:libcrypto1.1-1.1.1n-r0.apk
Vulnerability id : CVE-2022-2097 (Upgrade to version OpenSSL_1_1_1q,openssl-3.0.5)

Library:libssl1.1-1.1.1n-r0.apk
Vulnerability id : CVE-2022-2097 (Upgrade to version OpenSSL_1_1_1q,openssl-3.0.5)

These Medium saverity vulnerabilities:

Libery:musl-utils-1.2.2-r7.apk
Vulnerability id : CVE-2020-28928 (Upgrade to version musl - 1.2.2-1,1.2.2-1,1.1.16-3+deb9u1)

Library:musl-1.2.2-r7.apk
Vulnerability id : CVE-2020-28928 (Upgrade to version musl - 1.2.2-1,1.2.2-1,1.1.16-3+deb9u1)

How to fix ?

@ngjaying
Copy link
Collaborator

@bighb69738 I don't think we directly use those, maybe they are imported by the dependencies. Where do you run the scan and do you have more information where do these vulnerabilities happen? Thanks

@bighb69738
Copy link
Author

bighb69738 commented Jul 22, 2022

These libraries are from Alpine.
And i scanded the image on Whitesource.
I think maybe the Dockerfile of the lfedge/ekuiper:1.5.1-alpine image need to upgrade these apk.
alpinelinux/docker-alpine#261

@ngjaying
Copy link
Collaborator

Thank you, I think we need to upgrade the base alpine version.

@superrxan
Copy link
Collaborator

Hi @bighb69738, this is the docker file for 1.5.1-alpine
https://github.com/lf-edge/ekuiper/blob/master/deploy/docker/Dockerfile-alpine

you can modify the dependencies and build a new docker image by yourself with this command

docker build  -t lfedge/ekuiper:1.5.1-alpine-patch -f deploy/docker/Dockerfile-alpine .

we would appreciate that if you could verify the images and make a pr for us

@ngjaying
Copy link
Collaborator

Close because of inactivity

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