Skip to contentSkip to conversation

package/python-pydantic-core: security bump to version 2.50.2

PATCH In review James Hilliard 2 participants 3 messages Oct 31 – Nov 1

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/python-pydantic-core: security bump to version 2.50.2

Fix validation bypasses affecting extra data keys in JSON models and aliased fields in TypedDict and dataclasses allowing extra data:

- https://github.com/pydantic/pydantic/security/advisories/GHSA-qpmf-fgh3-ff25
- https://github.com/pydantic/pydantic/security/advisories/GHSA-3r8g-cqwr-jr29

---
 package/python-pydantic-core/python-pydantic-core.hash | 2 +-
 package/python-pydantic-core/python-pydantic-core.mk   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
package/python-pydantic-core/python-pydantic-core.hash +1 -1
index e06724f3f8..7b87b74c38 100644
@@ -1,4 +1,4 @@
 # Locally calculated after vendoring
-sha256  c248df928b1546c10413c88dffe1aa31d44759b7c8a9239c0cfcf125fddd8fe5  python-pydantic-core-2.50.1-cargo6.tar.gz
+sha256  f976a051a732e45c5170d779823d80cc80164ccb2ead1ff35dae81d984e430ce  python-pydantic-core-2.50.2-cargo6.tar.gz
 # Locally computed sha256 checksums
 sha256  2afdd30d54b4d62b6f488a6bcc1546e84ec5061f13f4209c03d012348783795a  LICENSE
package/python-pydantic-core/python-pydantic-core.mk +2 -2
index 4d22df466c..1da3d2f087 100644
@@ -6,10 +6,10 @@
 
 # python-pydantic pins an exact version of pydantic-core in pyproject.toml,
 # make sure to sync pydantic-core to this version when updating pydantic
-PYTHON_PYDANTIC_CORE_VERSION = 2.50.1
+PYTHON_PYDANTIC_CORE_VERSION = 2.50.2
 PYTHON_PYDANTIC_CORE_SOURCE_PYPI = pydantic_core-$(PYTHON_PYDANTIC_CORE_VERSION).tar.gz
 PYTHON_PYDANTIC_CORE_SITE = $(PYTHON_PYDANTIC_CORE_SITE_PYPI)/$(PYTHON_PYDANTIC_CORE_SOURCE_PYPI)?buildroot-path=filename
-PYTHON_PYDANTIC_CORE_SITE_PYPI = https://files.pythonhosted.org/packages/a6/24/af4ec4be49fbc810f35b0bdcacc3d433b56bbfa469fd3bfd4ae116cd9bf1
+PYTHON_PYDANTIC_CORE_SITE_PYPI = https://files.pythonhosted.org/packages/af/8e/23ec1021834e35041fbb2f10946141e6acdfd39379c45cc4d65a4e8a1d98
 PYTHON_PYDANTIC_CORE_SETUP_TYPE = maturin
 PYTHON_PYDANTIC_CORE_LICENSE = MIT
 PYTHON_PYDANTIC_CORE_LICENSE_FILES = LICENSE
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH 2/2 package/python-pydantic: security bump to version 2.14.2

Update the pinned pydantic-core dependency to 2.50.2, which fixes GHSA-qpmf-fgh3-ff25 and GHSA-3r8g-cqwr-jr29.

https://github.com/pydantic/pydantic/releases/tag/v2.14.2

---
 package/python-pydantic/python-pydantic.hash | 4 ++--
 package/python-pydantic/python-pydantic.mk   | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-pydantic/python-pydantic.hash +2 -2
index 68ffab3df5..57f49bbe03 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/pydantic/json
-md5  d1d82b6afbe5cbed83544dd99a104c02  pydantic-2.14.1.tar.gz
-sha256  94f478203dd03404682a1ada216965651dd74b1d2d5ffd62e00e0837caab5c26  pydantic-2.14.1.tar.gz
+md5  f088af0a539873a8dce16be5d13c4e10  pydantic-2.14.2.tar.gz
+sha256  fb7b2db6cefe8414dd612edeede49c4c433acb0432b0f92b95024e45f66c505d  pydantic-2.14.2.tar.gz
 # Locally computed sha256 checksums
 sha256  a9e186f3ca16b5eef84318e7a701721351a00cb7b8ae3a4394b67b49e3529ef3  LICENSE
package/python-pydantic/python-pydantic.mk +2 -2
index 0a48204cca..5a560b2afe 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_PYDANTIC_VERSION = 2.14.1
+PYTHON_PYDANTIC_VERSION = 2.14.2
 PYTHON_PYDANTIC_SOURCE = pydantic-$(PYTHON_PYDANTIC_VERSION).tar.gz
-PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/7c/0b/8e10b2e693af8ec54346a14caf36221334775975a747c9ceaa3f8371d96d
+PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/9f/d5/b4867fa7c7f04c34997d7d8aad744f64d210bb99d67cf18bf3fb1eea1aed
 PYTHON_PYDANTIC_SETUP_TYPE = hatch
 PYTHON_PYDANTIC_LICENSE = MIT
 PYTHON_PYDANTIC_LICENSE_FILES = LICENSE
Signature · 6 lines
2.53.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to James Hilliard
Quoted 9 lines · James Hilliard

Fix validation bypasses affecting extra data keys in JSON models and aliased fields in TypedDict and dataclasses allowing extra data:

-
https://github.com/pydantic/pydantic/security/advisories/GHSA-qpmf-fgh3-ff25
-
https://github.com/pydantic/pydantic/security/advisories/GHSA-3r8g-cqwr-jr29

Series applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot