StackExchange.Redis.Extensions.Core is vulnerable to Code Injection
45
Medium Risk
HashGetAllAsyncAtOneTimeAsync builds a Redis Lua script by concatenating the caller-supplied hash key directly into the script text and evaluates it server-side with EVAL. When the hash key contains untrusted characters, the embedded value can break out of the string literal and inject arbitrary Lua that the Redis server executes. The same code also applied the configured key prefix incorrectly, so callers using KeyPrefix read from the wrong hash. The fix removes the Lua script and performs the lookup with a single HMGET, so the key is no longer embedded or executed as script.
You are affected if you are using a version that falls within the vulnerable range and your application calls HashGetAllAsyncAtOneTimeAsync with a hash key that can contain externally influenced input.
StackExchange.Redis.Extensions.Core is vulnerable to Code Injection in versions 10.1.0 - 13.0.0.
Upgrade the StackExchange.Redis.Extensions.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