mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-11-17 02:01:31 -10:00
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>
272 B
272 B