package/python-cbor2: security bump to version 6.2.0.post2
PATCH 1/1 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:
https://github.com/agronholm/cbor2/commit/c2c8062eb28d6c4a884f6a4ba9418ac9d1476ab2
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
--- package/python-cbor2/python-cbor2.hash | 2 +- package/python-cbor2/python-cbor2.mk | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
package/python-cbor2/python-cbor2.hash +1 -1
@@ -1,4 +1,4 @@ # Locally calculated after vendoring -sha256 c0be697accd3e106feb9a082f52b6c6e2b83428148ab78ce6732a76c380233f8 python-cbor2-6.1.5-cargo6.tar.gz +sha256 7b1ae9426ff8a39baa881e9eb54211568f24aa205c861d8ba7e5e93c0c058047 python-cbor2-6.2.0.post2-cargo6.tar.gz # Locally computed sha256 checksums sha256 a6afd126d8f545a15166a22f25fadff4b9fb4978bbdd17e97d97d950b66d2fef LICENSE.txt
package/python-cbor2/python-cbor2.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CBOR2_VERSION = 6.1.5 +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/39/34/d443914ea562a985ccb357682e17b7190d5d58eff797c741379be47a8f31 +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
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 9 lines · James Hilliard
Fix shared references bypassing the decoder's nesting limit, which can crash the interpreter when deeply nested objects are hashed:
https://github.com/agronholm/cbor2/commit/c2c8062eb28d6c4a884f6a4ba9418ac9d1476ab2Also add the
strict_hashable_typesdecoding option to mitigate denial of service through hash-colliding map keys and set elements:
https://github.com/agronholm/cbor2/security/advisories/GHSA-p6xp-9h6j-r278Signed-off-by James Hilliard <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot