Remote code execution for scripted UDFs (Apache Software Foundation Apache Cassandra)
En bref
- Source
- NVD
- EPSS
- EPSS 58.90 % · centile 99 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- apache
- Statut NVD
- Modified
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.
Faiblesses (CWE)
- CWE-94 — Injection de code
- CWE-732 — Attribution de permissions incorrecte sur une ressource critique
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | NVD · nvd@nist.gov (Primary) |
| CVSS 2.0 | HIGH 8.5 | AV:N/AC:M/Au:S/C:C/I:C/A:C | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-8ffc-79xg-29w8 — Apache Cassandra vulnerable to Code Injection due to unsafe configuration
Références européennes
- ENISA EUVD · EUVD-2022-0915
- GCVE · GCVE-0-2021-44521
Avis du CERT-FR
- CERTFR-2023-AVI-0004 — Multiples vulnérabilités dans IBM Sterling Global Mailbox · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:apache:cassandra:*:*:*:*:*:*:*:*≥ 3.0.0 < 3.0.26cpe:2.3:a:apache:cassandra:*:*:*:*:*:*:*:*≥ 3.11.0 < 3.11.12cpe:2.3:a:apache:cassandra:*:*:*:*:*:*:*:*≥ 4.0.0 < 4.0.2
Produits affectés
| Produit | Versions |
|---|---|
| Apache Software Foundation · Apache Cassandra | affected 3.0.0 < unspecified ; affected unspecified < 3.0.26 ; affected 3.1 < unspecified ; affected unspecified < 3.11.12 ; affected 4.0.0 < unspecified ; affected unspecified < 4.0.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |