Vulnerabilities in pkg:maven/org.apache.pulsar/pulsar-io-kafka-connect-adaptor

PACKAGE
Advisory Identifier: GHSA-rcqj-3fmp-5cqx
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:maven/org.apache.pulsar/pulsar-io-kafka-connect-adaptor

1 Known Advisory Record(s)

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

CVE Identifier CVE-2025-30677
GHSA Identifier GHSA-rcqj-3fmp-5cqx
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-532: Insertion of Sensitive Information into Log File
Affected Product Pulsar io kafka connect adaptor
Package Ecosystem Maven
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

org.apache.pulsar:pulsar-io-kafka-connect-adaptor fixed: 3.0.11
<dependency>
    <groupId>org.apache.pulsar</groupId>
    <artifactId>pulsar-io-kafka-connect-adaptor</artifactId>
    <version>3.0.11</version>
</dependency>
org.apache.pulsar:pulsar-io-kafka-connect-adaptor fixed: 3.3.6
<dependency>
    <groupId>org.apache.pulsar</groupId>
    <artifactId>pulsar-io-kafka-connect-adaptor</artifactId>
    <version>3.3.6</version>
</dependency>
org.apache.pulsar:pulsar-io-kafka-connect-adaptor fixed: 4.0.4
<dependency>
    <groupId>org.apache.pulsar</groupId>
    <artifactId>pulsar-io-kafka-connect-adaptor</artifactId>
    <version>4.0.4</version>
</dependency>
org.apache.pulsar:pulsar-io-kafka fixed: 3.0.11
<dependency>
    <groupId>org.apache.pulsar</groupId>
    <artifactId>pulsar-io-kafka</artifactId>
    <version>3.0.11</version>
</dependency>
org.apache.pulsar:pulsar-io-kafka fixed: 3.3.6
<dependency>
    <groupId>org.apache.pulsar</groupId>
    <artifactId>pulsar-io-kafka</artifactId>
    <version>3.3.6</version>
</dependency>
org.apache.pulsar:pulsar-io-kafka fixed: 4.0.4
<dependency>
    <groupId>org.apache.pulsar</groupId>
    <artifactId>pulsar-io-kafka</artifactId>
    <version>4.0.4</version>
</dependency>
Verify Direct and Transitive Dependencies

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

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. This 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. This issue affects Apache Pulsar IO's Apache Kafka connectors in all versions before 3.0.11, 3.3.6, and 4.0.4. 3.0.x version users should upgrade to at least 3.0.11. 3.3.x version users should upgrade to at least 3.3.6. 4.0.x version users should upgrade to at least 4.0.4. Users operating versions prior to those listed above should upgrade to the aforementioned patched versions or newer versions.

CVE-2025-30677 Affected Pulsar io kafka connect adaptor Versions

6 component(s)
Fixed Versions:
3.0.113.3.64.0.4
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?
CVE-2025-30677 is a security vulnerability in Pulsar io kafka connect adaptor involving Apache Pulsar Kafka Connector Logs Sensitive Information in Application Logs under CWE-532: Insertion of Sensitive Information into Log File.
Which Pulsar io kafka connect adaptor versions are affected?
Affected versions include releases prior to 3.0.11, 3.3.6, 4.0.4 across affected packages: org.apache.pulsar:pulsar-io-kafka-connect-adaptor, org.apache.pulsar:pulsar-io-kafka.
What version fixes CVE-2025-30677?
Upgrading to 3.0.11, 3.3.6, 4.0.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pulsar-io-kafka-connect-adaptor affected?
Yes, org.apache.pulsar:pulsar-io-kafka-connect-adaptor is affected in releases prior to 3.0.11, 3.3.6, 4.0.4. Upgrade your dependency to 3.0.11, 3.3.6, 4.0.4 or later.
Is pulsar-io-kafka affected?
Yes, org.apache.pulsar:pulsar-io-kafka is affected in releases prior to 3.0.11, 3.3.6, 4.0.4. Upgrade your dependency to 3.0.11, 3.3.6, 4.0.4 or later.
What is the CVSS score of CVE-2025-30677?
CVE-2025-30677 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-30677?
CVE-2025-30677 is classified under CWE-532: Insertion of Sensitive Information into Log File (The product writes sensitive information to a log file.).
How can I check Maven dependencies for CVE-2025-30677?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.pulsar'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}