Arbitrary Code Injection Affecting org.apache.cassandra:cassandra-all package, versions [3.0.0-alpha1, 3.0.26)[3.11.0, 3.11.12)[4.0-alpha1, 4.0.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
5.49% (94th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHECASSANDRA-2400628
  • published13 Feb 2022
  • disclosed11 Feb 2022
  • creditOmer Kaspi

Introduced: 11 Feb 2022

CVE-2021-44521  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.apache.cassandra:cassandra-all to version 3.0.26, 3.11.12, 4.0.2 or higher.

Overview

org.apache.cassandra:cassandra-all is a maven plugin for the Apache Cassandra Project. Which, develops a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model.

Affected versions of this package are vulnerable to Arbitrary Code Injection. It is possible for an attacker to create a scripted UDF which executes arbitrary code on the server.

This can be exploited with the following functions: enable_user_defined_functions: true, enable_scripted_user_defined_functions: true, enable_user_defined_functions_threads: false

CVSS Scores

version 3.1