Denial of Service Vulnerability in Valkey Package Due to Redis Connection Issues

valkey Updated 02 Oct 2025

Summary

07/07/2025
N/A
Yes i
Unrated
Not published

CVE-2025-48367: Redis is an open source, in-memory database that persists on disk. Affects valkey across 6 version ranges.

< 5a752e19782b9f8f80c7ef85e21cb47647954f09 < 7e0f53393290f7c1f35596117b67748efad16580 < 8.1.1-r2 < b49d5c0cf4e96a277d4b4e98f61d10c792b37003 < bde62951accfc4bb0a516276fd0b4b307e140ce2 < fa00bd2fff1533ad6e8483d9ce8868f383df2fbb

Fixed in 8.1.1-r2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Valkey is an open-source package designed for use within the Alpine Linux ecosystem, providing essential functionalities for managing key-value data efficiently. Redis, the underlying database technology utilized by Valkey, is an in-memory database that persists data on disk. This package is widely used for its speed and flexibility in handling data, but it is susceptible to vulnerabilities that can lead to service disruptions.

Vulnerability Detail

The vulnerability identified as CVE-2025-48367 arises from an unauthenticated connection to Redis, which can trigger repeated IP protocol errors. This situation can lead to client starvation, ultimately resulting in a denial of service. The issue is particularly critical as it can affect the availability of services relying on Valkey, making it imperative for users to address this vulnerability promptly.

How To Fix

Minimum fixed version

8.1.1-r2

This is the first release that contains the fix.

sudo apk add --upgrade valkey

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can limit the number of unauthenticated connections to Redis by configuring the Redis server settings to require authentication. This can be done by modifying the Redis configuration file (usually located at /etc/redis/redis.conf) and setting the 'requirepass' directive to a strong password.

Conclusion

In summary, CVE-2025-48367 poses a significant risk to applications using the Valkey package due to its reliance on Redis. Users are strongly encouraged to update to the patched version 8.1.1-r2 to ensure the security and availability of their services. Implementing workarounds can provide temporary relief until updates are applied.

See every vulnerability recorded for valkey →

Share this vulnerability

FAQ

CVE-2025-48367 is a vulnerability in the Redis database that can lead to denial of service due to unauthenticated connections causing repeated IP protocol errors.

The vulnerability can lead to client starvation and service disruptions for applications using Valkey, as it relies on Redis for data management.

The vulnerability affects all versions of Valkey prior to the patched version 8.1.1-r2.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If immediate updates are not possible, consider implementing the workaround by requiring authentication for Redis connections to mitigate the risk.

Related vulnerabilities

Recent vulnerabilities recorded for valkey.

How To Fix

Minimum fixed version

8.1.1-r2

This is the first release that contains the fix.

sudo apk add --upgrade valkey

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback