openfl
openfl copied to clipboard
[Snyk] Security upgrade transformers from 3.1.0 to 4.23.0
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR
- Changes to the following files to upgrade the vulnerable dependencies to a fixed version:
- openfl-workspace/fe_torch_adversarial_cifar/requirements.txt
⚠️ Warning
tensorflow-probability 0.11.0 requires dm-tree, which is not installed.
fastestimator 1.1.1 requires albumentations, which is not installed.
fastestimator 1.1.1 requires opencv-python, which is not installed.
fastestimator 1.1.1 requires wget, which is not installed.
fastestimator 1.1.1 requires natsort, which is not installed.
fastestimator 1.1.1 requires transformers, which is not installed.
fastestimator 1.1.1 requires pytorch-model-summary, which is not installed.
fastestimator 1.1.1 requires pycocotools-fix, which is not installed.
fastestimator 1.1.1 has requirement scipy==1.4.1, but you have scipy 1.2.3.
Vulnerabilities that will be fixed
By pinning:
Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity |
---|---|---|---|---|---|
![]() |
556/1000 Why? Recently disclosed, Has a fix available, CVSS 5.4 |
Open Redirect SNYK-PYTHON-TRANSFORMERS-3092483 |
transformers: 3.1.0 -> 4.23.0 |
No | No Known Exploit |
(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📚 Read more about Snyk's upgrade and patch logic
Learn how to fix vulnerabilities with free interactive lessons:
@itrushkin could you confirm that upgrading the transformers version does not break this example?
Caught version conflict while trying to run fe_torch_adversarial_cifar
:
ERROR: Cannot install -r /path/to/requirements.txt (line 3) and transformers>=4.23.0 because these package versions have conflicting dependencies.
The conflict is caused by:
The user requested transformers>=4.23.0
fastestimator 1.1.1 depends on transformers==3.1.0
We do not have this tutorial in openfl-workspace
, closing this PR.