GHSA-8ffc-79xg-29w8

Suggest an improvement
Source
https://github.com/advisories/GHSA-8ffc-79xg-29w8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-8ffc-79xg-29w8/GHSA-8ffc-79xg-29w8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8ffc-79xg-29w8
Aliases
Downstream
Published
2022-02-12T00:00:48Z
Modified
2023-12-06T01:01:41Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Apache Cassandra vulnerable to Code Injection due to unsafe configuration
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.

Database specific
{
    "cwe_ids": [
        "CWE-732",
        "CWE-94"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2022-02-23T16:10:04Z",
    "nvd_published_at": "2022-02-11T13:15:00Z",
    "severity": "CRITICAL"
}
References

Affected packages

Maven
org.apache.cassandra:cassandra-all

Package

Name
org.apache.cassandra:cassandra-all
View open source insights on deps.dev
Purl
pkg:maven/org.apache.cassandra/cassandra-all

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.26

Affected versions

0.*
0.7.0-rc4
0.7.0
0.7.1
0.7.2
0.7.3
0.7.4
0.7.5
0.7.6
0.7.6-2
0.7.7
0.7.8
0.7.9
0.7.10
0.8.0-beta1
0.8.0-beta2
0.8.0-rc1
0.8.0
0.8.1
0.8.2
0.8.3
0.8.4
0.8.5
0.8.6
0.8.7
0.8.8
0.8.9
0.8.10
1.*
1.0.0-beta1
1.0.0-rc1
1.0.0-rc2
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1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3.0.20
3.0.21
3.0.22
3.0.23
3.0.24
3.0.25

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-8ffc-79xg-29w8/GHSA-8ffc-79xg-29w8.json"
org.apache.cassandra:cassandra-all

Package

Name
org.apache.cassandra:cassandra-all
View open source insights on deps.dev
Purl
pkg:maven/org.apache.cassandra/cassandra-all

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.11.0
Fixed
3.11.12

Affected versions

3.*
3.11.0
3.11.1
3.11.2
3.11.3
3.11.4
3.11.5
3.11.6
3.11.7
3.11.8
3.11.9
3.11.10
3.11.11

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-8ffc-79xg-29w8/GHSA-8ffc-79xg-29w8.json"
org.apache.cassandra:cassandra-all

Package

Name
org.apache.cassandra:cassandra-all
View open source insights on deps.dev
Purl
pkg:maven/org.apache.cassandra/cassandra-all

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
4.0.2

Affected versions

4.*
4.0.0
4.0.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/02/GHSA-8ffc-79xg-29w8/GHSA-8ffc-79xg-29w8.json"