pydash is vulnerable to Unsafe Reflection
55
CVE Score
Medium
Unsafe Reflection
Before the fix, get, set_, and invoke passed object path keys through _raise_if_restricted_key, which rejected only __globals__ and __builtins__. An application that forwards an externally supplied dotted path into those helpers on a class instance can read other dunder attributes such as __class__ and __dict__, or use set_ to write a class attribute such as is_admin on every instance of that class.
Upgrade the pydash package to version 8.1.0 or later.
You are affected if you are using a version that falls within the vulnerable range and pass an externally supplied object path to get, set_, or invoke on a class instance.
6.0.2 - 8.0.6
Fixed in 8.1.0pydash is vulnerable to Unsafe Reflection in versions 6.0.2 - 8.0.6.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.