CVE-2023-25194
A public proof of concept exists; no exploitation attested.
- Published2023-02-07
- Fixed in3.4.0
- WeaknessCWE-502
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
A possible security vulnerability has been identified in Apache Kafka Connect API. This requires access to a Kafka Connect worker, and the ability to create/modify connectors on it with an arbitrary Kafka client SASL JAAS config and a SASL-based security protocol, which has been possible on Kafka Connect clusters since Apache Kafka Connect 2.3.0. When configuring the connector via the Kafka Connect REST API, an authenticated operator can set the `sasl.jaas.config` property for any of the connector's Kafka clients to "com.sun.security.auth.module.JndiLoginModule", which can be done via the `producer.override.sasl.jaas.config`, `consumer.override.sasl.jaas.config`, or `admin.override.sasl.jaas.config` properties. This will allow the server to connect to the attacker's LDAP server and deserialize the LDAP response, which the attacker can use to execute java deserialization gadget chains on the Kafka connect server. Attacker can cause unrestricted deserialization of untrusted data (or) RCE vulnerability when there are gadgets in the classpath. Since Apache Kafka 3.0.0, users are allowed to specify these properties in connector configurations for Kafka Connect clusters running with out-of-the-box configurations. Before Apache Kafka 3.0.0, users may not specify these properties unless the Kafka Connect cluster has been reconfigured with a connector client override policy that permits them. Since Apache Kafka 3.4.0, we have added a system property ("-Dorg.apache.kafka.disallowed.login.modules") to disable the problematic login modules usage in SASL JAAS configuration. Also by default "com.sun.security.auth.module.JndiLoginModule" is disabled in Apache Kafka Connect 3.4.0. We advise the Kafka Connect users to validate connector configurations and only allow trusted JNDI configurations. Also examine connector dependencies for vulnerable versions and either upgrade their connectors, upgrading that specific dependency, or removing the connectors as options for remediation. Finally, in addition to leveraging the "org.apache.kafka.disallowed.login.modules" system property, Kafka Connect users can also implement their own connector client config override policy, which can be used to control which Kafka client properties can be overridden directly in a connector config and which cannot.
Timeline
dates in UTC- 2023-02-0720:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2023-25194?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2023-25194?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.4 | ≥ 2.3.0, < 3.4.0 | 3.4.0 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.3 | ≥ 2.3.0, ≤ 3.3.2 | 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 Connect APIother versions: not affectedAffected
- ≥ 2.3.0, < 3.4.0fixed in 3.4.0semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-07-21
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
- kafkaopenEuler:24.03-LTS-SP4all versions · fixed in 2.8.2-21.oe2403sp4
- kafkaopenEuler:24.03-LTS-SP3all versions · fixed in 2.8.2-21.oe2403sp3
- kafkaopenEuler:24.03-LTS-SP1all versions · fixed in 2.8.2-21.oe2403sp1
- kafkaopenEuler:22.03-LTS-SP4all versions · fixed in 2.8.2-3.oe2203sp4
- org.apache.kafka:connectTuxCare:Mavenfrom 3.2.3 · fixed in 3.2.3.tuxcare
- org.apache.kafka:connectTuxCare:Mavenfrom 2.8.2 · fixed in 2.8.2-tuxcare.1and 2 other packages
Vendor advisories
kafka: RCE/DoS via SASL JAAS JndiLoginModule configuration in Kafka Connect
kafka-connect as a component of streams for Apache Kafka
Red Hat Security Advisory: Red Hat AMQ Streams 2.4.0 release and security update
Red Hat Security Advisory: Red Hat AMQ Streams 2.2.1 release and security update
Fix
- Update connect to 3.4.0
- Vendor fix Red Hat Product Security RHSA-2023:3223 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link (you must log in to download the update).
- Vendor fix Red Hat Product Security RHSA-2023:1241 · 1 productFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- No fix available, says the vendor Red Hat Product Security CVE-2023-25194 · 1 productAffected
Advisories and patches
- kafka.apache.orgMitigation · Vendor Advisory
- lists.apache.orgMitigation
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- 3 repositories, unverifiedohnonoyesyes/CVE-2023-25194YongYe-Security/CVE-2023-25194vulncheck-oss/cve-2023-25194 PoC-in-GitHub
- Metasploit modules
- 1 moduleexploit/multi/http/apache_druid_cve_2023_25194rank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-03-25
- OpenCVESSVC decisionpoc—
- CISA-ADPCVSS 3.18.82025-03-25
- NVDCVSS 3.18.8read 2026-10-23
- CNAweakness (CWE)CWE-502known since 2026-10-23
- FIRST EPSSEPSS score95.8 %read 2026-11-03
- PoC-in-GitHubproof of concept3read 2026-11-03
- ProjectDiscoverydetectionread 2026-11-03
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2023-02-08
Identifiers
- EUVD-2023-0598same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-26f8-x7cc-wqpcsame flawGitHub Advisory Database · CC-BY-4.0
- exploit/multi/http/apache_druid_cve_2023_25194exploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- OESA-2026-4420advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-4421advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-4422advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-4423advisory covering several CVEsopenEuler · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2023-02-07
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-26f8-x7cc-wqpc
Frequently asked questions
What is CVE-2023-25194?
Is CVE-2023-25194 actively exploited?
What is the CVSS score for CVE-2023-25194?
Running connect? 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-26f8-x7cc-wqpc
- Metasploit Framework · BSD-3-Clause
- Nuclei templates · MIT
- 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
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0