fecgov / fec-cms

The content management system (CMS) for the new Federal Election Commission website.
https://www.fec.gov
Other
93 stars 38 forks source link

[Snyk] Fix for 2 vulnerabilities #6245

Closed PaulClark2 closed 4 months ago

PaulClark2 commented 5 months 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 #### 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") | **509/1000**
**Why?** Has a fix available, CVSS 5.9 | Regular Expression Denial of Service (ReDoS)
[SNYK-PYTHON-SETUPTOOLS-3180412](https://snyk.io/vuln/SNYK-PYTHON-SETUPTOOLS-3180412) | `setuptools:`
`40.5.0 -> 65.5.1`
| No | No Known Exploit ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **768/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 7.5 | Uncontrolled Recursion
[SNYK-PYTHON-SQLPARSE-6615674](https://snyk.io/vuln/SNYK-PYTHON-SQLPARSE-6615674) | `sqlparse:`
`0.4.4 -> 0.5.0`
| No | Proof of Concept (*) 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/paulclark2/project/44fde3c5-be1e-4be8-85b2-02348d8976f5?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/paulclark2/project/44fde3c5-be1e-4be8-85b2-02348d8976f5?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":"607818c8-0dff-4667-8e03-7297a0ede27d","prPublicId":"607818c8-0dff-4667-8e03-7297a0ede27d","dependencies":[{"name":"setuptools","from":"40.5.0","to":"65.5.1"},{"name":"sqlparse","from":"0.4.4","to":"0.5.0"}],"packageManager":"pip","projectPublicId":"44fde3c5-be1e-4be8-85b2-02348d8976f5","projectUrl":"https://app.snyk.io/org/paulclark2/project/44fde3c5-be1e-4be8-85b2-02348d8976f5?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-SETUPTOOLS-3180412","SNYK-PYTHON-SQLPARSE-6615674"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["priorityScore"],"priorityScoreList":[509,768],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr)
codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.92%. Comparing base (18b826d) to head (676be98).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #6245 +/- ## ======================================== Coverage 77.92% 77.92% ======================================== Files 289 289 Lines 9364 9364 Branches 681 681 ======================================== Hits 7297 7297 Misses 2067 2067 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.