CVE-2021-44521CWE-94

Remote code execution for scripted UDFs

published February 11, 2022

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.1th percentile for exploit probability.

CVSS
—
EPSS
58%
Percentile
99.1
In the wild
Unconfirmed
What it is

⚠️ A crafty configuration could let an attacker run arbitrary code on your host! Apache Cassandra's settings for user-defined functions might just open the door for unwelcome guests. 🔥 Think of it like a restaurant giving a chef the authority to create new dishes without checking their recipes first. If that chef has bad intentions, they could cook up something harmful instead of delicious! This means an attacker could gain control over your server, potentially leading to data breaches, service disruptions, or malicious alterations of your configurations. The implications could be absolutely devastating for your entire system if misused!

Put simply

Think of it like a restaurant giving a chef the authority to create new dishes without checking their recipes first. If that chef has bad intentions, they could cook up something harmful instead of delicious! In essence, setting `enable_user_defined_functions`, `enable_scripted_user_defined_functions`, and `enable_user_defined_functions_threads` to false allows an attacker with permissions to create user-defined functions to execute arbitrary code on the host. This opens up a pathway for full exploitation of your server's resources.

What to do

This means an attacker could gain control over your server, potentially leading to data breaches, service disruptions, or malicious alterations of your configurations. The implications could be absolutely devastating for your entire system if misused! To mitigate this risk, avoid using the unsafe configuration mentioned. Review your cluster's settings and disable user-defined functions when not in use. Regularly audit permissions to ensure only trusted users have access to function creation. You've got this! With a few tweaks, you can secure your setup and keep those sneaky attackers at bay! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.57528 · 99.1th percentile
Weakness
CWE-94 · Improper Control of Generation of Code ('Code Injection')
Published
2022-02-11T12:20Z
EPSS history
Timeline
  • 11 FEB 12:20Z
    Remote code execution for scripted UDFs
    cvelistv5