From 9745a335380cfd90dcb49c692339895cd5dc5c8d Mon Sep 17 00:00:00 2001 From: fengyubiao Date: Thu, 9 Mar 2023 18:17:54 +0800 Subject: [PATCH 1/6] [cleanup] [broker] cleanup the lib which may lead to the OWASP Dependency Check fail --- pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pom.xml b/pom.xml index 5b001f2d3f610..0ca60b4ae61fa 100644 --- a/pom.xml +++ b/pom.xml @@ -878,6 +878,12 @@ flexible messaging model and an intuitive client API. ${caffeine.version} + + org.bouncycastle + bcpkix-jdk15on + ${bouncycastle.version} + + com.yahoo.athenz athenz-zts-java-client-core From f7863d8e9b55c0336fb71db7cb30d1b72ab8f51b Mon Sep 17 00:00:00 2001 From: fengyubiao Date: Thu, 9 Mar 2023 22:47:06 +0800 Subject: [PATCH 2/6] CVE --- pom.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0ca60b4ae61fa..9d5059329645d 100644 --- a/pom.xml +++ b/pom.xml @@ -291,7 +291,7 @@ flexible messaging model and an intuitive client API. 0.1.4 1.3 0.4 - 8.0.1 + 8.1.2 0.9.15 1.6.1 6.4.0 @@ -884,6 +884,18 @@ flexible messaging model and an intuitive client API. ${bouncycastle.version} + + com.cronutils + cron-utils + ${cron-utils.version} + + + org.glassfish + javax.el + + + + com.yahoo.athenz athenz-zts-java-client-core From 6ed43ac2815533f6af40833c8858083c9e07bbf7 Mon Sep 17 00:00:00 2001 From: fengyubiao Date: Thu, 9 Mar 2023 22:57:24 +0800 Subject: [PATCH 3/6] CVE --- pom.xml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index 9d5059329645d..3849e279bf7ee 100644 --- a/pom.xml +++ b/pom.xml @@ -226,6 +226,7 @@ flexible messaging model and an intuitive client API. 5.12.1 12.0.1 4.9.3 + 3.0.4 2.8.0 @@ -885,15 +886,9 @@ flexible messaging model and an intuitive client API. - com.cronutils - cron-utils - ${cron-utils.version} - - - org.glassfish - javax.el - - + org.glassfish + javax.el + ${javax.el.version} From 01a7e05c681065232bc947b87008d7da6ac98966 Mon Sep 17 00:00:00 2001 From: fengyubiao Date: Thu, 9 Mar 2023 23:22:34 +0800 Subject: [PATCH 4/6] fix typo --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3849e279bf7ee..d25b2f3a7ff5d 100644 --- a/pom.xml +++ b/pom.xml @@ -887,7 +887,7 @@ flexible messaging model and an intuitive client API. org.glassfish - javax.el + jakarta.el ${javax.el.version} From 3769aaddef2f3d0bb38bb7cf7c0beb5cab30db20 Mon Sep 17 00:00:00 2001 From: fengyubiao Date: Fri, 10 Mar 2023 07:20:43 +0800 Subject: [PATCH 5/6] remove javax.el --- pom.xml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index d25b2f3a7ff5d..9d5059329645d 100644 --- a/pom.xml +++ b/pom.xml @@ -226,7 +226,6 @@ flexible messaging model and an intuitive client API. 5.12.1 12.0.1 4.9.3 - 3.0.4 2.8.0 @@ -886,9 +885,15 @@ flexible messaging model and an intuitive client API. - org.glassfish - jakarta.el - ${javax.el.version} + com.cronutils + cron-utils + ${cron-utils.version} + + + org.glassfish + javax.el + + From 09819fa3852e9803d5ab5bb24d33454c0d783c75 Mon Sep 17 00:00:00 2001 From: fengyubiao Date: Fri, 10 Mar 2023 07:36:16 +0800 Subject: [PATCH 6/6] It treat pulsar-io-kafka-connect-adaptor as a lib of Kafka, so remove these check --- src/owasp-dependency-check-false-positives.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/owasp-dependency-check-false-positives.xml b/src/owasp-dependency-check-false-positives.xml index 21a3679c0d8f7..345be8f4d2c06 100644 --- a/src/owasp-dependency-check-false-positives.xml +++ b/src/owasp-dependency-check-false-positives.xml @@ -182,6 +182,16 @@ CVE-2021-4277 + + It treat pulsar-io-kafka-connect-adaptor as a lib of Kafka, CVE-2021-25194 is a false positive. + CVE-2023-25194 + + + + It treat pulsar-io-kafka-connect-adaptor as a lib of Kafka, CVE-2021-34917 is a false positive. + CVE-2022-34917 + + yaml_project is not used at all. Any CVEs reported for yaml_project are false positives. cpe:/a:yaml_project:yaml