CVE-2022-0543 Debian-specific Redis Server Lua Sandbox Escape

Exploited in the wild Critical 10.0 Published Updated

A Debian-specific packaging issue in Redis allows attackers to escape the Lua sandbox and execute arbitrary code remotely.

Exploited in the wild
Since 28 Mar 2022
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-0543?

CVE-2022-0543 is a critical code injection vulnerability in Debian redis, published on 18 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific) Lua sandbox escape, which could result in remote code execution.

Weakness: CWE-862

Which versions are affected by CVE-2022-0543?

1 open source package ship an affected version, including redis. It affects 1 product.

PackageAffectedFixed in
redis BitnamiAll versionsNone

Products include Redis Redis.

How do I fix CVE-2022-0543?

Apply the vendor's patch. US federal agencies must fix it by 18 Apr 2022.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-0543 being exploited?

Yes. Attackers have exploited CVE-2022-0543 in the wild since at least 28 Mar 2022.

Public exploit code: 1 Metasploit module, 1 Nuclei template and 6 proofs of concept on GitHub.

Sources

Also known as BIT-redis-2022-0543, DEBIAN-CVE-2022-0543, DSA-5081-1, GHSA-9wpj-h5jq-88p9, MINI-2548-6x3j-m4rj, MINI-3358-fff2-24q5 and 9 more.

Is CVE-2022-0543 in your software?

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

Check your SBOMs for free