hydra-core is vulnerable to Unsafe Reflection
85
High Risk
Hydra's _locate() dotted-path resolver performs a plain getattr attribute walk that can reach mutation methods such as .discard() on the module level policy sets (DEFAULT_BLOCKLISTED_MODULES, UNCONTROLLED_EXECUTION_TARGETS) backing the default instantiate() execution blocklist. A configuration with multiple sibling _target_ entries, processed in insertion order, can first resolve and call a removal method on the shared policy set and then instantiate the now unblocked target, bypassing the legacy blocklist path used when an application has not supplied its own execution whitelist. The fix moves target resolution off the raw mutable sets and hardens the discovery, dispatch, introspection, alias, callable-result, and deferred-callable paths so name only authorization can no longer be undermined this way.
You are affected if you are using a version that falls within the vulnerable range and you rely on Hydra's default instantiate() blocklist without supplying your own execution whitelist to authorize targets.
hydra-core is vulnerable to Unsafe Reflection in versions 1.3.4 - 1.3.6.
Upgrade the hydra-core library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

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.