-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Vulnerability in Python 3.10 (setuptools inside ensurepip folder) #901
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
Comments
As We use the python image as base for the dev container images which are getting flagged with the We appreciate the quick fix for #783, hoping to get this resolved as well. Thank you! // cc @tianon |
The |
Hmmm. @tianon Is there any way to patch this? 🤔 |
I'm sure there's a way -- the best one would be for Python upstream to do new releases with the updated For your builds, it would probably be pretty reasonable to purge the |
Removing
@tianon Is the python image always build with latest builds of Python? @bhupendra-vaishnav can you raise this issue in https://github.com/python/cpython and request them to update their |
Yep, we build from the latest published releases and try to keep any changes minimal. See https://github.com/docker-library/python/blob/b273afc57978521d33fefe5887ad901d0d35de87/3.10/bookworm/Dockerfile for the current |
I think this issue should be closed as wontfix, given that the fix should come from upstream (as the wheel in the ensurepip folder comes from upstream). |
We are working on Python 3.10 and found vulnerable version of setuptools package which is setuptools-65.5.0.
We did see Python 3.10 already has a fix for setuptools package and updated version of setuptools package which is setuptools-65.5.1. Though while doing analysis, we found the traces of vulnerable version inside
ensurepip
folder.Please refer absolute file paths highlighted by blue in attached screenshot :
Vulnerability reference : GHSA-r9hx-vwmv-q579
CC: @samruddhikhandale, @eljog, @gauravsaini04
The text was updated successfully, but these errors were encountered: