You are viewing a plain text version of this content. The canonical link for it is here.
Posted to announce@apache.org by Marcus Eriksson <ma...@apache.org> on 2022/02/11 10:01:38 UTC

CVE-2021-44521: Apache Cassandra: Remote code execution for scripted UDFs

Severity: high

Description:

When running Apache Cassandra with the following configuration:

enable_user_defined_functions: true
enable_scripted_user_defined_functions: true
enable_user_defined_functions_threads: false 

it is possible for an attacker to execute arbitrary code on the host. The attacker would need to have enough permissions to create user defined functions in the cluster to be able to exploit this. Note that this configuration is documented as unsafe, and will continue to be considered unsafe after this CVE.

This issue is being tracked as CASSANDRA-17352

Mitigation:

Set `enable_user_defined_functions_threads: true` (this is default)
or
3.0 users should upgrade to 3.0.26
3.11 users should upgrade to 3.11.12
4.0 users should upgrade to 4.0.2

Credit:

This issue was discovered by Omer Kaspi of the JFrog Security vulnerability research team.


RE : CVE-2021-44521: Apache Cassandra: Remote code execution for scripted UDFs

Posted by Dorian ROSSE <do...@hotmail.fr>.
No it isn’t good to have issue…

Are you a black hacker ?

Regards.


Dorian ROSSE.

Envoyé à partir de Courrier<https://go.microsoft.com/fwlink/?LinkId=550986> pour Windows

De : Erick Ramirez<ma...@datastax.com>
Envoyé le :vendredi 11 février 2022 23:02
À : dev@cassandra.apache.org<ma...@cassandra.apache.org>
Objet :Re: CVE-2021-44521: Apache Cassandra: Remote code execution for scripted UDFs

Does this issue exist on the packaged Apache Cassandra 40X ?

Yes, it does. Cheers!


Re: CVE-2021-44521: Apache Cassandra: Remote code execution for scripted UDFs

Posted by Erick Ramirez <er...@datastax.com>.
>
> Does this issue exist on the packaged Apache Cassandra 40X ?
>

Yes, it does. Cheers!

Re: CVE-2021-44521: Apache Cassandra: Remote code execution for scripted UDFs

Posted by Dorian ROSSE <do...@hotmail.fr>.
Hello,


Does this issue exist on the packaged Apache Cassandra 40X ?

I ask because I don't find any version line of command and it miss the manual line of command for Cassandra,

Thanks you in advance for your answer,

Have a nice evening from the France it is twenty to twelve and the sky is fallen,

Regards.


Dorian Rosse.
________________________________
From: Marcus Eriksson <ma...@apache.org>
Sent: Friday, February 11, 2022 11:01:38 AM
To: announce@apache.org <an...@apache.org>; dev@cassandra.apache.org <de...@cassandra.apache.org>
Subject: CVE-2021-44521: Apache Cassandra: Remote code execution for scripted UDFs

Severity: high

Description:

When running Apache Cassandra with the following configuration:

enable_user_defined_functions: true
enable_scripted_user_defined_functions: true
enable_user_defined_functions_threads: false

it is possible for an attacker to execute arbitrary code on the host. The attacker would need to have enough permissions to create user defined functions in the cluster to be able to exploit this. Note that this configuration is documented as unsafe, and will continue to be considered unsafe after this CVE.

This issue is being tracked as CASSANDRA-17352

Mitigation:

Set `enable_user_defined_functions_threads: true` (this is default)
or
3.0 users should upgrade to 3.0.26
3.11 users should upgrade to 3.11.12
4.0 users should upgrade to 4.0.2

Credit:

This issue was discovered by Omer Kaspi of the JFrog Security vulnerability research team.