Media

Apache Kafka Clients: Privilege escalation to filesystem read-access via automatic ConfigProvider

  • Publicada: 19.11.2024
  • Actualizado: 11.10.2026 13:20

Files or Directories Accessible to External Parties, Improper Privilege Management vulnerability in Apache Kafka Clients.

Apache Kafka Clients accept configuration data for customizing behavior, and includes ConfigProvider plugins in order to manipulate these configurations. Apache Kafka also provides FileConfigProvider, DirectoryConfigProvider, and EnvVarConfigProvider implementations which include the ability to read from disk or environment variables. In applications where Apache Kafka Clients configurations can be specified by an untrusted party, attackers may use these ConfigProviders to read arbitrary contents of the disk and environment variables.

In particular, this flaw may be used in Apache Kafka Connect to escalate from REST API access to filesystem/environment access, which may be undesirable in certain environments, including SaaS products. This issue affects Apache Kafka Clients: from from 2.3.0 through 3.5.2, 3.6.0 through 3.6.2, and 3.7.0.

Users with affected applications are recommended to upgrade kafka-clients to version >=3.8.0, and set the JVM system property "org.apache.kafka.automatic.config.providers=none". Users of Kafka Connect with one of the listed ConfigProvider implementations specified in their worker config are also recommended to add appropriate "allowlist.pattern" and "allowed.paths" to restrict their operation to appropriate bounds.

For users of Kafka Clients or Kafka Connect in environments that trust users with disk and environment variable access, it is not recommended to set the system property. For users of the Kafka Broker, Kafka MirrorMaker 2.0, Kafka Streams, and Kafka command-line tools, it is not recommended to set the system property.

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Java / Kotlin (Maven) org.apache.kafka:kafka-clients >= 2.3.0, < 3.7.1 3.7.1

Referencias

Puntuación CVSS 6.5/10
Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Debilidad (CWE)
CWE-269
Plataforma
Java / Kotlin (Maven)
Paquete
org.apache.kafka:kafka-clients
Publicada
19.11.2024
Actualizado
11.10.2026 13:20

Fuentes y licencias

OSV / GitHub Advisory Database - GHSA-2x2g-32r7-p4x8 - CC BY 4.0

Historial de vulnerabilidades: org.apache.kafka:kafka-clients

Todas las vulnerabilidades publicadas de este paquete (Java / Kotlin (Maven)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.

Entradas en total
7
Primera → última
09.2021 04.2026
Sin corrección
0
Explotada en ataques
0

Distribución por gravedad

  • Crítica 1
  • Alta 1
  • Media 5

Divulgaciones por año

  1. 2021: 1
  2. 2022: 1
  3. 2023: 0
  4. 2024: 1
  5. 2025: 1
  6. 2026: 3
  1. Media · 5.3 CVE-2026-33558 >= 0.11.0, < 3.9.2, >= 4.0.0, < 4.0.1 3.9.2, 4.0.1
  2. Alta · 8.7 CVE-2026-35554 >= 2.8.0, < 3.9.2, >= 4.0.0, < 4.0.2, >= 4.1.0, < 4.1.2 3.9.2, 4.0.2, 4.1.2
  3. Apache Kafka Clients: Privilege escalation to filesystem read-access via automatic ConfigProvider esta entrada
    Media · 6.5 CVE-2024-31141 >= 2.3.0, < 3.7.1 3.7.1
  4. Media · 6.8 CVE-2017-12610 >= 0.10.0.0, < 0.10.2.2, >= 0.11.0.0, < 0.11.0.2 0.10.2.2, 0.11.0.2
  5. Media · 5.9 CVE-2021-38153 >= 2.0.0, < 2.6.3, >= 2.7.0, < 2.7.2, >= 2.8.0, < 2.8.1 2.6.3, 2.7.2, 2.8.1

Identifica las vulnerabilidades de tu aplicación

Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.