CVE-2024-31141
No exploitation reported by the sources we read.
- Published2024-11-19
- Fixed in3.7.1
- WeaknessCWE-269 · CWE-552
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-11-1909:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-03 15:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-31141?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-31141?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.7 | ≥ 2.3.0, < 3.7.1 | 3.7.1 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.5 | ≥ 2.3.0, ≤ 3.5.2 | no fix published | NVD |
| 3.6 | ≥ 3.6.0, ≤ 3.6.2 | no fix published | NVD |
| 3.7 | = 3.7.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As apache, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Apache Software Foundation Apache Kafka Clientsother versions: not affected
package org.apache.kafka:kafka-clientshttps://repo.maven.apache.org/maven2
Affected- ≥ 2.3.0, ≤ 3.5.2no fix statedsemver
- ≥ 3.6.0, ≤ 3.6.2no fix statedsemver
- = 3.7.0no fix statedsemver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-11-19
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- apache-nifiWolfiall versions · fixed in 2.0.0-r4and 2 other packages
- apache-nifiChainguardall versions · fixed in 2.0.0-r4and 2 other packages
- druidWolfiall versions · fixed in 31.0.0-r2and 1 other package
- druidChainguardall versions · fixed in 31.0.0-r2and 1 other package
- hadoop-fips-3.3.6Chainguardall versions · no fixed version listed
- io.root.org.apache.kafka:kafka-clientsRoot:Mavenall versions · fixed in 3.6.0-root.io.2
- io.root.org.apache.kafka:kafka-clientsRoot:Mavenall versions · fixed in 3.0.0-root.io.1
- io.root.org.apache.kafka:kafka-clientsRoot:Mavenall versions · fixed in 3.6.0-root.io.3
22 more package ranges on OSV.dev
Vendor advisories
Red Hat Security Advisory: Streams for Apache Kafka 2.9.0 release and security update
Red Hat Security Advisory: Red Hat Build of Apache Camel 4.8 for Spring Boot security update.
Fix
- Update kafka-clients to 3.7.1
- Vendor fix Red Hat Product Security RHSA-2025:2416 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2025:2416 · 1 productFor applications in which an untrusted party can specify Apache Kafka Client configuration, disable automatic configuration providers by setting the JVM system property org.apache.kafka.automatic.config.providers=none. For Kafka Connect workers that must use the listed providers, restrict them with…
Advisories and patches
- lists.apache.orgVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2024-11-19
- OpenCVESSVC decisionnone—
- CISA-ADPCVSS 3.16.52024-11-19
- CNAweakness (CWE)CWE-269, CWE-552known since 2026-10-23
- FIRST EPSSEPSS score1.3 %2026-11-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2024-11-19
Identifiers
- CGA-229f-hvm5-5vrhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2545-vg46-q42fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2f46-46mw-5xvvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2q3v-87v9-mc7msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3cp9-vhm9-9c42same flawChainguard · CC-BY-NC-ND-4.0
- CGA-4p28-h9f5-w4vrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-55jf-xc3x-phhxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5vw3-96j2-2qrrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-67m7-6v44-q55wsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6m89-j83q-pxr9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6pjh-p9m9-8q8xsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6qh9-2r2v-w442same flawChainguard · CC-BY-NC-ND-4.0
- CGA-826w-cqfw-9mhwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8298-h479-rx3fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-842f-x736-vgx6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9264-9q77-vw74same flawChainguard · CC-BY-NC-ND-4.0
- CGA-95j4-rg62-58v4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9p99-7rvw-6fg3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-cg65-hwj6-4gm6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-ch3v-fhcr-rm55same flawChainguard · CC-BY-NC-ND-4.0
- CGA-cpjm-r862-qpmfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fcmx-2348-c23csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fxf5-rvq9-cc3rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fxv6-39mx-fv3csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gcp8-w6q8-wf3vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gjw2-wp26-w4mwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gr7m-rwgj-j879same flawChainguard · CC-BY-NC-ND-4.0
- CGA-h336-xprr-xjxrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-h8p5-hcxg-v8qgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hcpc-97xm-3mgcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hjj7-24gj-c256same flawChainguard · CC-BY-NC-ND-4.0
- CGA-j9hm-jrgv-25w4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jc7w-gpp3-86hvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-mp67-94w2-gcc8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-mw6f-rw7f-33f2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-pwvr-q2xf-68qhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-qh66-grp5-73q8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qmj9-5jp4-fg22same flawChainguard · CC-BY-NC-ND-4.0
- CGA-r3hf-q9pc-77ggsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-r95c-282h-pfjpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-rg44-fcxx-6jhrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-rvqj-6rw4-j2x9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-rwg4-mxm9-9fr5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-v242-j59h-fv3msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-v5pc-6jh6-cg7csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-v99j-2h9q-77r8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-w375-2cvr-rp98same flawChainguard · CC-BY-NC-ND-4.0
- CGA-w433-vfjp-6fp4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-w872-8g65-q2vpsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2024-3337same flawENISA EUVD · LicenseRef-ENISA-legal-notice
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Published
- 2024-11-19
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-2x2g-32r7-p4x8
Frequently asked questions
What is CVE-2024-31141?
Is CVE-2024-31141 actively exploited?
What is the CVSS score for CVE-2024-31141?
Running kafka-clients? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-2x2g-32r7-p4x8
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0