CVE-2021-44521 - High Severity Vulnerability
Vulnerable Libraries - cassandra-all-3.9.jar, cassandra-all-3.11.5.jar
cassandra-all-3.9.jar
The Apache Cassandra Project develops a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model.
Library home page: http://cassandra.apache.org
Path to dependency file: /dd-java-agent/instrumentation/datastax-cassandra-3/datastax-cassandra-3.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.cassandra/cassandra-all/3.9/51ee1800dd94c3a01a892373f00db3cc7e20e98f/cassandra-all-3.9.jar
Dependency Hierarchy:
- cassandra-unit-3.1.3.2.jar (Root Library)
- ❌ cassandra-all-3.9.jar (Vulnerable Library)
cassandra-all-3.11.5.jar
The Apache Cassandra Project develops a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model.
Library home page: https://cassandra.apache.org
Path to dependency file: /dd-java-agent/instrumentation/datastax-cassandra-4/datastax-cassandra-4.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.cassandra/cassandra-all/3.11.5/5cc336c8ec793657d863f3923fb706389633600c/cassandra-all-3.11.5.jar
Dependency Hierarchy:
- cassandra-unit-4.3.1.0.jar (Root Library)
- ❌ cassandra-all-3.11.5.jar (Vulnerable Library)
Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079
Found in base branch: master
Vulnerability Details
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.
Publish Date: 2022-02-11
URL: CVE-2021-44521
CVSS 3 Score Details (9.1)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: High
- User Interaction: None
- Scope: Changed
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
For more information on CVSS3 Scores, click here.
Suggested Fix
Type: Upgrade version
Origin: https://lists.apache.org/thread/y4nb9s4co34j8hdfmrshyl09lokm7356
Release Date: 2022-02-11
Fix Resolution (org.apache.cassandra:cassandra-all): 3.11.1
Direct dependency fix Resolution (org.cassandraunit:cassandra-unit): 3.5.0.0
⛑️ Automatic Remediation is available for this issue
CVE-2021-44521 - High Severity Vulnerability
cassandra-all-3.9.jar
The Apache Cassandra Project develops a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model.
Library home page: http://cassandra.apache.org
Path to dependency file: /dd-java-agent/instrumentation/datastax-cassandra-3/datastax-cassandra-3.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.cassandra/cassandra-all/3.9/51ee1800dd94c3a01a892373f00db3cc7e20e98f/cassandra-all-3.9.jar
Dependency Hierarchy:
cassandra-all-3.11.5.jar
The Apache Cassandra Project develops a highly scalable second-generation distributed database, bringing together Dynamo's fully distributed design and Bigtable's ColumnFamily-based data model.
Library home page: https://cassandra.apache.org
Path to dependency file: /dd-java-agent/instrumentation/datastax-cassandra-4/datastax-cassandra-4.gradle
Path to vulnerable library: /home/wss-scanner/.gradle/caches/modules-2/files-2.1/org.apache.cassandra/cassandra-all/3.11.5/5cc336c8ec793657d863f3923fb706389633600c/cassandra-all-3.11.5.jar
Dependency Hierarchy:
Found in HEAD commit: 2819174635979a19573ec0ce8e3e2b63a3848079
Found in base branch: master
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.
Publish Date: 2022-02-11
URL: CVE-2021-44521
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: High
- User Interaction: None
- Scope: Changed
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: High
- Availability Impact: High
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: https://lists.apache.org/thread/y4nb9s4co34j8hdfmrshyl09lokm7356
Release Date: 2022-02-11
Fix Resolution (org.apache.cassandra:cassandra-all): 3.11.1
Direct dependency fix Resolution (org.cassandraunit:cassandra-unit): 3.5.0.0
⛑️ Automatic Remediation is available for this issue