CVE-2023-28856 `HINCRBYFLOAT` can be used to crash a redis-server process

Medium 5.5 Published Updated

Authenticated users can crash the Redis server by using the HINCRBYFLOAT command to create an invalid hash field.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-28856?

CVE-2023-28856 is a medium-severity denial of service vulnerability in Debian Debian Linux, published on 18 Apr 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Redis is an open source, in-memory database that persists on disk. Authenticated users can use the `HINCRBYFLOAT` command to create an invalid hash field that will crash Redis on access in affected versions. This issue has been addressed in in versions 7.0.11, 6.2.12, and 6.0.19. Users are advised to upgrade. There are no known workarounds for this issue.

Weakness: CWE-617, CWE-20

Which versions are affected by CVE-2023-28856?

3 open source packages ship an affected version, including keydb, redis and valkey. It affects 3 products.

PackageAffectedFixed in
keydb BitnamiAll versions6.0.19, 6.2.12, 7.0.11
redis BitnamiAll versions6.0.19, 6.2.12, 7.0.11
valkey BitnamiAll versions6.0.19, 6.2.12, 7.0.11

Products include Debian Debian Linux, Fedoraproject Fedora, Redis Redis.

How do I fix CVE-2023-28856?

Upgrade keydb to a fixed version for your release line: 6.0.19, 6.2.12 or 7.0.11.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2023-28856 being exploited?

There is no known exploitation of CVE-2023-28856 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-26290, BIT-keydb-2023-28856, BIT-redis-2023-28856, BIT-valkey-2023-28856, DEBIAN-CVE-2023-28856, DLA-3396-1 and 4 more.

Is CVE-2023-28856 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free