Code Injection in pydash - CVE-2023-26145
Published: January 9, 2024
pydash
dgilland (Derrick Gilland)
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to pydash.objects.invoke() and pydash.collections.invoke_map() accept dotted paths (Deep Path Strings) to target a nested Python object, relative to the original source object. A remote attacker can use these paths to target internal class attributes and dict items, to retrieve, modify or invoke nested Python objects.