Skip to content
This repository was archived by the owner on Nov 11, 2024. It is now read-only.

Update dependency pydantic to v1.10.13 [SECURITY] - #23

Closed
DorskFR wants to merge 1 commit into
mainfrom
renovate/pypi-pydantic-vulnerability
Closed

Update dependency pydantic to v1.10.13 [SECURITY]#23
DorskFR wants to merge 1 commit into
mainfrom
renovate/pypi-pydantic-vulnerability

Conversation

@DorskFR

@DorskFR DorskFR commented Jul 20, 2024

Copy link
Copy Markdown
Owner

This PR contains the following updates:

Package Update Change
pydantic (changelog) minor ==1.8.2 -> ==1.10.13

Pydantic regular expression denial of service

CVE-2024-3772 / GHSA-mr82-8j83-vxmv

More information

Details

Regular expression denial of service in Pydantic < 2.4.0, < 1.10.13 allows remote attackers to cause denial of service via a crafted email string.

Severity

  • CVSS Score: 5.9 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

pydantic/pydantic (pydantic)

v1.10.13

Compare Source

v1.10.12

Compare Source

  • Fixes the maxlen property being dropped on deque validation. Happened only if the deque item has been typed. Changes the _validate_sequence_like func, #​6581 by @​maciekglowka

v1.10.11

Compare Source

  • Importing create_model in tools.py through relative path instead of absolute path - so that it doesn't import V2 code when copied over to V2 branch, #​6361 by @​SharathHuddar

v1.10.10

Compare Source

v1.10.9

Compare Source

v1.10.8

Compare Source

v1.10.7

Compare Source

  • Fix creating schema from model using ConstrainedStr with regex as dict key, #​5223 by @​matejetz
  • Address bug in mypy plugin caused by explicit_package_bases=True, #​5191 by @​dmontagu
  • Add implicit defaults in the mypy plugin for Field with no default argument, #​5190 by @​dmontagu
  • Fix schema generated for Enum values used as Literals in discriminated unions, #​5188 by @​javibookline
  • Fix mypy failures caused by the pydantic mypy plugin when users define from_orm in their own classes, #​5187 by @​dmontagu
  • Fix InitVar usage with pydantic dataclasses, mypy version 1.1.1 and the custom mypy plugin, #​5162 by @​cdce8p

v1.10.6

Compare Source

  • Implement logic to support creating validators from non standard callables by using defaults to identify them and unwrapping functools.partial and functools.partialmethod when checking the signature, #​5126 by @​JensHeinrich
  • Fix mypy plugin for v1.1.1, and fix dataclass_transform decorator for pydantic dataclasses, #​5111 by @​cdce8p
  • Raise ValidationError, not ConfigError, when a discriminator value is unhashable, #​4773 by @​kurtmckee

v1.10.5

Compare Source

v1.10.4

Compare Source

v1.10.3

Compare Source

NOTE: v1.10.3 was "yanked" from PyPI due to #​4885 which is fixed in v1.10.4

v1.10.2

Compare Source

v1.10.1

Compare Source

v1.10.0

Compare Source

v1.9.2

Compare Source

Revert Breaking Change: v1.9.1 introduced a breaking change where model fields were
deep copied by default, this release reverts the default behaviour to match v1.9.0 and before,
while also allow deep-copy behaviour via copy_on_model_validation = 'deep'. See #​4092 for more information.

  • Allow for shallow copies of model fields, Config.copy_on_model_validation is now a str which must be
    'none', 'deep', or 'shallow' corresponding to not copying, deep copy & shallow copy; default 'shallow',
    #​4093 by @​timkpaine

v1.9.1

Compare Source

Thank you to pydantic's sponsors:
@​tiangolo, @​stellargraph, @​JonasKs, @​grillazz, @​Mazyod, @​kevinalh, @​chdsbd, @​povilasb, @​povilasb, @​jina-ai,
@​mainframeindustries, @​robusta-dev, @​SendCloud, @​rszamszur, @​jodal, @​hardbyte, @​corleyma, @​daddycocoaman,
@​Rehket, @​jokull, @​reillysiemens, @​westonsteimel, @​primer-io, @​koxudaxi, @​browniebroke, @​stradivari96,
@​adriangb, @​kamalgill, @​jqueguiner, @​dev-zero, @​datarootsio, @​RedCarpetUp
for their kind support.

v1.9.0

Compare Source

Thank you to pydantic's sponsors:
@​sthagen, @​timdrijvers, @​toinbis, @​koxudaxi, @​ginomempin, @​primer-io, @​and-semakin, @​westonsteimel, @​reillysiemens,
@​es3n1n, @​jokull, @​JonasKs, @​Rehket, @​corleyma, @​daddycocoaman, @​hardbyte, @​datarootsio, @​jodal, @​aminalaee, @​rafsaf,
@​jqueguiner, @​chdsbd, @​kevinalh, @​Mazyod, @​grillazz, @​JonasKs, @​simw, @​leynier, @​xfenix
for their kind support.

Highlights
v1.9.0 (2021-12-31) Changes
v1.9.0a2 (2021-12-24) Changes
v1.9.0a1 (2021-12-18) Changes

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@DorskFR DorskFR closed this Oct 5, 2024
@DorskFR
DorskFR deleted the renovate/pypi-pydantic-vulnerability branch October 5, 2024 11:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant