-
Notifications
You must be signed in to change notification settings - Fork 145
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 pydantic from 1.10.13 to 2.4.0 #83
[Snyk] Security upgrade pydantic from 1.10.13 to 2.4.0 #83
Conversation
The following vulnerabilities are fixed by pinning transitive dependencies: - https://snyk.io/vuln/SNYK-PYTHON-PYDANTIC-5907722
Migration to pydantic v2 is planned end of this year/start of next year, so we won't be able to solve this one until we've migrated. We can prioritise the migration depending on the remaining features planned this year @Joseph-Perkins @lingyielia |
I think this synk report is wrong since the fix for this has been backported to pydantic 1.1.0.13. If we wanted to then we could move to |
Like this idea, it's suggested by Snyk as well: https://security.snyk.io/vuln/SNYK-PYTHON-PYDANTIC-5907722
|
Ah yes, I think that Snyk page has changed since about an hour ago since it just used to say that 2.4.0 was the only fixed version. |
I'll push it to this PR. |
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
Vulnerabilities that will be fixed
By pinning:
Why? Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 5.3
SNYK-PYTHON-PYDANTIC-5907722
pydantic:
1.10.13 -> 2.4.0
(*) 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
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)