Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

[DCOS-44001] Remove pycrypto-2.6.1 which has a security vulnerability. #2784

Closed
wants to merge 2 commits into from

Conversation

kaiwalyajoshi
Copy link
Contributor

First of two fixes. This one fixes the dcos-commons-base image.

@kaiwalyajoshi
Copy link
Contributor Author

This approach doesn't fix the dcos-commons-base image location in the Docker file. Closing PR.

…& Dockerfile.base -> Dockerfile.

This is due to https://github.com/mesosphere/data-services-release-tooling/blob/b5015284d5668bda7cbba58fd133a1e46680d074/docker_tools.py#L16
making assumptions about the file. We will create a new dcos-commons-base image via this approach.
@kaiwalyajoshi kaiwalyajoshi reopened this Nov 16, 2018
@kaiwalyajoshi
Copy link
Contributor Author

Built new dcos-commons-base image via:

https://jenkins.mesosphere.com/service/jenkins/view/Infinity/job/infinity-tools/job/release-tools/job/build-docker-image/28/console

Note, branch dcos-44001-fix-dcos-base-image should NOT be merged. It renames
Dockerfile -> Dockerfile.dcos-commons &
Dockerfile.base -> Dockerfile

For the Jenkins job above to work.

kaiwalyajoshi added a commit that referenced this pull request Nov 16, 2018
GitHub PR: #2784
was used as an intermediate step to generate the dcos-commons-base
image.
kaiwalyajoshi added a commit that referenced this pull request Nov 20, 2018
* Update cryptography and requests PyPi versions.

* Replace PyCrpto with PyCryptoDome. PyCrytoDome is intended to be a drop-in replacement for PyCrypto, and PyCrypto is dead according to this URL:pycrypto/pycrypto#253 (comment)

* Remove pycrypto-2.6.1 which has a security vulnerability.

* Update Dockerfile to use updated docker-commons-base image.

GitHub PR: #2784
was used as an intermediate step to generate the dcos-commons-base
image.

* Pull dcos-commons-base as tagged image as opposed to sha256.

* Use image SHA-256 hash instead of GIT-SHA for Dockerfile.base
@kaiwalyajoshi kaiwalyajoshi deleted the dcos-44001-fix-dcos-base-image branch December 6, 2018 22:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant