Remote code execution for scripted UDFs (Apache Software Foundation Apache Cassandra)

CVE-2021-44521
CRITICAL 9.1

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

VersionScoreVecteurÉvalué par
CVSS 3.1CRITICAL 9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)
CVSS 2.0HIGH 8.5AV:N/AC:M/Au:S/C:C/I:C/A:CNVD · nvd@nist.gov (Primary)

Avis

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Apache Software Foundation · Apache Cassandraaffected 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

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD