VMware ESXi OpenSLP (CVE-2021-21974): patched in 2021, mass-exploited by ESXiArgs in 2023

A two-year-old fix that many hosts never installed. In February 2023 the ESXiArgs ransomware encrypted thousands of exposed ESXi servers.

Publicly disclosed: 23 February 2021

On 23 February 2021 VMware fixed a heap overflow in the OpenSLP service of ESXi (port 427). An attacker who could reach that port could execute code on the hypervisor. Exactly two years later, in February 2023, the ESXiArgs ransomware campaign scanned the internet for ESXi hosts with SLP exposed and encrypted the virtual machines of thousands of organizations — almost all of them unpatched and directly reachable from the internet.

CVESeverityAffectedFixed in
CVE-2021-21974High, CVSS 8.8 (heap overflow, remote code execution)ESXi 7.0 before U1c, 6.7 and 6.5 before February 2021 patchesESXi 7.0 U1c, ESXi670-202102401-SG, ESXi650-202102101-SG and later

How to protect ESXi

  1. Never expose ESXi or vCenter management to the internet.
  2. Keep ESXi updated; plan migration away from versions that no longer receive patches.
  3. If SLP is not needed, disable it: stop the slpd service and disable the CIMSLP firewall ruleset, as VMware describes in its knowledge base.
  4. Keep backups of VMs outside the hypervisor environment, ideally immutable.

A patch that is two years old protects nobody if it was never installed.

Sources: VMware VMSA-2021-0002, NVD CVE-2021-21974.

Need help with this? Contact CySec for a free consultation.


All articles

Need help with this?

Our engineers can review your current setup and propose concrete improvements.