Skip to content

Conversation

@benglewis
Copy link

This fixes #342

@benglewis
Copy link
Author

It seems like skypilot won't install with this change right now :/ I have opened a PR to that repo, which should fix the issue:
skypilot-org/skypilot#8070

This way users of the package can choose their own `cryptography` version. This should be safe since users that aren't installing `skypilot` can just install more recent versions and users of `skypilot` can add their own restriction to `cryptography`, but AFAIK, the built-in restriction to `pyopenssl` on `skypilot` should prevent any issues (I actually believe that that restriction itself is no longer relevant, [see here](skypilot-org/skypilot#8070) )

Signed-off-by: Ben Lewis <[email protected]>
@benglewis
Copy link
Author

benglewis commented Dec 7, 2025

I have dropped the version restriction and it seems like this PR is safe since it won't break usage of skypilot from what I can tell (the code installs and the tests still pass) and it also allows users who aren't using skypilot to restrict their cryptography version to versions which do not have vulnerabilities. I have a parallel PR for skypilot, but I don't see that advancing at this stage, so I would still be happy to have this merged first 🙏

@benglewis
Copy link
Author

@hemildesai It would be great if you could consider this pull request 🙏

This is necessary to use `urllib >=  2.6.0` to avoid vulnerabilities:
CVE-2025-66471 and CVE-2025-66418

Signed-off-by: Ben Lewis <[email protected]>
@benglewis
Copy link
Author

Note to reader: I have switched to torchx from git instead of the latest released version, and this is due to them locking urllib3 to a version with vulnerabilities

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nemo-run 0.5.0 depends on cryptography<43.0.0

1 participant