Skip to content
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

[Snyk] Security upgrade setuptools from 68.0.0 to 70.0.0 #1200

Closed
wants to merge 1 commit into from

Conversation

jshcodes
Copy link
Member

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.

Snyk changed the following file(s):

  • requirements-dev.txt

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • 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.

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
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Improper Control of Generation of Code ('Code Injection')

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"setuptools","from":"68.0.0","to":"70.0.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"Proof of Concept","id":"SNYK-PYTHON-SETUPTOOLS-7448482","priority_score":283,"priority_score_factors":[{"name":"confidentiality","value":"high"},{"name":"integrity","value":"high"},{"name":"availability","value":"high"},{"name":"scope","value":"unchanged"},{"name":"exploitCodeMaturity","value":"proofOfConcept"},{"name":"userInteraction","value":"required"},{"name":"privilegesRequired","value":"none"},{"name":"attackComplexity","value":"high"},{"name":"attackVector","value":"network"},{"name":"epss","value":0.01055},{"name":"isTrending","value":false},{"name":"publicationDate","value":"Mon Jul 15 2024 08:51:32 GMT+0000 (Coordinated Universal Time)"},{"name":"isReachable","value":false},{"name":"isTransitive","value":false},{"name":"isMalicious","value":false},{"name":"businessCriticality","value":"high"},{"name":"relativeImportance","value":"high"},{"name":"relativePopularityRank","value":99},{"name":"impact","value":9.79},{"name":"likelihood","value":2.89},{"name":"scoreVersion","value":"V5"}],"severity":"high","title":"Improper Control of Generation of Code ('Code Injection')"}],"prId":"2a71137a-bbe4-4dd5-bf51-28bc6aea1ce1","prPublicId":"2a71137a-bbe4-4dd5-bf51-28bc6aea1ce1","packageManager":"pip","priorityScoreList":[283],"projectPublicId":"d3ea5ea4-d793-4e36-9c7a-dcf998b7b4b2","projectUrl":"https://app.snyk.io/org/crowdstrike-github/project/d3ea5ea4-d793-4e36-9c7a-dcf998b7b4b2?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","priorityScore"],"type":"auto","upgrade":[],"vulns":["SNYK-PYTHON-SETUPTOOLS-7448482"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'

The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-7448482
@jshcodes jshcodes requested a review from crowdstrikedcs as a code owner July 16, 2024 04:57
@@ -17,4 +17,4 @@ pytest-cov>=2.11.1 # via -r requirements-dev.in
pytest>=6.2.2 # via -r requirements-dev.in
ipython>=8.10.0 # via -r requirements-dev.in, pinned by Snyk to avoid SNYK-PYTHON-IPYTHON-3318382
pydocstyle>=6.1.0
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid SNYK-PYTHON-SETUPTOOLS-3113904
setuptools>=70.0.0 # not directly required, pinned by Snyk to avoid SNYK-PYTHON-SETUPTOOLS-3113904
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We noticed some issues with setuptools==71.X that caused our Azure resources to fail to connect to the driver, and found the error resulted from a Snyk upgrade without an upper bound.

Suggested change
setuptools>=70.0.0 # not directly required, pinned by Snyk to avoid SNYK-PYTHON-SETUPTOOLS-3113904
setuptools~=70.3.0 # not directly required, pinned by Snyk to avoid SNYK-PYTHON-SETUPTOOLS-3113904

Copy link
Contributor

@gansel51 gansel51 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See PR here

@jshcodes
Copy link
Member Author

Superseded by #1203.

@jshcodes jshcodes closed this Jul 19, 2024
@jshcodes jshcodes deleted the snyk-fix-90c2f1d5186c82b23c58f29454e930f9 branch July 19, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants