Views
No views yet
_ndarray_from_bytes() in flax/serialization.py accepts arbitrary dtype names from untrusted msgpack data during checkpoint deserialization, despite blocking dangerous dtypes during serialization.poc1_structured_dtype.flax — Structured dtype (f4,f4) accepted during LOAD but blocked during SAVEpoc2_void_dtype.flax — Void dtype (V1) with mismatched buffer/shapepoc3_dos_shape.flax — Enormous shape causing DoS via memory exhaustionpoc4_string_dtype.flax — Fixed-string dtype (|S256) accepted during LOADcreate_malicious_checkpoint.py — Script to generate PoC filesexploit_loader.py — Script demonstrating the vulnerability1pip install flax msgpack
2python exploit_loader.py