CVE-2024-31141

Published Nov 19, 2024

Last updated a month ago

Overview

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.
Source
security@apache.org
NVD status
Awaiting Analysis

Risk scores

CVSS 3.1

Type
Secondary
Base score
6.5
Impact score
3.6
Exploitability score
2.8
Vector string
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Severity
MEDIUM

Weaknesses

security@apache.org
CWE-269

Social media

Hype score
Not currently trending
  1. آسیب پذیری جدیدی با کد شناسایی CVE-2024-31141 برای محصول Apache Kafka منتشر شده است. این آسیب پذیری از نوع Privilege escalation و read access بوده و ورژن های 2.3.0 تا 3.5.2 و 3.6.0 تا 3.6.2 و 3.7.0 تا 3.7.1 این محصول دارای این آسیب پذیری می باشند. https://t.co/Poz3aKY03t https:/

    @AmirHossein_sec

    24 Nov 2024

    27 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  2. Apache Kafka affected by CVE-2024-31141 #ApacheKafka #CVE-2024-31141 https://t.co/YTR4JJYYL6

    @pravin_karthik

    19 Nov 2024

    20 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  3. CVE-2024-31141 Files or Directories Accessible to External Parties, Improper Privilege Management vulnerability in Apache Kafka Clients. Apache Kafka Clients accept configuration d… https://t.co/taUGY49UfC

    @CVEnew

    19 Nov 2024

    511 Impressions

    0 Retweets

    0 Likes

    1 Bookmark

    0 Replies

    0 Quotes

  4. ⚠️ Apache Kafka Alert: CVE-2024-31141 A flaw in Kafka Clients (v2.3.0–3.7.1) could let attackers access files or environment variables in shared setups like SaaS. 🔑 Solution: Update affected versions and secure APIs. #Infosec #ApacheKafka https://t.co/1AqGIu71pF

    @K1N0SA

    19 Nov 2024

    7 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes

  5. CVE-2024-31141: Apache Kafka Vulnerability Exposes User Data to Potential Attackers https://t.co/GfUBbFe4a6

    @Dinosn

    19 Nov 2024

    2784 Impressions

    9 Retweets

    41 Likes

    6 Bookmarks

    0 Replies

    0 Quotes

  6. Unveiling the invisible leak in Apache Kafka! CVE-2024-31141 exposes clients to unauthorized data access. Time to upgrade to version 3.8.0+, tighten configs, and secure our data highways. Let's keep our data streams safe! 🛡️🌐 https://t.co/LyWbXafyKo #ApacheKafka

    @VulnVanguard

    19 Nov 2024

    87 Impressions

    0 Retweets

    2 Likes

    1 Bookmark

    0 Replies

    0 Quotes

  7. CVE-2024-31141: Apache Kafka Clients: Privilege escalation to filesystem read-access via automatic ConfigProvider https://t.co/RsZc0aYFXL

    @oss_security

    18 Nov 2024

    48 Impressions

    0 Retweets

    0 Likes

    0 Bookmarks

    0 Replies

    0 Quotes