Updates for ubuntu:latest, python 3.10, werkzeug 2.3.7, remove meinheld#31
Updates for ubuntu:latest, python 3.10, werkzeug 2.3.7, remove meinheld#31
Conversation
pmalek
left a comment
There was a problem hiding this comment.
Thanks for submitting this PR. I've tested it locally and it seems that the basic functionality is still there.
I left just one small nit comment which I believe might be worth addressing.
fdd7ba0 to
41882b8
Compare
|
I have addressed the version, and not invoked the unit test in the Docker build. I also confirm that this image no longer reports any vulnerabilities by the Wiz scanning tool. Thanks, |
|
@matt-domsch-sp Do you mind rebasing? I've fixed the broken precommit workflow in #37. |
Due to 441 reported CVEs in this image (Ubuntu focal packages and python libraries), I found it necessary to update the base OS to ubuntu:latest. Doing so brings in Python 3.10 and updated pipenv. To resolve the python library CVEs, update the dependencies which include werkzeug 2.3.7 which necessitates a few minor changes to the application.
The meinheld library is no longer needed to run gunicorn, and it has a medium CVE reported against it. Upgrading gunicorn to latest and removing meinheld library will resolve this.
41882b8 to
80252f4
Compare
|
rebased onto main. |
pmalek
left a comment
There was a problem hiding this comment.
Thanks for improving this!
I believe you can submit this form for a contributor's T-shirt: https://docs.google.com/forms/d/e/1FAIpQLSfacQHac-PYIDIrDOi_W2l7cWxBDRIVBs6xE5HnlojPvdhL9g/viewform.
It'd be super cool to actually run those tests on CI (not during the image building stage). If you're up for it feel free to submit a PR with that change.
Summary
Due to 441 reported CVEs in the docker.io/kong/httpbin:latest image
(Ubuntu focal packages and python libraries), I found it necessary to update the base OS to
ubuntu:latest. Doing so brings in Python 3.10 and updated pipenv. To
resolve the python library CVEs, update the dependencies which include
werkzeug 2.3.7 which necessitates a few minor changes to the
application. Removing (unused) meinheld resolves another CVE.
Full changelog
Testing
CVEs addressed