From 26d02fff490805fb71047afa034d5597c02382d8 Mon Sep 17 00:00:00 2001 From: exceptionfactory Date: Mon, 19 Jun 2023 20:52:44 -0500 Subject: [PATCH] NIFI-11729 Upgraded OWASP Dependency Check from 8.2.1 to 8.3.1 - Updated OWASP suppressions to exclude several JSON and Kafka false positives - Excluded JUnit dependency from Hive 3 JDBC This closes #7411 Signed-off-by: Mike Thomsen --- nifi-dependency-check-maven/suppressions.xml | 70 +++++++++---------- .../nifi-hive3-processors/pom.xml | 4 ++ pom.xml | 2 +- 3 files changed, 40 insertions(+), 36 deletions(-) diff --git a/nifi-dependency-check-maven/suppressions.xml b/nifi-dependency-check-maven/suppressions.xml index 83c36fae39..e4e0cdac1d 100644 --- a/nifi-dependency-check-maven/suppressions.xml +++ b/nifi-dependency-check-maven/suppressions.xml @@ -19,11 +19,6 @@ ^pkg:maven/org\.apache\.nifi.*$ ^cpe:.*$ - - Jetty SSLEngine is incorrectly identified with Jetty Server - ^pkg:maven/org\.mortbay\.jetty/jetty\-sslengine@.*$ - ^cpe:.*$ - CVE-2022-45868 requires running H2 from a command not applicable to project references ^pkg:maven/com\.h2database/h2@2.*$ @@ -149,11 +144,6 @@ ^pkg:maven/org\.elasticsearch\.client/elasticsearch\-.*?\-client-sniffer@.*$ ^cpe:/a:elastic.*$ - - CVE-2022-34271 applies to Atlas Server not the Atlas client library - ^pkg:maven/org\.apache\.atlas/.*$ - CVE-2022-34271 - CVE-2022-30187 applies to Azure Blob not the EventHubs Checkpoint Store Blob library ^pkg:maven/com\.azure/azure\-messaging\-eventhubs\-checkpointstore\-blob@.*$ @@ -164,21 +154,11 @@ ^pkg:maven/org\.apache\.calcite/calcite\-druid@.*$ CVE-2022-39135 - - CVE-2018-8016 applies to Apache Cassandra server not the client library - ^pkg:maven/com\.datastax\.cassandra/cassandra\-driver\-extras@.*$ - CVE-2018-8016 - CVE-2018-1000873 applies to Jackson Java 8 Time modules not Jackson Annotations ^pkg:maven/com\.fasterxml\.jackson\.core/jackson\-annotations@.*$ CVE-2018-1000873 - - CVE-2021-34371 applies to Neo4j server not the driver library - ^pkg:maven/org\.opencypher\.gremlin/cypher\-gremlin\-neo4j\-driver@.*$ - CVE-2021-34371 - CVE-2010-1151 applies to mod_auth_shadow in Apache HTTP Server not the FTP server library ^pkg:maven/org\.apache\.ftpserver/.*$ @@ -189,21 +169,6 @@ ^pkg:maven/com\.h2database/h2@.*$ CVE-2018-14335 - - CVE-2022-31160 included in hadoop-client-api is not used - ^pkg:javascript/jquery\-ui@.*$ - CVE-2022-31160 - - - CVE-2021-37533 applies to the Commons Net FTP Client which is not used in the version bundled with hadoop-client-runtime for Accumulo - ^pkg:maven/commons\-net/commons\-net@.*$ - CVE-2021-37533 - - - CVE-2021-0341 applies to Android not OkHttp - ^pkg:maven/com\.squareup\.okhttp/okhttp@.*$ - CVE-2021-0341 - CVE-2023-25613 applies to an LDAP backend class for Apache Kerby not the Token Provider library ^pkg:maven/org\.apache\.kerby/token\-provider@.*$ @@ -259,4 +224,39 @@ ^pkg:maven/org\.apache\.hbase/hbase\-hadoop2\-compat@.*$ cpe:/a:apache:hadoop + + CVE-2022-45688 applies to hutools-json not org.json + ^pkg:maven/org\.json/json@.*$ + CVE-2022-45688 + + + The Jackson maintainers dispute the applicability of CVE-2023-35116 based on cyclic nature of reported concern + ^pkg:maven/com\.fasterxml\.jackson\.core/jackson\-databind@.*$ + CVE-2023-35116 + + + CVE-2023-25194 applies to Kafka Connect workers not client libraries + ^pkg:maven/org\.apache\.kafka/kafka.*?@.*$ + CVE-2023-25194 + + + CVE-2022-34917 applies to Kafka brokers not client libraries + ^pkg:maven/org\.apache\.kafka/kafka.*?@.*$ + CVE-2022-34917 + + + CVE-2023-25613 applies to the LDAP Identity Backend for Kerby Server which is not used in runtime NiFi configurations + ^pkg:maven/org\.apache\.kerby/kerb.*?@.*$ + CVE-2023-25613 + + + CVE-2022-24823 applies to Netty HTTP decoding which is not applicable to Apache Kudu clients + ^pkg:maven/io\.netty/netty.*?@.*$ + CVE-2022-24823 + + + CVE-2022-41915 applies to Netty HTTP decoding which is not applicable to Apache Kudu clients + ^pkg:maven/io\.netty/netty.*?@.*$ + CVE-2022-41915 + diff --git a/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/pom.xml b/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/pom.xml index 7778b87691..7629db7eaa 100644 --- a/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/pom.xml +++ b/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/pom.xml @@ -129,6 +129,10 @@ com.google.code.findbugs jsr305 + + junit + junit + diff --git a/pom.xml b/pom.xml index 81ef2d0d6e..afa8570591 100644 --- a/pom.xml +++ b/pom.xml @@ -1154,7 +1154,7 @@ org.owasp dependency-check-maven - 8.2.1 + 8.3.1 false