OhmSpectator / streetviews-grabber

A script that grabs Google Street View for a city.
Other
7 stars 1 forks source link

[Snyk] Security upgrade pillow from 9.5.0 to 10.0.0 #28

Closed OhmSpectator closed 10 months ago

OhmSpectator commented 10 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
⚠️ Warning ``` matplotlib 3.5.3 requires pillow, which is not installed. ```
#### Vulnerabilities that will be fixed ##### By pinning: Severity | Priority Score (*) | Issue | Upgrade | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **661/1000**
**Why?** Recently disclosed, Has a fix available, CVSS 7.5 | Uncontrolled Resource Consumption ('Resource Exhaustion')
[SNYK-PYTHON-PILLOW-6043904](https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6043904) | `pillow:`
`9.5.0 -> 10.0.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](https://app.snyk.io/org/ohmspectator/project/a9f049d2-7169-43cf-9665-6b79af52428a?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/ohmspectator/project/a9f049d2-7169-43cf-9665-6b79af52428a?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":"e40f084c-70fa-485c-a549-8649a6c2f0d4","prPublicId":"e40f084c-70fa-485c-a549-8649a6c2f0d4","dependencies":[{"name":"pillow","from":"9.5.0","to":"10.0.0"}],"packageManager":"pip","projectPublicId":"a9f049d2-7169-43cf-9665-6b79af52428a","projectUrl":"https://app.snyk.io/org/ohmspectator/project/a9f049d2-7169-43cf-9665-6b79af52428a?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-PILLOW-6043904"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"priorityScoreList":[661],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Uncontrolled Resource Consumption ('Resource Exhaustion')](https://learn.snyk.io/lesson/redos/?loc=fix-pr) ## Summary by CodeRabbit - **Chores** - Updated dependencies: Added `pillow` package (version 10.0.0 or higher) to enhance security.
coderabbitai[bot] commented 10 months ago

Walkthrough

The primary change in this update is the addition of the pillow package to the requirements.txt file. This was done to address a security vulnerability, even though the package is not directly used by the code.

Changes

File Summary
requirements.txt Added pillow package with a minimum version requirement of 10.0.0 to address a security vulnerability.

Poem

🍂 As the leaves fall, we code away, 🍁

Fixing bugs, keeping vulnerabilities at bay. 🛡️

The pillow package, now part of our quest, 📦

Ensuring our code is simply the best. 🏆

🎃 Halloween's past, but the spirit's still here, 👻

In our code, there's nothing to fear. 🚫

So here's to the changes, big and small, 🥂

CodeRabbit's on it, hopping through fall. 🐇🍂


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai help` to get help. - `@coderabbitai resolve` to resolve all the CodeRabbit review comments. Note: For conversation with the bot, please use the review comments on code diffs or files. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.json`