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 versions of Python in the image include a vulnerability (CVE-2020-8492) #138

Open
easco opened this issue Jun 8, 2020 · 2 comments
Open

Comments

@easco
Copy link

easco commented Jun 8, 2020

I attempted to bring the Elixir 10.3 image into our internal repo. Our mechanism does a scan for vulnerabilities and my request was rejected because of the version(s) of Python in that image. The CVE that caused the rejection was CVE-2020-8492 with the description:

Python 2.7 through 2.7.17, 3.5 through 3.5.9, 3.6 through 3.6.10, 3.7 through 3.7.6, and 3.8 through 3.8.1 allows an HTTP server to conduct Regular Expression Denial of Service (ReDoS) attacks against a client because of urllib.request.AbstractBasicAuthHandler catastrophic backtracking.. Impacted Image File(s): /usr/lib/python3.7/urllib/request.py

I note the image includes Python 3.7.3 and 2.7.16

@c0b
Copy link
Owner

c0b commented Jun 30, 2020

the building process of this repo's images does not add any Python layer, so these Python versions just exist in the base debian image layers; once official-images use a newer version of debian image, that will fix this issue; (probably already fixed as of now, I haven't checked yet)

@easco
Copy link
Author

easco commented Jul 2, 2020

I reported the issue to the originating images (buildpack-deps:buster-scm for Python2, and buildpack-deps:buster for Python3). Presumably if they choose to resolve the issue it would then be fixed here as well.

docker-library/buildpack-deps#109
docker-library/buildpack-deps#110

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

2 participants