-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Update PyYAML (CVE-2017-18342) #718
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
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ramnes If they are not already assigned, you can assign the PR to them by writing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
We should not request a beta version for a production repo like this. Also, version 4.1 already fixed the problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment
@@ -3,7 +3,7 @@ six>=1.9.0 # MIT | |||
python-dateutil>=2.5.3 # BSD | |||
setuptools>=21.0.0 # PSF/ZPL | |||
urllib3>=1.23 # MIT | |||
pyyaml>=3.12 # MIT | |||
pyyaml>=4.2b1 # MIT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pyyaml>=4.2b1 # MIT | |
pyyaml>=4.1 # MIT |
@micw523 PyYAML 4.1 doesn't exist on PyPI, they published it and then removed it. No version under 4.2b1 fixes this CVE. If we don't want to take the risk to upgrade to one of the beta versions, another solution is to replace all the Also, I'm realizing that since it's a beta, the version number must be pinned if we want the dependency to be pulled, and not marked as |
@ramnes Also, in new versions of PyYAML, calling Therefore, I think we can safely close the PR - what do you think? |
Oh, I didn't see that other PR on There are still some |
See kubernetes-client#718 for rationale.
See kubernetes-client#718 for rationale.
See kubernetes-client#718 for rationale.
No description provided.