Vulnerabilities in pkg:maven/org.apache.pulsar/pulsar-io-kafka-connect-adaptor
PACKAGECVE-2025-30677 is a MODERATE (CVSS 6.5) apache pulsar kafka connector logs vulnerability (CWE-532: Insertion of Sensitive Information into Log File) affecting Pulsar io kafka connect adaptor libraries in the Maven ecosystem. The issue involves apache pulsar kafka connector logs sensitive information in application logs. Remediation is available by upgrading affected packages to version 3.0.11, 3.3.6, 4.0.4.
pkg:maven/org.apache.pulsar/pulsar-io-kafka-connect-adaptor
Vulnerability advisories affecting package pkg:maven/org.apache.pulsar/pulsar-io-kafka-connect-adaptor. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-rcqj-3fmp-5cqx | CVE-2025-30677 | MODERATE | Apache Pulsar Kafka Connector Logs Sensitive Information in Application Logs |
CVE-2025-30677 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2025-30677
To remediate this vulnerability, upgrade all affected Pulsar io kafka connect adaptor dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-io-kafka-connect-adaptor</artifactId>
<version>3.0.11</version>
</dependency>
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-io-kafka-connect-adaptor</artifactId>
<version>3.3.6</version>
</dependency>
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-io-kafka-connect-adaptor</artifactId>
<version>4.0.4</version>
</dependency>
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-io-kafka</artifactId>
<version>3.0.11</version>
</dependency>
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-io-kafka</artifactId>
<version>3.3.6</version>
</dependency>
<dependency>
<groupId>org.apache.pulsar</groupId>
<artifactId>pulsar-io-kafka</artifactId>
<version>4.0.4</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.apache.pulsar
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2025-30677, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.apache.pulsar
Analyze the terminal output to locate any version of Pulsar io kafka connect adaptor in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.11), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.apache.pulsar command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-532: Insertion of Sensitive Information into Log File, where the product writes sensitive information to a log file. In Pulsar io kafka connect adaptor, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-30677 Affected Pulsar io kafka connect adaptor Versions
6 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.apache.pulsar:pulsar-io-kafka-connect-adaptor
|
Maven |
< 3.0.11
|
3.0.11
|
|
org.apache.pulsar:pulsar-io-kafka-connect-adaptor
|
Maven |
≥ 3.3.0
< 3.3.6
|
3.3.6
|
|
org.apache.pulsar:pulsar-io-kafka-connect-adaptor
|
Maven |
≥ 4.0.0
< 4.0.4
|
4.0.4
|
|
org.apache.pulsar:pulsar-io-kafka
|
Maven |
< 3.0.11
|
3.0.11
|
|
org.apache.pulsar:pulsar-io-kafka
|
Maven |
≥ 3.3.0
< 3.3.6
|
3.3.6
|
|
org.apache.pulsar:pulsar-io-kafka
|
Maven |
≥ 4.0.0
< 4.0.4
|
4.0.4
|
References
Frequently Asked Questions
What is CVE-2025-30677?
Which Pulsar io kafka connect adaptor versions are affected?
What version fixes CVE-2025-30677?
Is pulsar-io-kafka-connect-adaptor affected?
Is pulsar-io-kafka affected?
What is the CVSS score of CVE-2025-30677?
What CWE is associated with CVE-2025-30677?
How can I check Maven dependencies for CVE-2025-30677?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rcqj-3fmp-5cqx",
"modified" : "2025-07-15T23:07:45Z",
"published" : "2025-04-09T12:30:24Z",
"aliases" : [ "CVE-2025-30677" ],
"summary" : "Apache Pulsar Kafka Connector Logs Sensitive Information in Application Logs",
"details" : "Apache Pulsar contains multiple connectors for integrating with Apache Kafka. The Pulsar IO Apache Kafka Source Connector, Sink Connector, and Kafka Connect Adaptor Sink Connector log sensitive configuration properties in plain text in application logs.\n\n\nThis vulnerability can lead to unintended exposure of credentials in log files, potentially allowing attackers with access to these logs to obtain Apache Kafka credentials. The vulnerability's impact is limited by the fact that an attacker would need access to the application logs to exploit this issue.\n\nThis issue affects Apache Pulsar IO's Apache Kafka connectors in all versions before 3.0.11, 3.3.6, and 4.0.4.\n\n\n3.0.x version users should upgrade to at least 3.0.11.\n\n3.3.x version users should upgrade to at least 3.3.6.\n\n4.0.x version users should upgrade to at least 4.0.4.\n\n\nUsers operating versions prior to those listed above should upgrade to the aforementioned patched versions or newer versions.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.pulsar:pulsar-io-kafka-connect-adaptor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.pulsar:pulsar-io-kafka-connect-adaptor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "3.3.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.pulsar:pulsar-io-kafka-connect-adaptor"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.0.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.pulsar:pulsar-io-kafka"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.11"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.pulsar:pulsar-io-kafka"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "3.3.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.apache.pulsar:pulsar-io-kafka"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.0.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-30677"
}, {
"type" : "WEB",
"url" : "https://github.com/apache/pulsar/pull/24128"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/apache/pulsar"
}, {
"type" : "WEB",
"url" : "https://lists.apache.org/thread/zv5fwwrh374r1p5cmksxcd40ssxxko3d"
}, {
"type" : "WEB",
"url" : "https://pulsar.apache.org/security"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2025/04/09/2"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-532" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-10T12:41:56Z",
"nvd_published_at" : "2025-04-09T12:15:15Z"
}
}