Files
buildroot/package/python-cbor2/python-cbor2.mk
James Hilliard 8099cdcbdf package/python-cbor2: security bump to version 6.2.0.post2
Fix shared references bypassing the decoder's nesting limit, which can
crash the interpreter when deeply nested objects are hashed:
c2c8062eb2

Also add the strict_hashable_types decoding option to mitigate denial of
service through hash-colliding map keys and set elements:
https://github.com/agronholm/cbor2/security/advisories/GHSA-p6xp-9h6j-r278

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-11-04 18:17:21 +01:00

22 lines
920 B
Makefile

################################################################################
#
# python-cbor2
#
################################################################################
PYTHON_CBOR2_VERSION = 6.2.0.post2
PYTHON_CBOR2_SOURCE_PYPI = cbor2-$(PYTHON_CBOR2_VERSION).tar.gz
PYTHON_CBOR2_SITE_PYPI = https://files.pythonhosted.org/packages/cd/eb/e2ef5f241f15131babf4854032953b97c88b2c2700d7712a0ba8f57cbe81
PYTHON_CBOR2_SITE = $(PYTHON_CBOR2_SITE_PYPI)/$(PYTHON_CBOR2_SOURCE_PYPI)?buildroot-path=filename
PYTHON_CBOR2_SETUP_TYPE = setuptools-rust
PYTHON_CBOR2_CARGO_MANIFEST_PATH = rust/Cargo.toml
PYTHON_CBOR2_LICENSE = MIT
PYTHON_CBOR2_LICENSE_FILES = LICENSE.txt
PYTHON_CBOR2_CPE_ID_VENDOR = agronholm
PYTHON_CBOR2_CPE_ID_PRODUCT = cbor2
PYTHON_CBOR2_DEPENDENCIES = host-python-setuptools-scm
HOST_PYTHON_CBOR2_DEPENDENCIES = host-python-setuptools-scm
$(eval $(python-package))
$(eval $(host-python-package))