6 ms·
Redis CVE-2025-49844: Use-After-Free may lead to remote code execution
- normie3000 1y agoHow does it work?
- jijji 1y agomost people use redis on localhost (i hope)
- johnbellone 1y agoI’d imagine recent uptick in using services like Upstash may make it harder for people to know if they are vulnerable or not. Is this mitigated by disabling Lua script execution?
- arnorhs 1y agoI would guess it is. Also: > Exploitation of this vulnerability requires an attacker to first gain authenticated access to your Redis instance.
- loloquwowndueo 1y agoUpstash wouldn’t be vulnerable - Upstash doesn’t run upstream redis, it’s a protocol-compatible proprietary implementation.
- benmmurphy 1y agoit used to possible to execute redis commands against localhost from the web browser using domain rebinding. but i think redis did something to the protocol to fix this. also, this is only really relevant for developers.
- styluss 11mo ago52,874 are connected to the internet according to Shodan.https://www.shodan.io/search?query=redis+product%3A%22Redis+key-value+store%22 https://www.shodan.io/search?query=redis+product%3A%22Redis+... Not affiliated with them.
- NicolaiS 1y agoNote that this requires an authenticated user, so most redis installations are not directly at risk. The github issue has these workarounds: > An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands. I guess most people doesn't use the lua engine, so this is probably a good advice to disable even if upgrading to a non-vuln version of Redis.
- alserio 1y agoI'd like to see stats about that. Lua scripts in Redis are one of its most useful feature
- jacquesm 1y agoThis was here already earlier today: https://news.ycombinator.com/item?id=45497027 https://news.ycombinator.com/item?id=45497027 Also: "As part of an ongoing effort by Redis and the Redis community to maintain Redis’ safety, security, and compliance posture, a security vulnerability in Redis has been identified and remediated in the versions indicated below." seems to be a bit strange given that this wasn't an effort led by Redis?
- DarkNova6 1y agoAnd this is why we need memory safety languages.