6.5

CVE-2024-31141: apache software foundation apache kafka clients Improper Privilege Management

CVSS: 6.5v3.1MediumAnalyzed
AliasesCGA-229f-hvm5-5vrhCGA-2545-vg46-q42fCGA-2f46-46mw-5xvv
Published 19-11-2024Last modified 31-01-2025

Vulnerability summary

CVE-2024-31141 is a medium (CVSS 6.5) Improper Privilege Management vulnerability in apache software foundation apache kafka clients. EPSS estimates a 1.24% chance of exploitation in the next 30 days, higher than 68.6% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.24%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 4

Timeline

  1. 19-11-2024
    PublishedVulnerability first disclosed.
  2. 31-01-2025
    Last modifiedVulnerability information updated.

Description

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 2.3.0 through 3.5.2, 3.6.2, 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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.24%

Chance of exploitation in the next 30 days

Percentile

69%

Versus all other CVEs

30-day change

0.00 pp

From 1.24% on 18-09-2026

18-09-202618-10-2026
EPSS score
1.24%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard25 products
  • apache-nifi< 2.0.0-r4
  • apache-nifi-compat< 2.0.0-r4
  • apache-nifi-toolkit< 2.0.0-r4
  • druid< 31.0.0-r2
  • druid-compat< 31.0.0-r2
Wolfi24 products
  • apache-nifi< 2.0.0-r4
  • apache-nifi-compat< 2.0.0-r4
  • apache-nifi-toolkit< 2.0.0-r4
  • druid< 31.0.0-r2
  • druid-compat< 31.0.0-r2
Apache1 product
  • kafkaEOL≥ 2.3.0, ≤ 3.5.2 | ≥ 3.6.0, ≤ 3.6.2 | 3.7.0
Apache software foundation1 product
Org.apache.kafka1 product
  • kafka-clients≥ 2.3.0, < 3.7.1

5 vendors · 52 products

References

8 links