You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by lh...@apache.org on 2025/11/11 09:40:10 UTC
(pulsar) 03/12: [fix][sec] Added Exclusions for tomcat-embed-core and derby and override mina-core to remediate CVEs (#24949)
This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-4.1
in repository https://gitbox.apache.org/repos/asf/pulsar.git
commit 70c51bd99e8d721883ed80dc19d991aa5064b437
Author: guptas6est <sa...@est.tech>
AuthorDate: Thu Nov 6 09:04:12 2025 +0000
[fix][sec] Added Exclusions for tomcat-embed-core and derby and override mina-core to remediate CVEs (#24949)
(cherry picked from commit 39aeec5ad61f2d4e8bbc6500bddbaa4e35fe88a7)
---
pom.xml | 1 +
pulsar-io/flume/pom.xml | 18 ++++++++++++++++++
2 files changed, 19 insertions(+)
diff --git a/pom.xml b/pom.xml
index 3325ba0c872..6451483d781 100644
--- a/pom.xml
+++ b/pom.xml
@@ -372,6 +372,7 @@ flexible messaging model and an intuitive client API.</description>
<nimbus-jose-jwt.version>9.37.4</nimbus-jose-jwt.version>
<commons-beanutils.version>1.11.0</commons-beanutils.version>
<commons-configuration2.version>2.12.0</commons-configuration2.version>
+ <mina-core.version>2.1.10</mina-core.version>
</properties>
<dependencyManagement>
diff --git a/pulsar-io/flume/pom.xml b/pulsar-io/flume/pom.xml
index bdaeb8f14d8..834bb3c1c1f 100644
--- a/pulsar-io/flume/pom.xml
+++ b/pulsar-io/flume/pom.xml
@@ -31,6 +31,16 @@
<artifactId>pulsar-io-flume</artifactId>
<name>Pulsar IO :: Flume</name>
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.mina</groupId>
+ <artifactId>mina-core</artifactId>
+ <version>${mina-core.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
@@ -61,6 +71,14 @@
<artifactId>avro</artifactId>
<groupId>org.apache.avro</groupId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.tomcat.embed</groupId>
+ <artifactId>tomcat-embed-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.derby</groupId>
+ <artifactId>derby</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>