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

Allow Pydantic 1.10.13 to mitigate security risk #1301

Open
kokroo opened this issue May 11, 2024 · 0 comments
Open

Allow Pydantic 1.10.13 to mitigate security risk #1301

kokroo opened this issue May 11, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@kokroo
Copy link

kokroo commented May 11, 2024

A new CVE was published (link), in which Pydantic versions below 1.10.13 have a denial of service vulnerability.

Switching to that version causes this:

The conflict is caused by:
    The user requested pydantic>=1.10.13
    ormar 0.12.2 depends on pydantic!=1.7, !=1.7.1, !=1.7.2, !=1.7.3, !=1.8, !=1.8.1, <1.10.9 and >=1.6.1

I think Ormar 0.12.2 will work just fine with Pydantic 1.10.13, and it's a minor version bump and I think Ormar has an automated test suite anyway. We should release a new Ormar minor version, probably 0.12.3, which allows Pydantic 1.10.13 because not everyone can switch to Ormar 2.0.0 right now.

@collerek I think this is urgent since it's a security issue in one of Ormar's dependencies itself.

@kokroo kokroo added the enhancement New feature or request label May 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant