Skip to content

Commit 39aeec5

Browse files
authored
[fix][sec] Added Exclusions for tomcat-embed-core and derby and override mina-core to remediate CVEs (#24949)
1 parent d168ab8 commit 39aeec5

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ flexible messaging model and an intuitive client API.</description>
372372
<nimbus-jose-jwt.version>9.37.4</nimbus-jose-jwt.version>
373373
<commons-beanutils.version>1.11.0</commons-beanutils.version>
374374
<commons-configuration2.version>2.12.0</commons-configuration2.version>
375+
<mina-core.version>2.1.10</mina-core.version>
375376
</properties>
376377

377378
<dependencyManagement>

pulsar-io/flume/pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,16 @@
3131
<artifactId>pulsar-io-flume</artifactId>
3232
<name>Pulsar IO :: Flume</name>
3333

34+
<dependencyManagement>
35+
<dependencies>
36+
<dependency>
37+
<groupId>org.apache.mina</groupId>
38+
<artifactId>mina-core</artifactId>
39+
<version>${mina-core.version}</version>
40+
</dependency>
41+
</dependencies>
42+
</dependencyManagement>
43+
3444
<dependencies>
3545
<dependency>
3646
<groupId>${project.groupId}</groupId>
@@ -61,6 +71,14 @@
6171
<artifactId>avro</artifactId>
6272
<groupId>org.apache.avro</groupId>
6373
</exclusion>
74+
<exclusion>
75+
<groupId>org.apache.tomcat.embed</groupId>
76+
<artifactId>tomcat-embed-core</artifactId>
77+
</exclusion>
78+
<exclusion>
79+
<groupId>org.apache.derby</groupId>
80+
<artifactId>derby</artifactId>
81+
</exclusion>
6482
</exclusions>
6583
</dependency>
6684
<dependency>

0 commit comments

Comments
 (0)