-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Oauth2-proxy v7.4.0 is not using alpine:3.16 as it is written in code #1929
Comments
Not a clue why it's built with the wrong image, everything in the dockerfile is and was correct at the time the release was published so this is very very odd. Have you tried rebuilding the images yourself to see if you get the same result? |
yes i have built the image and it s using alpine@3.16 and CVE is fixed there. So i have published it to our local repository and currently using it from there until the new official version release. |
In the makefile, it is still the alpine 3.15, could this have some influence? Line 43 in f753ec1
|
Damn yes, @miguelborges99 that's exactly the issue, we need to get that updated as well |
Any chance this upgrade can also include updates to some CVEs that have fixed versions available?
See also alpinelinux/docker-alpine#301 |
#2013 just merged which I believe should resolve the vulnerabilities, but we should look make sure the fixed CVEs are noted in the changelog as part of the release |
This issue has been inactive for 60 days. If the issue is still relevant please comment to re-activate the issue. If no action is taken within 7 days, the issue will be marked closed. |
Busybox version earlier than 1.35.0 has CVE-2022-28391 vulnerability. This has been fixed in alpine 3.16. I tried to upgrade oauth2-proxy to v7.4.0 to get rid of this CVE. But our scanner tool was still reporting that CVE. As per the Dockerfile of the v7.4.0 i can see the base image is set as alpine:3.16. However when i run the docker containter for oauth2-proxy:v7.4.0 and check the os-release i saw it is set to 3.15.16. To my understanding it should be using alpine:3.16. Is there anything i am missing it or this is a bug ?
Expected Behavior
The alpine image used in v7.4.0 should be 3.16
Current Behavior
The alpine image used in v7.4.0 is 3.15.16
Steps to Reproduce (for bugs)
docker run --rm -it quay.io/oauth2-proxy/oauth2-proxy:v7.4.0 --client-secret=1111111111111111 --cookie-secret=1111111111111111 --client-id=gatekeeper --email-domain=xxxx.com
docker exec -u 0 -it running_container_id /bin/sh
),cat /etc/os-release
Context
Trying to get rid of busybox CVEs which are present on the alpine version 3.15. If we make sure oauth2-proxy:v7.4.0 is running on alpine 3.16 then the CVEs will disapper from the vulnerability scan reports.
The text was updated successfully, but these errors were encountered: