Description
paramz through 0.10.0 contains an insecure deserialization vulnerability that allows attackers to execute code by supplying crafted model files to paramz.load(), which calls pickle.load() without restrictions. Attackers can embed objects whose __reduce__ method returns callables like exec or os.system in shared paramz or GPy model files to run code with the victim's privileges.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
sods paramz
Default version status: unaffected
0 to ≤ 0.10.0affected
pkg:pypi/paramzReferences
- https://github.com/sods/paramz/issues/60 ↗
- https://github.com/sods/paramz/pull/61 ↗
- https://github.com/sods/paramz/commit/e9fb87fb6b277d5c40bbe79c4dacfea177d22a3e ↗
- https://github.com/sods/paramz/blob/v0.10.0/paramz/__init__.py#L44-L50 ↗
- https://www.vulncheck.com/advisories/paramz-through-0.10.0-insecure-deserialization-rce-via-load ↗