openshift-eng / elliott

Apache License 2.0
15 stars 28 forks source link

[Snyk] Security upgrade setuptools from 39.0.1 to 65.5.1 #489

Closed thegreyd closed 1 year ago

thegreyd commented 1 year ago

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: - requirements.txt
⚠️ Warning ``` ruamel.yaml 0.17.1 requires ruamel.yaml.clib, which is not installed. requests-gssapi 1.2.3 requires gssapi, which is not installed. ```
#### Vulnerabilities that will be fixed ##### By pinning: Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **551/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 5.3 | Regular Expression Denial of Service (ReDoS)
[SNYK-PYTHON-SETUPTOOLS-3180412](https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412) | `setuptools:`
`39.0.1 -> 65.5.1`
| 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](https://app.snyk.io/org/thegreyd/project/f974b085-a27e-4df1-bca9-a649526d242c?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/thegreyd/project/f974b085-a27e-4df1-bca9-a649526d242c?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"6f9d354c-9367-4a34-8dd2-8200292f9459","prPublicId":"6f9d354c-9367-4a34-8dd2-8200292f9459","dependencies":[{"name":"setuptools","from":"39.0.1","to":"65.5.1"}],"packageManager":"pip","projectPublicId":"f974b085-a27e-4df1-bca9-a649526d242c","projectUrl":"https://app.snyk.io/org/thegreyd/project/f974b085-a27e-4df1-bca9-a649526d242c?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-SETUPTOOLS-3180412"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[551]}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lessons/redos/javascript/?loc=fix-pr)
openshift-bot commented 1 year ago

Build #1

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-489/setup.py
py38 create: /mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38
py38 installdeps: -rrequirements-dev.txt
ERROR: invocation failed (exit code 1), logfile: /mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38/log/py38-1.log
================================== log start ===================================
ERROR: Double requirement given: setuptools>=65.5.1 (from -r requirements.txt (line 16)) (already in setuptools>=41.6.0 (from -r requirements-dev.txt (line 2)), name='setuptools')
WARNING: You are using pip version 20.1.1; however, version 22.3.1 is available.
You should consider upgrading via the '/mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38/bin/python -m pip install --upgrade pip' command.

=================================== log end ====================================
ERROR: could not install deps [-rrequirements-dev.txt]; v = InvocationError('/mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38/bin/python -m pip install -rrequirements-dev.txt', 1)
___________________________________ summary ____________________________________
ERROR:   py38: could not install deps [-rrequirements-dev.txt]; v = InvocationError('/mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38/bin/python -m pip install -rrequirements-dev.txt', 1)
openshift-bot commented 1 year ago

Build #2

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-489/setup.py
py38 create: /mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38
py38 installdeps: -rrequirements-dev.txt
ERROR: invocation failed (exit code 1), logfile: /mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38/log/py38-1.log
================================== log start ===================================
ERROR: Double requirement given: setuptools>=65.5.1 (from -r requirements.txt (line 16)) (already in setuptools>=41.6.0 (from -r requirements-dev.txt (line 2)), name='setuptools')
WARNING: You are using pip version 20.1.1; however, version 22.3.1 is available.
You should consider upgrading via the '/mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38/bin/python -m pip install --upgrade pip' command.

=================================== log end ====================================
ERROR: could not install deps [-rrequirements-dev.txt]; v = InvocationError('/mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38/bin/python -m pip install -rrequirements-dev.txt', 1)
___________________________________ summary ____________________________________
ERROR:   py38: could not install deps [-rrequirements-dev.txt]; v = InvocationError('/mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38/bin/python -m pip install -rrequirements-dev.txt', 1)
openshift-bot commented 1 year ago

Build #3

GLOB sdist-make: /mnt/workspace/jenkins/working/art-tools_elliott_PR-489/setup.py
py38 create: /mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38
py38 installdeps: -rrequirements-dev.txt
ERROR: invocation failed (exit code 1), logfile: /mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38/log/py38-1.log
================================== log start ===================================
ERROR: Double requirement given: setuptools>=65.5.1 (from -r requirements.txt (line 16)) (already in setuptools>=41.6.0 (from -r requirements-dev.txt (line 2)), name='setuptools')
WARNING: You are using pip version 20.1.1; however, version 22.3.1 is available.
You should consider upgrading via the '/mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38/bin/python -m pip install --upgrade pip' command.

=================================== log end ====================================
ERROR: could not install deps [-rrequirements-dev.txt]; v = InvocationError('/mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38/bin/python -m pip install -rrequirements-dev.txt', 1)
___________________________________ summary ____________________________________
ERROR:   py38: could not install deps [-rrequirements-dev.txt]; v = InvocationError('/mnt/workspace/jenkins/working/art-tools_elliott_PR-489/.tox/py38/bin/python -m pip install -rrequirements-dev.txt', 1)