StackExchange.Redis.Extensions.Core is vulnerable to Code Injection
45
CVE Score
Medium
Code Injection
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.
Upgrade the StackExchange.Redis.Extensions.Core library to the patch version.
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.
10.1.0 - 13.0.0
Fixed in 13.0.1StackExchange.Redis.Extensions.Core is vulnerable to Code Injection in versions 10.1.0 - 13.0.0.
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.