CVE-2021-44521
Assigner: apache
Published: 2022-02-11T12:20:12
State: PUBLISHED
affected: product: Apache Cassandra
vendor: Apache Software Foundation
versions: lessThan: unspecified
status: affected
version: 3.0.0
versionType: custom
lessThan: 3.0.26
status: affected
version: unspecified
versionType: custom
lessThan: unspecified
status: affected
version: 3.1
versionType: custom
lessThan: 3.11.12
status: affected
version: unspecified
versionType: custom
lessThan: unspecified
status: affected
version: 4.0.0
versionType: custom
lessThan: 4.0.2
status: affected
version: unspecified
versionType: custom
credits: value: This issue was discovered by Omer Kaspi of the JFrog Security vulnerability research team.
descriptions: value: 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.
metrics: other: content: other: high
type: unknown
problemTypes: descriptions: cweId: CWE-94
description: CWE-94 Improper Control of Generation of Code ('Code Injection')
type: CWE
source: defect: CASSANDRA-17352
discovery: UNKNOWN
title: Remote code execution for scripted UDFs
workarounds: value: 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
x_generator: engine: Vulnogram 0.0.9