[Snyk] Security upgrade pillow from 9.5.0 to 10.3.0
diff --git a/requirements.txt b/requirements.txt
index 7e25a9a4914..3892abe0730 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,7 +6,7 @@ gitpython>=3.1.30
 matplotlib>=3.3
 numpy>=1.23.5
 opencv-python>=4.1.1
-Pillow>=9.4.0
+pillow>=10.3.0
 psutil  # system resources
 PyYAML>=5.3.1
 requests>=2.23.0

<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.</h3>



#### 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
:-------------------------:|-------------------------|:-------------------------|:-------------------------|:-------------------------|:-------------------------
![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity")  |  **651/1000**  <br/> **Why?** Recently disclosed, Has a fix available, CVSS 7.3  | Buffer Overflow <br/>[SNYK-PYTHON-PILLOW-6514866](https://snyk.io/vuln/SNYK-PYTHON-PILLOW-6514866) |  `pillow:` <br> `9.5.0 -> 10.3.0` <br>  |  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:  <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI5NTMzOGNmMC00M2E5LTRhNTgtOWE3YS05MmE0NGM1OWIxZWEiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6Ijk1MzM4Y2YwLTQzYTktNGE1OC05YTdhLTkyYTQ0YzU5YjFlYSJ9fQ==" width="0" height="0"/>
🧐 [View latest project report](https://app.snyk.io/org/glenn-jocher/project/b49ff501-40a6-42c7-ab7e-b98a30f3409e?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;fix-pr)

🛠 [Adjust project settings](https://app.snyk.io/org/glenn-jocher/project/b49ff501-40a6-42c7-ab7e-b98a30f3409e?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;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":"95338cf0-43a9-4a58-9a7a-92a44c59b1ea","prPublicId":"95338cf0-43a9-4a58-9a7a-92a44c59b1ea","dependencies":[{"name":"pillow","from":"9.5.0","to":"10.3.0"}],"packageManager":"pip","projectPublicId":"b49ff501-40a6-42c7-ab7e-b98a30f3409e","projectUrl":"https://app.snyk.io/org/glenn-jocher/project/b49ff501-40a6-42c7-ab7e-b98a30f3409e?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-PYTHON-PILLOW-6514866"],"upgrade":[],"isBreakingChange":false,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[651],"remediationStrategy":"vuln"})

---

**Learn how to fix vulnerabilities with free interactive lessons:**

 🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc&#x3D;fix-pr)


## 🛠️ PR Summary

<sub>Made with ❤️ by [Ultralytics Actions](https://github.com/ultralytics/actions)<sub>

### 🌟 Summary
Upgraded minimum required version of Pillow in `yolov5` dependencies.

### 📊 Key Changes
- Updated the Pillow library version from `>=9.4.0` to `>=10.3.0`.

### 🎯 Purpose & Impact
- **Purpose**: The update ensures compatibility with the latest improvements and security patches in the Pillow library, which is crucial for image processing tasks in YOLOv5.
- **Impact**: Users must upgrade their Pillow installation to at least version 10.3.0. This change can help in improving performance and security but may require users to update their environments, potentially leading to temporary downtime or adjustment period for those with older versions. 🖼️✨